Informationen zu Abfragen
Jedes GraphQL-Schema verfügt über einen Stammtyp für Abfragen und Mutationen. Der Abfragetyp definiert GraphQL-Vorgänge, die Daten vom Server abrufen.
Weitere Informationen findest du unter Erstellen von Aufrufen mit GraphQL.
Note
Für GitHub App-Anforderungen, die über Benutzerzugriffstoken erfolgen, solltest du für Issues und Pull Requests separate Abfragen verwenden. Verwende z. B. die Filter is:issue
oderis:pull-request
und ihre Entsprechungen. Die Verwendung der search
-Verbindung zum Zurückgeben einer Kombination von Problemen und Pullanforderungen in einer einzelnen Abfrage führt zu einer leeren Gruppe von Knoten.
codeOfConduct
Look up a code of conduct by its key.
Typ: CodeOfConduct
Argumente für codeOfConduct
Name | BESCHREIBUNG |
---|---|
| The code of conduct's key. |
license
Look up an open source license by its key.
node
Fetches an object given its ID.
nodes
Lookup nodes by a list of IDs.
organization
Lookup a organization by login.
Typ: Organization
Argumente für organization
Name | BESCHREIBUNG |
---|---|
| The organization's login. |
organizations
A list of organizations.
Argumente für organizations
Name | BESCHREIBUNG |
---|---|
| 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. |
| Ordering options for the User's organizations. |
rateLimit
The client's rate limit information.
relay
Workaround for re-exposing the root query object. (Refer to https://github.com/facebook/relay/issues/112 for more information.).
Typ: Query!
repositoryOwner
Lookup a repository owner (ie. either a User or an Organization) by login.
Typ: RepositoryOwner
Argumente für repositoryOwner
Name | BESCHREIBUNG |
---|---|
| The username to lookup the owner by. |
search
Perform a search across resources, returning a maximum of 1,000 results.
Argumente für search
Name | BESCHREIBUNG |
---|---|
| 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.
Argumente für securityAdvisories
Name | BESCHREIBUNG |
---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| A list of classifications to filter advisories by. |
| 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.
Typ: SecurityAdvisory
Argumente für securityAdvisory
Name | BESCHREIBUNG |
---|---|
| GitHub Security Advisory ID. |
securityVulnerabilities
Software Vulnerabilities documented by GitHub Security Advisories.
Argumente für securityVulnerabilities
Name | BESCHREIBUNG |
---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| A list of advisory classifications to filter vulnerabilities by. |
| 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. |
topic
Look up a topic by name.
user
Lookup a user by login.
users
A list of users.
Typ: UserConnection!
Argumente für users
Name | BESCHREIBUNG |
---|---|
| 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. |