Acerca de las consultas
Cada modelo de GraphQL tiene un tipo de raíz tanto para consultas como para mutaciones. El tipo de consulta define las operaciones de GraphQL que recuperan datos del servidor.
Para obtener más información, consulte "Acerca de las consultas".
Nota: En el caso de las solicitudes de GitHub App de usuario a servidor, deberá usar consultas diferentes para incidencias y solicitudes de incoporación de cambios. Por ejemplo, use los filtros is:issue
o is:pull-request
y sus equivalentes. Utilizar la conexión search
para devolver una combinación de propuestas y solicitudes de cambios en una sola consulta dará como resultado un conjunto de nodos vacío.
codeOfConduct
Look up a code of conduct by its key.
Tipo: CodeOfConduct
Argumentos
Nombre | Descripción |
---|---|
| The code of conduct's key. |
organization
Lookup a organization by login.
Tipo: Organization
Argumentos
Nombre | Descripción |
---|---|
| The organization's login. |
organizations
A list of organizations.
Tipo: OrganizationConnection!
Argumentos
Nombre | Descripción |
---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |
relay
Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.
Tipo: Query!
repositoryOwner
Lookup a repository owner (ie. either a User or an Organization) by login.
Tipo: RepositoryOwner
Argumentos
Nombre | Descripción |
---|---|
| The username to lookup the owner by. |
resource
Lookup resource by a URL.
Tipo: UniformResourceLocatable
Argumentos
Nombre | Descripción |
---|---|
| The URL. |
search
Perform a search across resources.
Argumentos
Nombre | Descripción |
---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |
| The search string to look for. |
| The types of search items to search within. |
securityAdvisories
GitHub Security Advisories.
Argumentos
Nombre | Descripción |
---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |
| Filter advisories to those published since a time in the past. |
| Filter advisories to those updated since a time in the past. |
securityAdvisory
Fetch a Security Advisory by its GHSA ID.
Tipo: SecurityAdvisory
Argumentos
Nombre | Descripción |
---|---|
| GitHub Security Advisory ID. |
securityVulnerabilities
Software Vulnerabilities documented by GitHub Security Advisories.
Argumentos
Nombre | Descripción |
---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| An ecosystem to filter vulnerabilities by. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |
| A package name to filter vulnerabilities by. |
| A list of severities to filter vulnerabilities by. |
users
A list of users.
Tipo: UserConnection!
Argumentos
Nombre | Descripción |
---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |