About queries
Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.
For more information, see Forming calls with GraphQL.
Note
For GitHub App requests made with user access tokens, you should use separate queries for issues and pull requests. For example, use the is:issue or is:pull-request filters and their equivalents. Using the search connection to return a combination of issues and pull requests in a single query will result in an empty set of nodes.
codeOfConduct
Look up a code of conduct by its key.
Type: CodeOfConduct
Arguments for codeOfConduct
| Name | Description |
|---|---|
| The code of conduct's key. |
license
Look up an open source license by its key.