Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save suntong/30ca6ef2a7c32c966a045118fc57de6c to your computer and use it in GitHub Desktop.
Save suntong/30ca6ef2a7c32c966a045118fc57de6c to your computer and use it in GitHub Desktop.
query{
__type(name:"Repository") {
fields {
name
description
type {
kind
name
description
}
args {
name
description
type {
kind
name
description
}
defaultValue
}
}
}
}
{
"data": {
"__type": {
"fields": [
{
"name": "assignableUsers",
"description": "A list of users that can be assigned to issues in this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
},
{
"name": "codeOfConduct",
"description": "Returns the code of conduct for this repository",
"type": {
"kind": "OBJECT",
"name": "CodeOfConduct",
"description": "The Code of Conduct for a repository"
},
"args": []
},
{
"name": "collaborators",
"description": "A list of collaborators associated with the repository.",
"type": {
"kind": "OBJECT",
"name": "RepositoryCollaboratorConnection",
"description": "The connection type for User."
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "affiliation",
"description": "Collaborators affiliation level with a repository.",
"type": {
"kind": "ENUM",
"name": "CollaboratorAffiliation",
"description": "Collaborators affiliation level with a subject."
},
"defaultValue": null
}
]
},
{
"name": "commitComments",
"description": "A list of commit comments associated with the repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
},
{
"name": "createdAt",
"description": "Identifies the date and time when the object was created.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "defaultBranchRef",
"description": "The Ref associated with the repository's default branch.",
"type": {
"kind": "OBJECT",
"name": "Ref",
"description": "Represents a Git reference."
},
"args": []
},
{
"name": "deployKeys",
"description": "A list of deploy keys that are on this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
},
{
"name": "deployments",
"description": "Deployments associated with the repository",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "environments",
"description": "Environments to list deployments for",
"type": {
"kind": "LIST",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "description",
"description": "The description of the repository.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"args": []
},
{
"name": "descriptionHTML",
"description": "The description of the repository rendered to HTML.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "diskUsage",
"description": "The number of kilobytes this repository occupies on disk.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"args": []
},
{
"name": "forkCount",
"description": "Returns how many forks there are of this repository in the whole network.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "forks",
"description": "A list of direct forked repositories.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "privacy",
"description": "If non-null, filters repositories according to privacy",
"type": {
"kind": "ENUM",
"name": "RepositoryPrivacy",
"description": "The privacy of a repository"
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Ordering options for repositories returned from the connection",
"type": {
"kind": "INPUT_OBJECT",
"name": "RepositoryOrder",
"description": "Ordering options for repository connections"
},
"defaultValue": null
},
{
"name": "affiliations",
"description": "Affiliation options for repositories returned from the connection",
"type": {
"kind": "LIST",
"name": null,
"description": null
},
"defaultValue": "[\"OWNER\", \"COLLABORATOR\"]"
},
{
"name": "isLocked",
"description": "If non-null, filters repositories according to whether they have been locked",
"type": {
"kind": "SCALAR",
"name": "Boolean",
"description": "Represents `true` or `false` values."
},
"defaultValue": null
}
]
},
{
"name": "hasIssuesEnabled",
"description": "Indicates if the repository has issues feature enabled.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "hasWikiEnabled",
"description": "Indicates if the repository has wiki feature enabled.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "homepageUrl",
"description": "The repository's URL.",
"type": {
"kind": "SCALAR",
"name": "URI",
"description": "An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string."
},
"args": []
},
{
"name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "isArchived",
"description": "Indicates if the repository is unmaintained.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "isFork",
"description": "Identifies if the repository is a fork.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "isLocked",
"description": "Indicates if the repository has been locked or not.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "isMirror",
"description": "Identifies if the repository is a mirror.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "isPrivate",
"description": "Identifies if the repository is private.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "issue",
"description": "Returns a single issue from the current repository by number.",
"type": {
"kind": "OBJECT",
"name": "Issue",
"description": "An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project."
},
"args": [
{
"name": "number",
"description": "The number for the issue to be returned.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "issueOrPullRequest",
"description": "Returns a single issue-like object from the current repository by number.",
"type": {
"kind": "UNION",
"name": "IssueOrPullRequest",
"description": "Used for return value of Repository.issueOrPullRequest."
},
"args": [
{
"name": "number",
"description": "The number for the issue to be returned.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "issues",
"description": "A list of issues that have been opened in the repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "labels",
"description": "A list of label names to filter the pull requests by.",
"type": {
"kind": "LIST",
"name": null,
"description": null
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Ordering options for issues returned from the connection.",
"type": {
"kind": "INPUT_OBJECT",
"name": "IssueOrder",
"description": "Ways in which lists of issues can be ordered upon return."
},
"defaultValue": null
},
{
"name": "states",
"description": "A list of states to filter the issues by.",
"type": {
"kind": "LIST",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "label",
"description": "Returns a single label by name",
"type": {
"kind": "OBJECT",
"name": "Label",
"description": "A label for categorizing Issues or Milestones with a given Repository."
},
"args": [
{
"name": "name",
"description": "Label name",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "labels",
"description": "A list of labels associated with the repository.",
"type": {
"kind": "OBJECT",
"name": "LabelConnection",
"description": "The connection type for Label."
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "query",
"description": "If provided, searches labels by name and description.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
},
{
"name": "languages",
"description": "A list containing a breakdown of the language composition of the repository.",
"type": {
"kind": "OBJECT",
"name": "LanguageConnection",
"description": "A list of languages associated with the parent."
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Order for connection",
"type": {
"kind": "INPUT_OBJECT",
"name": "LanguageOrder",
"description": "Ordering options for language connections."
},
"defaultValue": null
}
]
},
{
"name": "licenseInfo",
"description": "The license associated with the repository",
"type": {
"kind": "OBJECT",
"name": "License",
"description": "A respository's open source license"
},
"args": []
},
{
"name": "lockReason",
"description": "The reason the repository has been locked.",
"type": {
"kind": "ENUM",
"name": "RepositoryLockReason",
"description": "The possible reasons a given repository could be in a locked state."
},
"args": []
},
{
"name": "mentionableUsers",
"description": "A list of Users that can be mentioned in the context of the repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
},
{
"name": "mergeCommitAllowed",
"description": "Whether or not PRs are merged with a merge commit on this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "milestone",
"description": "Returns a single milestone from the current repository by number.",
"type": {
"kind": "OBJECT",
"name": "Milestone",
"description": "Represents a Milestone object on a given repository."
},
"args": [
{
"name": "number",
"description": "The number for the milestone to be returned.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "milestones",
"description": "A list of milestones associated with the repository.",
"type": {
"kind": "OBJECT",
"name": "MilestoneConnection",
"description": "The connection type for Milestone."
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "states",
"description": "Filter by the state of the milestones.",
"type": {
"kind": "LIST",
"name": null,
"description": null
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Ordering options for milestones.",
"type": {
"kind": "INPUT_OBJECT",
"name": "MilestoneOrder",
"description": "Ordering options for milestone connections."
},
"defaultValue": null
}
]
},
{
"name": "mirrorUrl",
"description": "The repository's original mirror URL.",
"type": {
"kind": "SCALAR",
"name": "URI",
"description": "An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string."
},
"args": []
},
{
"name": "name",
"description": "The name of the repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "nameWithOwner",
"description": "The repository's name with owner.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "object",
"description": "A Git object in the repository",
"type": {
"kind": "INTERFACE",
"name": "GitObject",
"description": "Represents a Git object."
},
"args": [
{
"name": "oid",
"description": "The Git object ID",
"type": {
"kind": "SCALAR",
"name": "GitObjectID",
"description": "A Git object ID."
},
"defaultValue": null
},
{
"name": "expression",
"description": "A Git revision expression suitable for rev-parse",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
},
{
"name": "owner",
"description": "The User owner of the repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "parent",
"description": "The repository parent, if this is a fork.",
"type": {
"kind": "OBJECT",
"name": "Repository",
"description": "A repository contains the content for a project."
},
"args": []
},
{
"name": "primaryLanguage",
"description": "The primary language of the repository's code.",
"type": {
"kind": "OBJECT",
"name": "Language",
"description": "Represents a given language found in repositories."
},
"args": []
},
{
"name": "project",
"description": "Find project by number.",
"type": {
"kind": "OBJECT",
"name": "Project",
"description": "Projects manage issues, pull requests and notes within a project owner."
},
"args": [
{
"name": "number",
"description": "The project number to find.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "projects",
"description": "A list of projects under the owner.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Ordering options for projects returned from the connection",
"type": {
"kind": "INPUT_OBJECT",
"name": "ProjectOrder",
"description": "Ways in which lists of projects can be ordered upon return."
},
"defaultValue": null
},
{
"name": "search",
"description": "Query to search projects by, currently only searching by name.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "states",
"description": "A list of states to filter the projects by.",
"type": {
"kind": "LIST",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "projectsResourcePath",
"description": "The HTTP path listing repository's projects",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "projectsUrl",
"description": "The HTTP URL listing repository's projects",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "protectedBranches",
"description": "A list of protected branches that are on this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
},
{
"name": "pullRequest",
"description": "Returns a single pull request from the current repository by number.",
"type": {
"kind": "OBJECT",
"name": "PullRequest",
"description": "A repository pull request."
},
"args": [
{
"name": "number",
"description": "The number for the pull request to be returned.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "pullRequests",
"description": "A list of pull requests that have been opened in the repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "states",
"description": "A list of states to filter the pull requests by.",
"type": {
"kind": "LIST",
"name": null,
"description": null
},
"defaultValue": null
},
{
"name": "labels",
"description": "A list of label names to filter the pull requests by.",
"type": {
"kind": "LIST",
"name": null,
"description": null
},
"defaultValue": null
},
{
"name": "headRefName",
"description": "The head ref name to filter the pull requests by.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "baseRefName",
"description": "The base ref name to filter the pull requests by.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Ordering options for pull requests returned from the connection.",
"type": {
"kind": "INPUT_OBJECT",
"name": "IssueOrder",
"description": "Ways in which lists of issues can be ordered upon return."
},
"defaultValue": null
}
]
},
{
"name": "pushedAt",
"description": "Identifies when the repository was last pushed to.",
"type": {
"kind": "SCALAR",
"name": "DateTime",
"description": "An ISO-8601 encoded UTC date string."
},
"args": []
},
{
"name": "rebaseMergeAllowed",
"description": "Whether or not rebase-merging is enabled on this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "ref",
"description": "Fetch a given ref from the repository",
"type": {
"kind": "OBJECT",
"name": "Ref",
"description": "Represents a Git reference."
},
"args": [
{
"name": "qualifiedName",
"description": "The ref to retrieve. Fully qualified matches are checked in order (`refs/heads/master`) before falling back onto checks for short name matches (`master`).",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "refs",
"description": "Fetch a list of refs from the repository",
"type": {
"kind": "OBJECT",
"name": "RefConnection",
"description": "The connection type for Ref."
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "refPrefix",
"description": "A ref name prefix like `refs/heads/`, `refs/tags/`, etc.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
},
{
"name": "direction",
"description": "DEPRECATED: use orderBy. The ordering direction.",
"type": {
"kind": "ENUM",
"name": "OrderDirection",
"description": "Possible directions in which to order a list of items when provided an `orderBy` argument."
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Ordering options for refs returned from the connection.",
"type": {
"kind": "INPUT_OBJECT",
"name": "RefOrder",
"description": "Ways in which lists of git refs can be ordered upon return."
},
"defaultValue": null
}
]
},
{
"name": "release",
"description": "Lookup a single release given various criteria.",
"type": {
"kind": "OBJECT",
"name": "Release",
"description": "A release contains the content for a release."
},
"args": [
{
"name": "tagName",
"description": "The name of the Tag the Release was created from",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"defaultValue": null
}
]
},
{
"name": "releases",
"description": "List of releases which are dependent on this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Order for connection",
"type": {
"kind": "INPUT_OBJECT",
"name": "ReleaseOrder",
"description": "Ways in which lists of releases can be ordered upon return."
},
"defaultValue": null
}
]
},
{
"name": "repositoryTopics",
"description": "A list of applied repository-topic associations for this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
},
{
"name": "resourcePath",
"description": "The HTTP path for this repository",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "shortDescriptionHTML",
"description": "A description of the repository, rendered to HTML without any links in it.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "limit",
"description": "How many characters to return.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": "200"
}
]
},
{
"name": "squashMergeAllowed",
"description": "Whether or not squash-merging is enabled on this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "sshUrl",
"description": "The SSH URL to clone this repository",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "stargazers",
"description": "A list of users who have starred this starrable.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "orderBy",
"description": "Order for connection",
"type": {
"kind": "INPUT_OBJECT",
"name": "StarOrder",
"description": "Ways in which star connections can be ordered."
},
"defaultValue": null
}
]
},
{
"name": "url",
"description": "The HTTP URL for this repository",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "viewerCanAdminister",
"description": "Indicates whether the viewer has admin permissions on this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "viewerCanCreateProjects",
"description": "Can the current viewer create new projects on this owner.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "viewerCanSubscribe",
"description": "Check if the viewer is able to change their subscription status for the repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "viewerCanUpdateTopics",
"description": "Indicates whether the viewer can update the topics of this repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "viewerHasStarred",
"description": "Returns a boolean indicating whether the viewing user has starred this starrable.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "viewerPermission",
"description": "The users permission level on the repository. Will return null if authenticated as an GitHub App.",
"type": {
"kind": "ENUM",
"name": "RepositoryPermission",
"description": "The access level to a repository"
},
"args": []
},
{
"name": "viewerSubscription",
"description": "Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": []
},
{
"name": "watchers",
"description": "A list of users watching the repository.",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null
},
"args": [
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
},
"defaultValue": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified global ID.",
"type": {
"kind": "SCALAR",
"name": "String",
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text."
},
"defaultValue": null
}
]
}
]
}
}
}
[
{
"name": "assignableUsers",
"description": "A list of users that can be assigned to issues in this repository."
},
{
"name": "codeOfConduct",
"description": "Returns the code of conduct for this repository"
},
{
"name": "collaborators",
"description": "A list of collaborators associated with the repository."
},
{
"name": "commitComments",
"description": "A list of commit comments associated with the repository."
},
{
"name": "createdAt",
"description": "Identifies the date and time when the object was created."
},
{
"name": "defaultBranchRef",
"description": "The Ref associated with the repository's default branch."
},
{
"name": "deployKeys",
"description": "A list of deploy keys that are on this repository."
},
{
"name": "deployments",
"description": "Deployments associated with the repository"
},
{
"name": "description",
"description": "The description of the repository."
},
{
"name": "descriptionHTML",
"description": "The description of the repository rendered to HTML."
},
{
"name": "diskUsage",
"description": "The number of kilobytes this repository occupies on disk."
},
{
"name": "forkCount",
"description": "Returns how many forks there are of this repository in the whole network."
},
{
"name": "forks",
"description": "A list of direct forked repositories."
},
{
"name": "hasIssuesEnabled",
"description": "Indicates if the repository has issues feature enabled."
},
{
"name": "hasWikiEnabled",
"description": "Indicates if the repository has wiki feature enabled."
},
{
"name": "homepageUrl",
"description": "The repository's URL."
},
{
"name": "id",
"description": null
},
{
"name": "isArchived",
"description": "Indicates if the repository is unmaintained."
},
{
"name": "isFork",
"description": "Identifies if the repository is a fork."
},
{
"name": "isLocked",
"description": "Indicates if the repository has been locked or not."
},
{
"name": "isMirror",
"description": "Identifies if the repository is a mirror."
},
{
"name": "isPrivate",
"description": "Identifies if the repository is private."
},
{
"name": "issue",
"description": "Returns a single issue from the current repository by number."
},
{
"name": "issueOrPullRequest",
"description": "Returns a single issue-like object from the current repository by number."
},
{
"name": "issues",
"description": "A list of issues that have been opened in the repository."
},
{
"name": "label",
"description": "Returns a single label by name"
},
{
"name": "labels",
"description": "A list of labels associated with the repository."
},
{
"name": "languages",
"description": "A list containing a breakdown of the language composition of the repository."
},
{
"name": "licenseInfo",
"description": "The license associated with the repository"
},
{
"name": "lockReason",
"description": "The reason the repository has been locked."
},
{
"name": "mentionableUsers",
"description": "A list of Users that can be mentioned in the context of the repository."
},
{
"name": "mergeCommitAllowed",
"description": "Whether or not PRs are merged with a merge commit on this repository."
},
{
"name": "milestone",
"description": "Returns a single milestone from the current repository by number."
},
{
"name": "milestones",
"description": "A list of milestones associated with the repository."
},
{
"name": "mirrorUrl",
"description": "The repository's original mirror URL."
},
{
"name": "name",
"description": "The name of the repository."
},
{
"name": "nameWithOwner",
"description": "The repository's name with owner."
},
{
"name": "object",
"description": "A Git object in the repository"
},
{
"name": "owner",
"description": "The User owner of the repository."
},
{
"name": "parent",
"description": "The repository parent, if this is a fork."
},
{
"name": "primaryLanguage",
"description": "The primary language of the repository's code."
},
{
"name": "project",
"description": "Find project by number."
},
{
"name": "projects",
"description": "A list of projects under the owner."
},
{
"name": "projectsResourcePath",
"description": "The HTTP path listing repository's projects"
},
{
"name": "projectsUrl",
"description": "The HTTP URL listing repository's projects"
},
{
"name": "protectedBranches",
"description": "A list of protected branches that are on this repository."
},
{
"name": "pullRequest",
"description": "Returns a single pull request from the current repository by number."
},
{
"name": "pullRequests",
"description": "A list of pull requests that have been opened in the repository."
},
{
"name": "pushedAt",
"description": "Identifies when the repository was last pushed to."
},
{
"name": "rebaseMergeAllowed",
"description": "Whether or not rebase-merging is enabled on this repository."
},
{
"name": "ref",
"description": "Fetch a given ref from the repository"
},
{
"name": "refs",
"description": "Fetch a list of refs from the repository"
},
{
"name": "release",
"description": "Lookup a single release given various criteria."
},
{
"name": "releases",
"description": "List of releases which are dependent on this repository."
},
{
"name": "repositoryTopics",
"description": "A list of applied repository-topic associations for this repository."
},
{
"name": "resourcePath",
"description": "The HTTP path for this repository"
},
{
"name": "shortDescriptionHTML",
"description": "A description of the repository, rendered to HTML without any links in it."
},
{
"name": "squashMergeAllowed",
"description": "Whether or not squash-merging is enabled on this repository."
},
{
"name": "sshUrl",
"description": "The SSH URL to clone this repository"
},
{
"name": "stargazers",
"description": "A list of users who have starred this starrable."
},
{
"name": "url",
"description": "The HTTP URL for this repository"
},
{
"name": "viewerCanAdminister",
"description": "Indicates whether the viewer has admin permissions on this repository."
},
{
"name": "viewerCanCreateProjects",
"description": "Can the current viewer create new projects on this owner."
},
{
"name": "viewerCanSubscribe",
"description": "Check if the viewer is able to change their subscription status for the repository."
},
{
"name": "viewerCanUpdateTopics",
"description": "Indicates whether the viewer can update the topics of this repository."
},
{
"name": "viewerHasStarred",
"description": "Returns a boolean indicating whether the viewing user has starred this starrable."
},
{
"name": "viewerPermission",
"description": "The users permission level on the repository. Will return null if authenticated as an GitHub App."
},
{
"name": "viewerSubscription",
"description": "Identifies if the viewer is watching, not watching, or ignoring the subscribable entity."
},
{
"name": "watchers",
"description": "A list of users watching the repository."
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment