Github API - Test Config

Repository [object]

A repository contains the content for a project.

Implements
Node

Node [interface]

An object with an ID.

Attributes
id ID

ID of the object.

API:
Github GraphQL API
PackageOwner

PackageOwner [interface]

Represents an owner of a package.

Attributes
id ID

The Node ID of the PackageOwner object

A list of packages under the owner.

API:
Github GraphQL API
ProjectOwner

ProjectOwner [interface]

Represents an owner of a Project.

Attributes
id ID

The Node ID of the ProjectOwner object

project Project

Find project by number.

A list of projects under the owner.

projectsResourcePath URI

The HTTP path listing owners projects

projectsUrl URI

The HTTP URL listing owners projects

viewerCanCreateProjects Boolean

Can the current viewer create new projects on this owner.

API:
Github GraphQL API
ProjectV2Recent

ProjectV2Recent [interface]

Recent projects for the owner.

Attributes
recentProjects ProjectV2Connection

Recent projects that this user has modified in the context of the owner.

API:
Github GraphQL API
RepositoryInfo

RepositoryInfo [interface]

A subset of repository info.

Attributes
archivedAt DateTime

Identifies the date and time when the repository was archived.

createdAt DateTime

Identifies the date and time when the object was created.

description String

The description of the repository.

descriptionHTML HTML

The description of the repository rendered to HTML.

forkCount Int

Returns how many forks there are of this repository in the whole network.

hasDiscussionsEnabled Boolean

Indicates if the repository has the Discussions feature enabled.

hasIssuesEnabled Boolean

Indicates if the repository has issues feature enabled.

hasProjectsEnabled Boolean

Indicates if the repository has the Projects feature enabled.

hasSponsorshipsEnabled Boolean

Indicates if the repository displays a Sponsor button for financial contributions.

hasWikiEnabled Boolean

Indicates if the repository has wiki feature enabled.

homepageUrl URI

The repository's URL.

isArchived Boolean

Indicates if the repository is unmaintained.

isFork Boolean

Identifies if the repository is a fork.

isInOrganization Boolean

Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

isLocked Boolean

Indicates if the repository has been locked or not.

isMirror Boolean

Identifies if the repository is a mirror.

isPrivate Boolean

Identifies if the repository is private or internal.

isTemplate Boolean

Identifies if the repository is a template that can be used to generate new repositories.

licenseInfo License

The license associated with the repository

The reason the repository has been locked.

mirrorUrl URI

The repository's original mirror URL.

name String

The name of the repository.

nameWithOwner String

The repository's name with owner.

openGraphImageUrl URI

The image used to represent this repository in Open Graph data.

The User owner of the repository.

pushedAt DateTime

Identifies the date and time when the repository was last pushed to.

resourcePath URI

The HTTP path for this repository

shortDescriptionHTML HTML

A description of the repository, rendered to HTML without any links in it.

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this repository

usesCustomOpenGraphImage Boolean

Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

Indicates the repository's visibility level.

API:
Github GraphQL API
Starrable

Starrable [interface]

Things that can be starred.

Attributes
id ID

The Node ID of the Starrable object

stargazerCount Int

Returns a count of how many stargazers there are on this object

stargazers StargazerConnection

A list of users who have starred this starrable.

viewerHasStarred Boolean

Returns a boolean indicating whether the viewing user has starred this starrable.

API:
Github GraphQL API
Subscribable

Subscribable [interface]

Entities that can be subscribed to for web and email notifications.

Attributes
id ID

The Node ID of the Subscribable object

viewerCanSubscribe Boolean

Check if the viewer is able to change their subscription status for the repository.

viewerSubscription SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

API:
Github GraphQL API
UniformResourceLocatable

UniformResourceLocatable [interface]

Represents a type that can be retrieved by a URL.

Attributes
resourcePath URI

The HTML path to this resource.

url URI

The URL to this resource.

API:
Github GraphQL API
Attributes
allowUpdateBranch Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether or not a pull request head branch that is behind its base branch can
always be updated even if it is not required to be up to date before merging.

archivedAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

Identifies the date and time when the repository was archived.

assignableUsers UserConnection

UserConnection [object]

A list of users.

Attributes
edges UserEdge []

A list of edges.

nodes User []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of users that can be assigned to issues in this repository.

autoMergeAllowed Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether or not Auto-merge can be enabled on pull requests in this repository.

branchProtectionRules BranchProtectionRuleConnection

BranchProtectionRuleConnection [object]

The connection type for BranchProtectionRule.

Attributes

A list of edges.

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of branch protection rules for this repository.

codeOfConduct CodeOfConduct

CodeOfConduct [object]

The Code of Conduct for a repository

Implements
Node
Attributes
body String

The body of the Code of Conduct

id ID

The Node ID of the CodeOfConduct object

key String

The key for the Code of Conduct

name String

The formal name of the Code of Conduct

resourcePath URI

The HTTP path for this Code of Conduct

url URI

The HTTP URL for this Code of Conduct

API:
Github GraphQL API

Returns the code of conduct for this repository

codeowners RepositoryCodeowners

RepositoryCodeowners [object]

Information extracted from a repository's CODEOWNERS file.

Attributes

Any problems that were encountered while parsing the CODEOWNERS file.

API:
Github GraphQL API

Information extracted from the repository's CODEOWNERS file.

collaborators RepositoryCollaboratorConnection

RepositoryCollaboratorConnection [object]

The connection type for User.

Attributes

A list of edges.

nodes User []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of collaborators associated with the repository.

commitComments CommitCommentConnection

CommitCommentConnection [object]

The connection type for CommitComment.

Attributes

A list of edges.

nodes CommitComment []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of commit comments associated with the repository.

contactLinks RepositoryContactLink []

Returns a list of contact links associated to the repository

contributingGuidelines ContributingGuidelines

ContributingGuidelines [object]

The Contributing Guidelines for a repository.

Attributes
body String

The body of the Contributing Guidelines.

resourcePath URI

The HTTP path for the Contributing Guidelines.

url URI

The HTTP URL for the Contributing Guidelines.

API:
Github GraphQL API

Returns the contributing guidelines for this repository.

createdAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

Identifies the date and time when the object was created.

databaseId Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

Identifies the primary key from the database.

defaultBranchRef Ref

Ref [object]

Represents a Git reference.

Implements
Node
Attributes
associatedPullRequests PullRequestConnection

A list of pull requests with this ref as the head ref.

branchProtectionRule BranchProtectionRule

Branch protection rules for this ref

compare Comparison

Compares the current ref as a base ref to another head ref, if the comparison can be made.

id ID

The Node ID of the Ref object

name String

The ref name.

prefix String

The ref's prefix, such as refs/heads/ or refs/tags/.

refUpdateRule RefUpdateRule

Branch protection rules that are viewable by non-admins

repository Repository

The repository the ref belongs to.

A list of rules from active Repository and Organization rulesets that apply to this ref.

target GitObject

The object the ref points to. Returns null when object does not exist.

API:
Github GraphQL API

The Ref associated with the repository's default branch.

deleteBranchOnMerge Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether or not branches are automatically deleted when merged in this repository.

dependencyGraphManifests DependencyGraphManifestConnection

DependencyGraphManifestConnection [object]

The connection type for DependencyGraphManifest.

Attributes

A list of edges.

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of dependency manifests contained in the repository

deployKeys DeployKeyConnection

DeployKeyConnection [object]

The connection type for DeployKey.

Attributes
edges DeployKeyEdge []

A list of edges.

nodes DeployKey []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of deploy keys that are on this repository.

deployments DeploymentConnection

DeploymentConnection [object]

The connection type for Deployment.

Attributes
edges DeploymentEdge []

A list of edges.

nodes Deployment []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

Deployments associated with the repository

description String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

The description of the repository.

descriptionHTML HTML

HTML [scalar]

A string containing HTML code.

API:
Github GraphQL API

The description of the repository rendered to HTML.

discussion Discussion

Discussion [object]

A discussion in a repository.

Implements
ClosableCommentDeletableLabelableLockableNodeReactableRepositoryNodeSubscribableUpdatableVotable
Attributes
activeLockReason LockReason

Reason that the conversation was locked.

The comment chosen as this discussion's answer, if any.

answerChosenAt DateTime

The time when a user chose this discussion's answer, if answered.

answerChosenBy Actor

The user who chose this discussion's answer, if answered.

author Actor

The actor who authored the comment.

authorAssociation CommentAuthorAssociation

Author's association with the subject of the comment.

body String

The main text of the discussion post.

bodyHTML HTML

The body rendered to HTML.

bodyText String

The body rendered to text.

The category for this discussion.

closed Boolean

Indicates if the object is closed (definition of closed may depend on type)

closedAt DateTime

Identifies the date and time when the object was closed.

The replies to the discussion.

createdAt DateTime

Identifies the date and time when the object was created.

createdViaEmail Boolean

Check if this comment was created via an email reply.

databaseId Int

Identifies the primary key from the database.

editor Actor

The actor who edited the comment.

id ID

The Node ID of the Discussion object

includesCreatedEdit Boolean

Check if this comment was edited and includes an edit with the creation data

isAnswered Boolean

Only return answered/unanswered discussions

A list of labels associated with the object.

lastEditedAt DateTime

The moment the editor made the last edit

locked Boolean

true if the object is locked

number Int

The number identifying this discussion within the repository.

The poll associated with this discussion, if one exists.

publishedAt DateTime

Identifies when the comment was published at.

reactionGroups ReactionGroup []

A list of reactions grouped by content left on the subject.

reactions ReactionConnection

A list of Reactions left on the Issue.

repository Repository

The repository associated with this node.

resourcePath URI

The path for this discussion.

stateReason DiscussionStateReason

Identifies the reason for the discussion's state.

title String

The title of this discussion.

updatedAt DateTime

Identifies the date and time when the object was last updated.

upvoteCount Int

Number of upvotes that this subject has received.

url URI

The URL for this discussion.

userContentEdits UserContentEditConnection

A list of edits to this content.

viewerCanClose Boolean

Indicates if the object can be closed by the viewer.

viewerCanDelete Boolean

Check if the current viewer can delete this object.

viewerCanReact Boolean

Can user react to this subject

viewerCanReopen Boolean

Indicates if the object can be reopened by the viewer.

viewerCanSubscribe Boolean

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdate Boolean

Check if the current viewer can update this object.

viewerCanUpvote Boolean

Whether or not the current user can add or remove an upvote on this subject.

viewerDidAuthor Boolean

Did the viewer author this comment.

viewerHasUpvoted Boolean

Whether or not the current user has already upvoted this subject.

viewerSubscription SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

API:
Github GraphQL API

Returns a single discussion from the current repository by number.

discussionCategories DiscussionCategoryConnection

DiscussionCategoryConnection [object]

The connection type for DiscussionCategory.

Attributes

A list of edges.

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of discussion categories that are available in the repository.

discussionCategory DiscussionCategory

DiscussionCategory [object]

A category for discussions in a repository.

Implements
NodeRepositoryNode
Attributes
createdAt DateTime

Identifies the date and time when the object was created.

description String

A description of this category.

emoji String

An emoji representing this category.

emojiHTML HTML

This category's emoji rendered as HTML.

id ID

The Node ID of the DiscussionCategory object

isAnswerable Boolean

Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation.

name String

The name of this category.

repository Repository

The repository associated with this node.

slug String

The slug of this category.

updatedAt DateTime

Identifies the date and time when the object was last updated.

API:
Github GraphQL API

A discussion category by slug.

discussions DiscussionConnection

DiscussionConnection [object]

The connection type for Discussion.

Attributes
edges DiscussionEdge []

A list of edges.

nodes Discussion []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of discussions that have been opened in the repository.

diskUsage Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

The number of kilobytes this repository occupies on disk.

environment Environment

Environment [object]

An environment.

Implements
Node
Attributes
databaseId Int

Identifies the primary key from the database.

id ID

The Node ID of the Environment object

name String

The name of the environment

The protection rules defined for this environment

API:
Github GraphQL API

Returns a single active environment from the current repository by name.

environments EnvironmentConnection

EnvironmentConnection [object]

The connection type for Environment.

Attributes
edges EnvironmentEdge []

A list of edges.

nodes Environment []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of environments that are in this repository.

forkCount Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

Returns how many forks there are of this repository in the whole network.

forkingAllowed Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether this repository allows forks.

forks RepositoryConnection

RepositoryConnection [object]

A list of repositories owned by the subject.

Attributes
edges RepositoryEdge []

A list of edges.

nodes Repository []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

totalDiskUsage Int

The total size in kilobytes of all repositories in the connection. Value will
never be larger than max 32-bit signed integer.

API:
Github GraphQL API

A list of direct forked repositories.

fundingLinks FundingLink []

The funding links for this repository

hasDiscussionsEnabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if the repository has the Discussions feature enabled.

hasIssuesEnabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if the repository has issues feature enabled.

hasProjectsEnabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if the repository has the Projects feature enabled.

hasSponsorshipsEnabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if the repository displays a Sponsor button for financial contributions.

hasVulnerabilityAlertsEnabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether vulnerability alerts are enabled for the repository.

hasWikiEnabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if the repository has wiki feature enabled.

homepageUrl URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The repository's URL.

id ID

ID [scalar]

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

API:
Github GraphQL API

The Node ID of the Repository object

interactionAbility RepositoryInteractionAbility

RepositoryInteractionAbility [object]

Repository interaction limit that applies to this object.

Attributes
expiresAt DateTime

The time the currently active limit expires.

The current limit that is enabled on this object.

The origin of the currently active interaction limit.

API:
Github GraphQL API

The interaction ability settings for this repository.

isArchived Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if the repository is unmaintained.

isBlankIssuesEnabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Returns true if blank issue creation is allowed

isDisabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Returns whether or not this repository disabled.

isEmpty Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Returns whether or not this repository is empty.

isFork Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Identifies if the repository is a fork.

isInOrganization Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

isLocked Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if the repository has been locked or not.

isMirror Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Identifies if the repository is a mirror.

isPrivate Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Identifies if the repository is private or internal.

isSecurityPolicyEnabled Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Returns true if this repository has a security policy

isTemplate Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Identifies if the repository is a template that can be used to generate new repositories.

isUserConfigurationRepository Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Is this repository a user configuration repository?

issue Issue

Issue [object]

An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

Implements
AssignableClosableCommentDeletableLabelableLockableNodeProjectV2OwnerReactableRepositoryNodeSubscribableSubscribableThreadUniformResourceLocatableUpdatableUpdatableComment
Attributes
activeLockReason LockReason

Reason that the conversation was locked.

assignees UserConnection

A list of Users assigned to this object.

author Actor

The actor who authored the comment.

authorAssociation CommentAuthorAssociation

Author's association with the subject of the comment.

body String

Identifies the body of the issue.

bodyHTML HTML

The body rendered to HTML.

bodyResourcePath URI

The http path for this issue body

bodyText String

Identifies the body of the issue rendered to text.

bodyUrl URI

The http URL for this issue body

closed Boolean

Indicates if the object is closed (definition of closed may depend on type)

closedAt DateTime

Identifies the date and time when the object was closed.

A list of comments associated with the Issue.

createdAt DateTime

Identifies the date and time when the object was created.

createdViaEmail Boolean

Check if this comment was created via an email reply.

databaseId Int

Identifies the primary key from the database.

editor Actor

The actor who edited the comment.

fullDatabaseId BigInt

Identifies the primary key from the database as a BigInt.

hovercard Hovercard

The hovercard information for this issue

id ID

The Node ID of the Issue object

includesCreatedEdit Boolean

Check if this comment was edited and includes an edit with the creation data

isPinned Boolean

Indicates whether or not this issue is currently pinned to the repository issues list

isReadByViewer Boolean

Is this issue read by the viewer

A list of labels associated with the object.

lastEditedAt DateTime

The moment the editor made the last edit

linkedBranches LinkedBranchConnection

Branches linked to this issue.

locked Boolean

true if the object is locked

milestone Milestone

Identifies the milestone associated with the issue.

number Int

Identifies the issue number.

participants UserConnection

A list of Users that are participating in the Issue conversation.

projectCards ProjectCardConnection

List of project cards associated with this issue.

List of project items associated with this issue.

projectV2 ProjectV2

Find a project by number.

projectsV2 ProjectV2Connection

A list of projects under the owner.

publishedAt DateTime

Identifies when the comment was published at.

reactionGroups ReactionGroup []

A list of reactions grouped by content left on the subject.

reactions ReactionConnection

A list of Reactions left on the Issue.

repository Repository

The repository associated with this node.

resourcePath URI

The HTTP path for this issue

state IssueState

Identifies the state of the issue.

stateReason IssueStateReason

Identifies the reason for the issue state.

A list of events, comments, commits, etc. associated with the issue.

Deprecated: `timeline` will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.

A list of events, comments, commits, etc. associated with the issue.

title String

Identifies the issue title.

titleHTML String

Identifies the issue title rendered to HTML.

trackedInIssues IssueConnection

A list of issues that track this issue

trackedIssues IssueConnection

A list of issues tracked inside the current issue

trackedIssuesCount Int

The number of tracked issues for this issue

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this issue

userContentEdits UserContentEditConnection

A list of edits to this content.

viewerCanClose Boolean

Indicates if the object can be closed by the viewer.

viewerCanDelete Boolean

Check if the current viewer can delete this object.

viewerCanReact Boolean

Can user react to this subject

viewerCanReopen Boolean

Indicates if the object can be reopened by the viewer.

viewerCanSubscribe Boolean

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdate Boolean

Check if the current viewer can update this object.

viewerCannotUpdateReasons CommentCannotUpdateReason []

Reasons why the current viewer can not update this comment.

viewerDidAuthor Boolean

Did the viewer author this comment.

viewerSubscription SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

viewerThreadSubscriptionFormAction ThreadSubscriptionFormAction

Identifies the viewer's thread subscription form action.

viewerThreadSubscriptionStatus ThreadSubscriptionState

Identifies the viewer's thread subscription status.

API:
Github GraphQL API

Returns a single issue from the current repository by number.

issueOrPullRequest IssueOrPullRequest

IssueOrPullRequest [union]

Used for return value of Repository.issueOrPullRequest.

Union
IssuePullRequest
API:
Github GraphQL API

Returns a single issue-like object from the current repository by number.

issueTemplates IssueTemplate []

IssueTemplate [object]

A repository issue template.

Attributes
about String

The template purpose.

assignees UserConnection

The suggested assignees.

body String

The suggested issue body.

filename String

The template filename.

The suggested issue labels

name String

The template name.

title String

The suggested issue title.

API:
Github GraphQL API

Returns a list of issue templates associated to the repository

issues IssueConnection

IssueConnection [object]

The connection type for Issue.

Attributes
edges IssueEdge []

A list of edges.

nodes Issue []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of issues that have been opened in the repository.

label Label

Label [object]

A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository.

Implements
Node
Attributes
color String

Identifies the label color.

createdAt DateTime

Identifies the date and time when the label was created.

description String

A brief description of this label.

id ID

The Node ID of the Label object

isDefault Boolean

Indicates whether or not this is a default label.

A list of issues associated with this label.

name String

Identifies the label name.

pullRequests PullRequestConnection

A list of pull requests associated with this label.

repository Repository

The repository associated with this label.

resourcePath URI

The HTTP path for this label.

updatedAt DateTime

Identifies the date and time when the label was last updated.

url URI

The HTTP URL for this label.

API:
Github GraphQL API

Returns a single label by name

labels LabelConnection

LabelConnection [object]

The connection type for Label.

Attributes
edges LabelEdge []

A list of edges.

nodes Label []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of labels associated with the repository.

languages LanguageConnection

LanguageConnection [object]

A list of languages associated with the parent.

Attributes
edges LanguageEdge []

A list of edges.

nodes Language []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

totalSize Int

The total size in bytes of files written in that language.

API:
Github GraphQL API

A list containing a breakdown of the language composition of the repository.

latestRelease Release

Release [object]

A release contains the content for a release.

Implements
NodeReactableUniformResourceLocatable
Attributes
author User

The author of the release

createdAt DateTime

Identifies the date and time when the object was created.

databaseId Int

Identifies the primary key from the database.

description String

The description of the release.

descriptionHTML HTML

The description of this release rendered to HTML.

id ID

The Node ID of the Release object

isDraft Boolean

Whether or not the release is a draft

isLatest Boolean

Whether or not the release is the latest releast

isPrerelease Boolean

Whether or not the release is a prerelease

mentions UserConnection

A list of users mentioned in the release description

name String

The title of the release.

publishedAt DateTime

Identifies the date and time when the release was created.

reactionGroups ReactionGroup []

A list of reactions grouped by content left on the subject.

reactions ReactionConnection

A list of Reactions left on the Issue.

releaseAssets ReleaseAssetConnection

List of releases assets which are dependent on this release.

repository Repository

The repository that the release belongs to.

resourcePath URI

The HTTP path for this issue

shortDescriptionHTML HTML

A description of the release, rendered to HTML without any links in it.

tag Ref

The Git tag the release points to

tagCommit Commit

The tag commit for this release.

tagName String

The name of the release's Git tag

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this issue

viewerCanReact Boolean

Can user react to this subject

API:
Github GraphQL API

Get the latest release for the repository if one exists.

licenseInfo License

License [object]

A repository's open source license

Implements
Node
Attributes
body String

The full text of the license

conditions LicenseRule []

The conditions set by the license

description String

A human-readable description of the license

featured Boolean

Whether the license should be featured

hidden Boolean

Whether the license should be displayed in license pickers

id ID

The Node ID of the License object

implementation String

Instructions on how to implement the license

key String

The lowercased SPDX ID of the license

limitations LicenseRule []

The limitations set by the license

name String

The license full name specified by <https://spdx.org/licenses>

nickname String

Customary short name if applicable (e.g, GPLv3)

permissions LicenseRule []

The permissions set by the license

pseudoLicense Boolean

Whether the license is a pseudo-license placeholder (e.g., other, no-license)

spdxId String

Short identifier specified by <https://spdx.org/licenses>

url URI

URL to the license on <https://choosealicense.com>

API:
Github GraphQL API

The license associated with the repository

lockReason RepositoryLockReason

RepositoryLockReason [enum]

The possible reasons a given repository could be in a locked state.

Possible values
BILLING

The repository is locked due to a billing related reason.

MIGRATING

The repository is locked due to a migration.

MOVING

The repository is locked due to a move.

RENAME

The repository is locked due to a rename.

TRADE_RESTRICTION

The repository is locked due to a trade controls related reason.

TRANSFERRING_OWNERSHIP

The repository is locked due to an ownership transfer.

API:
Github GraphQL API

The reason the repository has been locked.

mentionableUsers UserConnection

UserConnection [object]

A list of users.

Attributes
edges UserEdge []

A list of edges.

nodes User []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of Users that can be mentioned in the context of the repository.

mergeCommitAllowed Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether or not PRs are merged with a merge commit on this repository.

mergeCommitMessage MergeCommitMessage

MergeCommitMessage [enum]

The possible default commit messages for merges.

Possible values
BLANK

Default to a blank commit message.

PR_BODY

Default to the pull request's body.

PR_TITLE

Default to the pull request's title.

API:
Github GraphQL API

How the default commit message will be generated when merging a pull request.

mergeCommitTitle MergeCommitTitle

MergeCommitTitle [enum]

The possible default commit titles for merges.

Possible values
MERGE_MESSAGE

Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).

PR_TITLE

Default to the pull request's title.

API:
Github GraphQL API

How the default commit title will be generated when merging a pull request.

mergeQueue MergeQueue

MergeQueue [object]

The queue of pull request entries to be merged into a protected branch in a repository.

Implements
Node
Attributes
configuration MergeQueueConfiguration

The configuration for this merge queue

The entries in the queue

id ID

The Node ID of the MergeQueue object

nextEntryEstimatedTimeToMerge Int

The estimated time in seconds until a newly added entry would be merged

repository Repository

The repository this merge queue belongs to

resourcePath URI

The HTTP path for this merge queue

url URI

The HTTP URL for this merge queue

API:
Github GraphQL API

The merge queue for a specified branch, otherwise the default branch if not provided.

milestone Milestone

Milestone [object]

Represents a Milestone object on a given repository.

Implements
ClosableNodeUniformResourceLocatable
Attributes
closed Boolean

Indicates if the object is closed (definition of closed may depend on type)

closedAt DateTime

Identifies the date and time when the object was closed.

createdAt DateTime

Identifies the date and time when the object was created.

creator Actor

Identifies the actor who created the milestone.

description String

Identifies the description of the milestone.

dueOn DateTime

Identifies the due date of the milestone.

id ID

The Node ID of the Milestone object

A list of issues associated with the milestone.

number Int

Identifies the number of the milestone.

progressPercentage Float

Identifies the percentage complete for the milestone

pullRequests PullRequestConnection

A list of pull requests associated with the milestone.

repository Repository

The repository associated with this milestone.

resourcePath URI

The HTTP path for this milestone

Identifies the state of the milestone.

title String

Identifies the title of the milestone.

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this milestone

viewerCanClose Boolean

Indicates if the object can be closed by the viewer.

viewerCanReopen Boolean

Indicates if the object can be reopened by the viewer.

API:
Github GraphQL API

Returns a single milestone from the current repository by number.

milestones MilestoneConnection

MilestoneConnection [object]

The connection type for Milestone.

Attributes
edges MilestoneEdge []

A list of edges.

nodes Milestone []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of milestones associated with the repository.

mirrorUrl URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The repository's original mirror URL.

name String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

The name of the repository.

nameWithOwner String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

The repository's name with owner.

object GitObject

GitObject [interface]

Represents a Git object.

Attributes
abbreviatedOid String

An abbreviated version of the Git object ID

commitResourcePath URI

The HTTP path for this Git object

commitUrl URI

The HTTP URL for this Git object

id ID

The Node ID of the GitObject object

The Git object ID

repository Repository

The Repository the Git object belongs to

API:
Github GraphQL API

A Git object in the repository

openGraphImageUrl URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The image used to represent this repository in Open Graph data.

owner RepositoryOwner

RepositoryOwner [interface]

Represents an owner of a Repository.

Attributes
avatarUrl URI

A URL pointing to the owner's public avatar.

id ID

The Node ID of the RepositoryOwner object

login String

The username used to login.

repositories RepositoryConnection

A list of repositories that the user owns.

repository Repository

Find Repository.

resourcePath URI

The HTTP URL for the owner.

url URI

The HTTP URL for the owner.

API:
Github GraphQL API

The User owner of the repository.

packages PackageConnection

PackageConnection [object]

The connection type for Package.

Attributes
edges PackageEdge []

A list of edges.

nodes Package []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of packages under the owner.

parent Repository

Repository [object]

A repository contains the content for a project.

Implements
NodePackageOwnerProjectOwnerProjectV2RecentRepositoryInfoStarrableSubscribableUniformResourceLocatable
Attributes
allowUpdateBranch Boolean

Whether or not a pull request head branch that is behind its base branch can
always be updated even if it is not required to be up to date before merging.

archivedAt DateTime

Identifies the date and time when the repository was archived.

assignableUsers UserConnection

A list of users that can be assigned to issues in this repository.

autoMergeAllowed Boolean

Whether or not Auto-merge can be enabled on pull requests in this repository.

branchProtectionRules BranchProtectionRuleConnection

A list of branch protection rules for this repository.

codeOfConduct CodeOfConduct

Returns the code of conduct for this repository

Information extracted from the repository's CODEOWNERS file.

A list of collaborators associated with the repository.

commitComments CommitCommentConnection

A list of commit comments associated with the repository.

contactLinks RepositoryContactLink []

Returns a list of contact links associated to the repository

contributingGuidelines ContributingGuidelines

Returns the contributing guidelines for this repository.

createdAt DateTime

Identifies the date and time when the object was created.

databaseId Int

Identifies the primary key from the database.

defaultBranchRef Ref

The Ref associated with the repository's default branch.

deleteBranchOnMerge Boolean

Whether or not branches are automatically deleted when merged in this repository.

dependencyGraphManifests DependencyGraphManifestConnection

A list of dependency manifests contained in the repository

deployKeys DeployKeyConnection

A list of deploy keys that are on this repository.

deployments DeploymentConnection

Deployments associated with the repository

description String

The description of the repository.

descriptionHTML HTML

The description of the repository rendered to HTML.

discussion Discussion

Returns a single discussion from the current repository by number.

discussionCategories DiscussionCategoryConnection

A list of discussion categories that are available in the repository.

discussionCategory DiscussionCategory

A discussion category by slug.

discussions DiscussionConnection

A list of discussions that have been opened in the repository.

diskUsage Int

The number of kilobytes this repository occupies on disk.

environment Environment

Returns a single active environment from the current repository by name.

environments EnvironmentConnection

A list of environments that are in this repository.

forkCount Int

Returns how many forks there are of this repository in the whole network.

forkingAllowed Boolean

Whether this repository allows forks.

A list of direct forked repositories.

fundingLinks FundingLink []

The funding links for this repository

hasDiscussionsEnabled Boolean

Indicates if the repository has the Discussions feature enabled.

hasIssuesEnabled Boolean

Indicates if the repository has issues feature enabled.

hasProjectsEnabled Boolean

Indicates if the repository has the Projects feature enabled.

hasSponsorshipsEnabled Boolean

Indicates if the repository displays a Sponsor button for financial contributions.

hasVulnerabilityAlertsEnabled Boolean

Whether vulnerability alerts are enabled for the repository.

hasWikiEnabled Boolean

Indicates if the repository has wiki feature enabled.

homepageUrl URI

The repository's URL.

id ID

The Node ID of the Repository object

interactionAbility RepositoryInteractionAbility

The interaction ability settings for this repository.

isArchived Boolean

Indicates if the repository is unmaintained.

isBlankIssuesEnabled Boolean

Returns true if blank issue creation is allowed

isDisabled Boolean

Returns whether or not this repository disabled.

isEmpty Boolean

Returns whether or not this repository is empty.

isFork Boolean

Identifies if the repository is a fork.

isInOrganization Boolean

Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

isLocked Boolean

Indicates if the repository has been locked or not.

isMirror Boolean

Identifies if the repository is a mirror.

isPrivate Boolean

Identifies if the repository is private or internal.

isSecurityPolicyEnabled Boolean

Returns true if this repository has a security policy

isTemplate Boolean

Identifies if the repository is a template that can be used to generate new repositories.

isUserConfigurationRepository Boolean

Is this repository a user configuration repository?

issue Issue

Returns a single issue from the current repository by number.

issueOrPullRequest IssueOrPullRequest

Returns a single issue-like object from the current repository by number.

issueTemplates IssueTemplate []

Returns a list of issue templates associated to the repository

A list of issues that have been opened in the repository.

label Label

Returns a single label by name

A list of labels associated with the repository.

languages LanguageConnection

A list containing a breakdown of the language composition of the repository.

latestRelease Release

Get the latest release for the repository if one exists.

licenseInfo License

The license associated with the repository

The reason the repository has been locked.

mentionableUsers UserConnection

A list of Users that can be mentioned in the context of the repository.

mergeCommitAllowed Boolean

Whether or not PRs are merged with a merge commit on this repository.

mergeCommitMessage MergeCommitMessage

How the default commit message will be generated when merging a pull request.

mergeCommitTitle MergeCommitTitle

How the default commit title will be generated when merging a pull request.

mergeQueue MergeQueue

The merge queue for a specified branch, otherwise the default branch if not provided.

milestone Milestone

Returns a single milestone from the current repository by number.

milestones MilestoneConnection

A list of milestones associated with the repository.

mirrorUrl URI

The repository's original mirror URL.

name String

The name of the repository.

nameWithOwner String

The repository's name with owner.

object GitObject

A Git object in the repository

openGraphImageUrl URI

The image used to represent this repository in Open Graph data.

The User owner of the repository.

A list of packages under the owner.

parent Repository

The repository parent, if this is a fork.

pinnedDiscussions PinnedDiscussionConnection

A list of discussions that have been pinned in this repository.

pinnedIssues PinnedIssueConnection

A list of pinned issues for this repository.

primaryLanguage Language

The primary language of the repository's code.

project Project

Find project by number.

projectV2 ProjectV2

Finds and returns the Project according to the provided Project number.

A list of projects under the owner.

projectsResourcePath URI

The HTTP path listing the repository's projects

projectsUrl URI

The HTTP URL listing the repository's projects

projectsV2 ProjectV2Connection

List of projects linked to this repository.

pullRequest PullRequest

Returns a single pull request from the current repository by number.

pullRequestTemplates PullRequestTemplate []

Returns a list of pull request templates associated to the repository

pullRequests PullRequestConnection

A list of pull requests that have been opened in the repository.

pushedAt DateTime

Identifies the date and time when the repository was last pushed to.

rebaseMergeAllowed Boolean

Whether or not rebase-merging is enabled on this repository.

recentProjects ProjectV2Connection

Recent projects that this user has modified in the context of the owner.

ref Ref

Fetch a given ref from the repository

Fetch a list of refs from the repository

release Release

Lookup a single release given various criteria.

List of releases which are dependent on this repository.

repositoryTopics RepositoryTopicConnection

A list of applied repository-topic associations for this repository.

resourcePath URI

The HTTP path for this repository

Returns a single ruleset from the current repository by ID.

A list of rulesets for this repository.

securityPolicyUrl URI

The security policy URL.

shortDescriptionHTML HTML

A description of the repository, rendered to HTML without any links in it.

squashMergeAllowed Boolean

Whether or not squash-merging is enabled on this repository.

squashMergeCommitMessage SquashMergeCommitMessage

How the default commit message will be generated when squash merging a pull request.

squashMergeCommitTitle SquashMergeCommitTitle

How the default commit title will be generated when squash merging a pull request.

squashPrTitleUsedAsDefault Boolean

Whether a squash merge commit can use the pull request title as default.

Deprecated: `squashPrTitleUsedAsDefault` will be removed. Use `Repository.squashMergeCommitTitle` instead. Removal on 2023-04-01 UTC.
sshUrl GitSSHRemote

The SSH URL to clone this repository

stargazerCount Int

Returns a count of how many stargazers there are on this object

stargazers StargazerConnection

A list of users who have starred this starrable.

submodules SubmoduleConnection

Returns a list of all submodules in this repository parsed from the
.gitmodules file as of the default branch's HEAD commit.

tempCloneToken String

Temporary authentication token for cloning this repository.

templateRepository Repository

The repository from which this repository was generated, if any.

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this repository

usesCustomOpenGraphImage Boolean

Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

viewerCanAdminister Boolean

Indicates whether the viewer has admin permissions on this repository.

viewerCanCreateProjects Boolean

Can the current viewer create new projects on this owner.

viewerCanSubscribe Boolean

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdateTopics Boolean

Indicates whether the viewer can update the topics of this repository.

viewerDefaultCommitEmail String

The last commit email for the viewer.

viewerDefaultMergeMethod PullRequestMergeMethod

The last used merge method by the viewer or the default for the repository.

viewerHasStarred Boolean

Returns a boolean indicating whether the viewing user has starred this starrable.

viewerPermission RepositoryPermission

The users permission level on the repository. Will return null if authenticated as an GitHub App.

viewerPossibleCommitEmails String []

A list of emails this viewer can commit with.

viewerSubscription SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

Indicates the repository's visibility level.

vulnerabilityAlert RepositoryVulnerabilityAlert

Returns a single vulnerability alert from the current repository by number.

A list of vulnerability alerts that are on this repository.

watchers UserConnection

A list of users watching the repository.

webCommitSignoffRequired Boolean

Whether contributors are required to sign off on web-based commits in this repository.

API:
Github GraphQL API

The repository parent, if this is a fork.

pinnedDiscussions PinnedDiscussionConnection

PinnedDiscussionConnection [object]

The connection type for PinnedDiscussion.

Attributes

A list of edges.

nodes PinnedDiscussion []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of discussions that have been pinned in this repository.

pinnedIssues PinnedIssueConnection

PinnedIssueConnection [object]

The connection type for PinnedIssue.

Attributes
edges PinnedIssueEdge []

A list of edges.

nodes PinnedIssue []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of pinned issues for this repository.

primaryLanguage Language

Language [object]

Represents a given language found in repositories.

Implements
Node
Attributes
color String

The color defined for the current language.

id ID

The Node ID of the Language object

name String

The name of the current language.

API:
Github GraphQL API

The primary language of the repository's code.

project Project

Project [object]

Projects manage issues, pull requests and notes within a project owner.

Implements
ClosableNodeUpdatable
Attributes
body String

The project's description body.

bodyHTML HTML

The projects description body rendered to HTML.

closed Boolean

Indicates if the object is closed (definition of closed may depend on type)

closedAt DateTime

Identifies the date and time when the object was closed.

List of columns in the project

createdAt DateTime

Identifies the date and time when the object was created.

creator Actor

The actor who originally created the project.

databaseId Int

Identifies the primary key from the database.

id ID

The Node ID of the Project object

name String

The project's name.

number Int

The project's number.

owner ProjectOwner

The project's owner. Currently limited to repositories, organizations, and users.

pendingCards ProjectCardConnection

List of pending cards in this project

progress ProjectProgress

Project progress details.

resourcePath URI

The HTTP path for this project

state ProjectState

Whether the project is open or closed.

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this project

viewerCanClose Boolean

Indicates if the object can be closed by the viewer.

viewerCanReopen Boolean

Indicates if the object can be reopened by the viewer.

viewerCanUpdate Boolean

Check if the current viewer can update this object.

API:
Github GraphQL API

Find project by number.

projectV2 ProjectV2

ProjectV2 [object]

New projects that manage issues, pull requests and drafts using tables and boards.

Implements
ClosableNodeUpdatable
Attributes
closed Boolean

Returns true if the project is closed.

closedAt DateTime

Identifies the date and time when the object was closed.

createdAt DateTime

Identifies the date and time when the object was created.

creator Actor

The actor who originally created the project.

databaseId Int

Identifies the primary key from the database.

A field of the project

List of fields and their constraints in the project

id ID

The Node ID of the ProjectV2 object

List of items in the project

number Int

The project's number.

The project's owner. Currently limited to organizations and users.

public Boolean

Returns true if the project is public.

readme String

The project's readme.

repositories RepositoryConnection

The repositories the project is linked to.

resourcePath URI

The HTTP path for this project

shortDescription String

The project's short description.

The teams the project is linked to.

template Boolean

Returns true if this project is a template.

title String

The project's name.

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this project

A view of the project

viewerCanClose Boolean

Indicates if the object can be closed by the viewer.

viewerCanReopen Boolean

Indicates if the object can be reopened by the viewer.

viewerCanUpdate Boolean

Check if the current viewer can update this object.

List of views in the project

A workflow of the project

List of the workflows in the project

API:
Github GraphQL API

Finds and returns the Project according to the provided Project number.

projects ProjectConnection

ProjectConnection [object]

A list of projects associated with the owner.

Attributes
edges ProjectEdge []

A list of edges.

nodes Project []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of projects under the owner.

projectsResourcePath URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The HTTP path listing the repository's projects

projectsUrl URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The HTTP URL listing the repository's projects

projectsV2 ProjectV2Connection

ProjectV2Connection [object]

The connection type for ProjectV2.

Attributes
edges ProjectV2Edge []

A list of edges.

nodes ProjectV2 []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

List of projects linked to this repository.

pullRequest PullRequest

PullRequest [object]

A repository pull request.

Implements
AssignableClosableCommentLabelableLockableNodeProjectV2OwnerReactableRepositoryNodeSubscribableUniformResourceLocatableUpdatableUpdatableComment
Attributes
activeLockReason LockReason

Reason that the conversation was locked.

additions Int

The number of additions in this pull request.

assignees UserConnection

A list of Users assigned to this object.

author Actor

The actor who authored the comment.

authorAssociation CommentAuthorAssociation

Author's association with the subject of the comment.

autoMergeRequest AutoMergeRequest

Returns the auto-merge request object if one exists for this pull request.

baseRef Ref

Identifies the base Ref associated with the pull request.

baseRefName String

Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.

baseRefOid GitObjectID

Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.

baseRepository Repository

The repository associated with this pull request's base Ref.

body String

The body as Markdown.

bodyHTML HTML

The body rendered to HTML.

bodyText String

The body rendered to text.

canBeRebased Boolean

Whether or not the pull request is rebaseable.

changedFiles Int

The number of changed files in this pull request.

checksResourcePath URI

The HTTP path for the checks of this pull request.

checksUrl URI

The HTTP URL for the checks of this pull request.

closed Boolean

true if the pull request is closed

closedAt DateTime

Identifies the date and time when the object was closed.

closingIssuesReferences IssueConnection

List of issues that were may be closed by this pull request

A list of comments associated with the pull request.

A list of commits present in this pull request's head branch not present in the base branch.

createdAt DateTime

Identifies the date and time when the object was created.

createdViaEmail Boolean

Check if this comment was created via an email reply.

databaseId Int

Identifies the primary key from the database.

Deprecated: `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.
deletions Int

The number of deletions in this pull request.

editor Actor

The actor who edited this pull request's body.

Lists the files changed within this pull request.

fullDatabaseId BigInt

Identifies the primary key from the database as a BigInt.

headRef Ref

Identifies the head Ref associated with the pull request.

headRefName String

Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.

headRefOid GitObjectID

Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.

headRepository Repository

The repository associated with this pull request's head Ref.

headRepositoryOwner RepositoryOwner

The owner of the repository associated with this pull request's head Ref.

hovercard Hovercard

The hovercard information for this issue

id ID

The Node ID of the PullRequest object

includesCreatedEdit Boolean

Check if this comment was edited and includes an edit with the creation data

isCrossRepository Boolean

The head and base repositories are different.

isDraft Boolean

Identifies if the pull request is a draft.

isInMergeQueue Boolean

Indicates whether the pull request is in a merge queue

isMergeQueueEnabled Boolean

Indicates whether the pull request's base ref has a merge queue enabled.

isReadByViewer Boolean

Is this pull request read by the viewer

A list of labels associated with the object.

lastEditedAt DateTime

The moment the editor made the last edit

latestOpinionatedReviews PullRequestReviewConnection

A list of latest reviews per user associated with the pull request.

A list of latest reviews per user associated with the pull request that are not also pending review.

locked Boolean

true if the pull request is locked

maintainerCanModify Boolean

Indicates whether maintainers can modify the pull request.

mergeCommit Commit

The commit that was created when this pull request was merged.

mergeQueue MergeQueue

The merge queue for the pull request's base branch

mergeQueueEntry MergeQueueEntry

The merge queue entry of the pull request in the base branch's merge queue

mergeStateStatus MergeStateStatus

Detailed information about the current pull request merge state status.

mergeable MergeableState

Whether or not the pull request can be merged based on the existence of merge conflicts.

merged Boolean

Whether or not the pull request was merged.

mergedAt DateTime

The date and time that the pull request was merged.

mergedBy Actor

The actor who merged the pull request.

milestone Milestone

Identifies the milestone associated with the pull request.

number Int

Identifies the pull request number.

participants UserConnection

A list of Users that are participating in the Pull Request conversation.

permalink URI

The permalink to the pull request.

potentialMergeCommit Commit

The commit that GitHub automatically generated to test if this pull request
could be merged. This field will not return a value if the pull request is
merged, or if the test merge commit is still being generated. See the
mergeable field for more details on the mergeability of the pull request.

projectCards ProjectCardConnection

List of project cards associated with this pull request.

List of project items associated with this pull request.

projectV2 ProjectV2

Find a project by number.

projectsV2 ProjectV2Connection

A list of projects under the owner.

publishedAt DateTime

Identifies when the comment was published at.

reactionGroups ReactionGroup []

A list of reactions grouped by content left on the subject.

reactions ReactionConnection

A list of Reactions left on the Issue.

repository Repository

The repository associated with this node.

resourcePath URI

The HTTP path for this pull request.

revertResourcePath URI

The HTTP path for reverting this pull request.

revertUrl URI

The HTTP URL for reverting this pull request.

reviewDecision PullRequestReviewDecision

The current status of this pull request with respect to code review.

reviewRequests ReviewRequestConnection

A list of review requests associated with the pull request.

The list of all review threads for this pull request.

A list of reviews associated with the pull request.

Identifies the state of the pull request.

suggestedReviewers SuggestedReviewer []

A list of reviewer suggestions based on commit history and past review comments.

A list of events, comments, commits, etc. associated with the pull request.

Deprecated: `timeline` will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.

A list of events, comments, commits, etc. associated with the pull request.

title String

Identifies the pull request title.

titleHTML HTML

Identifies the pull request title rendered to HTML.

totalCommentsCount Int

Returns a count of how many comments this pull request has received.

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this pull request.

userContentEdits UserContentEditConnection

A list of edits to this content.

viewerCanApplySuggestion Boolean

Whether or not the viewer can apply suggestion.

viewerCanClose Boolean

Indicates if the object can be closed by the viewer.

viewerCanDeleteHeadRef Boolean

Check if the viewer can restore the deleted head ref.

viewerCanDisableAutoMerge Boolean

Whether or not the viewer can disable auto-merge

viewerCanEditFiles Boolean

Can the viewer edit files within this pull request.

viewerCanEnableAutoMerge Boolean

Whether or not the viewer can enable auto-merge

viewerCanMergeAsAdmin Boolean

Indicates whether the viewer can bypass branch protections and merge the pull request immediately

viewerCanReact Boolean

Can user react to this subject

viewerCanReopen Boolean

Indicates if the object can be reopened by the viewer.

viewerCanSubscribe Boolean

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdate Boolean

Check if the current viewer can update this object.

viewerCanUpdateBranch Boolean

Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref.
If the head ref is up to date or unable to be updated by this user, this will return false.

viewerCannotUpdateReasons CommentCannotUpdateReason []

Reasons why the current viewer can not update this comment.

viewerDidAuthor Boolean

Did the viewer author this comment.

viewerLatestReview PullRequestReview

The latest review given from the viewer.

viewerLatestReviewRequest ReviewRequest

The person who has requested the viewer for review on this pull request.

viewerMergeBodyText String

The merge body text for the viewer and method.

viewerMergeHeadlineText String

The merge headline text for the viewer and method.

viewerSubscription SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

API:
Github GraphQL API

Returns a single pull request from the current repository by number.

pullRequestTemplates PullRequestTemplate []

PullRequestTemplate [object]

A repository pull request template.

Attributes
body String

The body of the template

filename String

The filename of the template

repository Repository

The repository the template belongs to

API:
Github GraphQL API

Returns a list of pull request templates associated to the repository

pullRequests PullRequestConnection

PullRequestConnection [object]

The connection type for PullRequest.

Attributes
edges PullRequestEdge []

A list of edges.

nodes PullRequest []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of pull requests that have been opened in the repository.

pushedAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

Identifies the date and time when the repository was last pushed to.

rebaseMergeAllowed Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether or not rebase-merging is enabled on this repository.

recentProjects ProjectV2Connection

ProjectV2Connection [object]

The connection type for ProjectV2.

Attributes
edges ProjectV2Edge []

A list of edges.

nodes ProjectV2 []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

Recent projects that this user has modified in the context of the owner.

ref Ref

Ref [object]

Represents a Git reference.

Implements
Node
Attributes
associatedPullRequests PullRequestConnection

A list of pull requests with this ref as the head ref.

branchProtectionRule BranchProtectionRule

Branch protection rules for this ref

compare Comparison

Compares the current ref as a base ref to another head ref, if the comparison can be made.

id ID

The Node ID of the Ref object

name String

The ref name.

prefix String

The ref's prefix, such as refs/heads/ or refs/tags/.

refUpdateRule RefUpdateRule

Branch protection rules that are viewable by non-admins

repository Repository

The repository the ref belongs to.

A list of rules from active Repository and Organization rulesets that apply to this ref.

target GitObject

The object the ref points to. Returns null when object does not exist.

API:
Github GraphQL API

Fetch a given ref from the repository

refs RefConnection

RefConnection [object]

The connection type for Ref.

Attributes
edges RefEdge []

A list of edges.

nodes Ref []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

Fetch a list of refs from the repository

release Release

Release [object]

A release contains the content for a release.

Implements
NodeReactableUniformResourceLocatable
Attributes
author User

The author of the release

createdAt DateTime

Identifies the date and time when the object was created.

databaseId Int

Identifies the primary key from the database.

description String

The description of the release.

descriptionHTML HTML

The description of this release rendered to HTML.

id ID

The Node ID of the Release object

isDraft Boolean

Whether or not the release is a draft

isLatest Boolean

Whether or not the release is the latest releast

isPrerelease Boolean

Whether or not the release is a prerelease

mentions UserConnection

A list of users mentioned in the release description

name String

The title of the release.

publishedAt DateTime

Identifies the date and time when the release was created.

reactionGroups ReactionGroup []

A list of reactions grouped by content left on the subject.

reactions ReactionConnection

A list of Reactions left on the Issue.

releaseAssets ReleaseAssetConnection

List of releases assets which are dependent on this release.

repository Repository

The repository that the release belongs to.

resourcePath URI

The HTTP path for this issue

shortDescriptionHTML HTML

A description of the release, rendered to HTML without any links in it.

tag Ref

The Git tag the release points to

tagCommit Commit

The tag commit for this release.

tagName String

The name of the release's Git tag

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this issue

viewerCanReact Boolean

Can user react to this subject

API:
Github GraphQL API

Lookup a single release given various criteria.

releases ReleaseConnection

ReleaseConnection [object]

The connection type for Release.

Attributes
edges ReleaseEdge []

A list of edges.

nodes Release []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

List of releases which are dependent on this repository.

repositoryTopics RepositoryTopicConnection

RepositoryTopicConnection [object]

The connection type for RepositoryTopic.

Attributes

A list of edges.

nodes RepositoryTopic []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of applied repository-topic associations for this repository.

resourcePath URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The HTTP path for this repository

ruleset RepositoryRuleset

RepositoryRuleset [object]

A repository ruleset.

Implements
Node
Attributes

The actors that can bypass this ruleset

The set of conditions that must evaluate to true for this ruleset to apply

createdAt DateTime

Identifies the date and time when the object was created.

databaseId Int

Identifies the primary key from the database.

enforcement RuleEnforcement

The enforcement level of this ruleset

id ID

The Node ID of the RepositoryRuleset object

name String

Name of the ruleset.

List of rules.

source RuleSource

Source of ruleset.

Target of the ruleset.

updatedAt DateTime

Identifies the date and time when the object was last updated.

API:
Github GraphQL API

Returns a single ruleset from the current repository by ID.

rulesets RepositoryRulesetConnection

RepositoryRulesetConnection [object]

The connection type for RepositoryRuleset.

Attributes

A list of edges.

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of rulesets for this repository.

securityPolicyUrl URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The security policy URL.

shortDescriptionHTML HTML

HTML [scalar]

A string containing HTML code.

API:
Github GraphQL API

A description of the repository, rendered to HTML without any links in it.

squashMergeAllowed Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether or not squash-merging is enabled on this repository.

squashMergeCommitMessage SquashMergeCommitMessage

SquashMergeCommitMessage [enum]

The possible default commit messages for squash merges.

Possible values
BLANK

Default to a blank commit message.

COMMIT_MESSAGES

Default to the branch's commit messages.

PR_BODY

Default to the pull request's body.

API:
Github GraphQL API

How the default commit message will be generated when squash merging a pull request.

squashMergeCommitTitle SquashMergeCommitTitle

SquashMergeCommitTitle [enum]

The possible default commit titles for squash merges.

Possible values
COMMIT_OR_PR_TITLE

Default to the commit's title (if only one commit) or the pull request's title (when more than one commit).

PR_TITLE

Default to the pull request's title.

API:
Github GraphQL API

How the default commit title will be generated when squash merging a pull request.

squashPrTitleUsedAsDefault Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether a squash merge commit can use the pull request title as default.

Deprecated: `squashPrTitleUsedAsDefault` will be removed. Use `Repository.squashMergeCommitTitle` instead. Removal on 2023-04-01 UTC.
sshUrl GitSSHRemote

GitSSHRemote [scalar]

Git SSH string

API:
Github GraphQL API

The SSH URL to clone this repository

stargazerCount Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

Returns a count of how many stargazers there are on this object

stargazers StargazerConnection

StargazerConnection [object]

The connection type for User.

Attributes
edges StargazerEdge []

A list of edges.

nodes User []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of users who have starred this starrable.

submodules SubmoduleConnection

SubmoduleConnection [object]

The connection type for Submodule.

Attributes
edges SubmoduleEdge []

A list of edges.

nodes Submodule []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

Returns a list of all submodules in this repository parsed from the
.gitmodules file as of the default branch's HEAD commit.

tempCloneToken String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

Temporary authentication token for cloning this repository.

templateRepository Repository

Repository [object]

A repository contains the content for a project.

Implements
NodePackageOwnerProjectOwnerProjectV2RecentRepositoryInfoStarrableSubscribableUniformResourceLocatable
Attributes
allowUpdateBranch Boolean

Whether or not a pull request head branch that is behind its base branch can
always be updated even if it is not required to be up to date before merging.

archivedAt DateTime

Identifies the date and time when the repository was archived.

assignableUsers UserConnection

A list of users that can be assigned to issues in this repository.

autoMergeAllowed Boolean

Whether or not Auto-merge can be enabled on pull requests in this repository.

branchProtectionRules BranchProtectionRuleConnection

A list of branch protection rules for this repository.

codeOfConduct CodeOfConduct

Returns the code of conduct for this repository

Information extracted from the repository's CODEOWNERS file.

A list of collaborators associated with the repository.

commitComments CommitCommentConnection

A list of commit comments associated with the repository.

contactLinks RepositoryContactLink []

Returns a list of contact links associated to the repository

contributingGuidelines ContributingGuidelines

Returns the contributing guidelines for this repository.

createdAt DateTime

Identifies the date and time when the object was created.

databaseId Int

Identifies the primary key from the database.

defaultBranchRef Ref

The Ref associated with the repository's default branch.

deleteBranchOnMerge Boolean

Whether or not branches are automatically deleted when merged in this repository.

dependencyGraphManifests DependencyGraphManifestConnection

A list of dependency manifests contained in the repository

deployKeys DeployKeyConnection

A list of deploy keys that are on this repository.

deployments DeploymentConnection

Deployments associated with the repository

description String

The description of the repository.

descriptionHTML HTML

The description of the repository rendered to HTML.

discussion Discussion

Returns a single discussion from the current repository by number.

discussionCategories DiscussionCategoryConnection

A list of discussion categories that are available in the repository.

discussionCategory DiscussionCategory

A discussion category by slug.

discussions DiscussionConnection

A list of discussions that have been opened in the repository.

diskUsage Int

The number of kilobytes this repository occupies on disk.

environment Environment

Returns a single active environment from the current repository by name.

environments EnvironmentConnection

A list of environments that are in this repository.

forkCount Int

Returns how many forks there are of this repository in the whole network.

forkingAllowed Boolean

Whether this repository allows forks.

A list of direct forked repositories.

fundingLinks FundingLink []

The funding links for this repository

hasDiscussionsEnabled Boolean

Indicates if the repository has the Discussions feature enabled.

hasIssuesEnabled Boolean

Indicates if the repository has issues feature enabled.

hasProjectsEnabled Boolean

Indicates if the repository has the Projects feature enabled.

hasSponsorshipsEnabled Boolean

Indicates if the repository displays a Sponsor button for financial contributions.

hasVulnerabilityAlertsEnabled Boolean

Whether vulnerability alerts are enabled for the repository.

hasWikiEnabled Boolean

Indicates if the repository has wiki feature enabled.

homepageUrl URI

The repository's URL.

id ID

The Node ID of the Repository object

interactionAbility RepositoryInteractionAbility

The interaction ability settings for this repository.

isArchived Boolean

Indicates if the repository is unmaintained.

isBlankIssuesEnabled Boolean

Returns true if blank issue creation is allowed

isDisabled Boolean

Returns whether or not this repository disabled.

isEmpty Boolean

Returns whether or not this repository is empty.

isFork Boolean

Identifies if the repository is a fork.

isInOrganization Boolean

Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

isLocked Boolean

Indicates if the repository has been locked or not.

isMirror Boolean

Identifies if the repository is a mirror.

isPrivate Boolean

Identifies if the repository is private or internal.

isSecurityPolicyEnabled Boolean

Returns true if this repository has a security policy

isTemplate Boolean

Identifies if the repository is a template that can be used to generate new repositories.

isUserConfigurationRepository Boolean

Is this repository a user configuration repository?

issue Issue

Returns a single issue from the current repository by number.

issueOrPullRequest IssueOrPullRequest

Returns a single issue-like object from the current repository by number.

issueTemplates IssueTemplate []

Returns a list of issue templates associated to the repository

A list of issues that have been opened in the repository.

label Label

Returns a single label by name

A list of labels associated with the repository.

languages LanguageConnection

A list containing a breakdown of the language composition of the repository.

latestRelease Release

Get the latest release for the repository if one exists.

licenseInfo License

The license associated with the repository

The reason the repository has been locked.

mentionableUsers UserConnection

A list of Users that can be mentioned in the context of the repository.

mergeCommitAllowed Boolean

Whether or not PRs are merged with a merge commit on this repository.

mergeCommitMessage MergeCommitMessage

How the default commit message will be generated when merging a pull request.

mergeCommitTitle MergeCommitTitle

How the default commit title will be generated when merging a pull request.

mergeQueue MergeQueue

The merge queue for a specified branch, otherwise the default branch if not provided.

milestone Milestone

Returns a single milestone from the current repository by number.

milestones MilestoneConnection

A list of milestones associated with the repository.

mirrorUrl URI

The repository's original mirror URL.

name String

The name of the repository.

nameWithOwner String

The repository's name with owner.

object GitObject

A Git object in the repository

openGraphImageUrl URI

The image used to represent this repository in Open Graph data.

The User owner of the repository.

A list of packages under the owner.

parent Repository

The repository parent, if this is a fork.

pinnedDiscussions PinnedDiscussionConnection

A list of discussions that have been pinned in this repository.

pinnedIssues PinnedIssueConnection

A list of pinned issues for this repository.

primaryLanguage Language

The primary language of the repository's code.

project Project

Find project by number.

projectV2 ProjectV2

Finds and returns the Project according to the provided Project number.

A list of projects under the owner.

projectsResourcePath URI

The HTTP path listing the repository's projects

projectsUrl URI

The HTTP URL listing the repository's projects

projectsV2 ProjectV2Connection

List of projects linked to this repository.

pullRequest PullRequest

Returns a single pull request from the current repository by number.

pullRequestTemplates PullRequestTemplate []

Returns a list of pull request templates associated to the repository

pullRequests PullRequestConnection

A list of pull requests that have been opened in the repository.

pushedAt DateTime

Identifies the date and time when the repository was last pushed to.

rebaseMergeAllowed Boolean

Whether or not rebase-merging is enabled on this repository.

recentProjects ProjectV2Connection

Recent projects that this user has modified in the context of the owner.

ref Ref

Fetch a given ref from the repository

Fetch a list of refs from the repository

release Release

Lookup a single release given various criteria.

List of releases which are dependent on this repository.

repositoryTopics RepositoryTopicConnection

A list of applied repository-topic associations for this repository.

resourcePath URI

The HTTP path for this repository

Returns a single ruleset from the current repository by ID.

A list of rulesets for this repository.

securityPolicyUrl URI

The security policy URL.

shortDescriptionHTML HTML

A description of the repository, rendered to HTML without any links in it.

squashMergeAllowed Boolean

Whether or not squash-merging is enabled on this repository.

squashMergeCommitMessage SquashMergeCommitMessage

How the default commit message will be generated when squash merging a pull request.

squashMergeCommitTitle SquashMergeCommitTitle

How the default commit title will be generated when squash merging a pull request.

squashPrTitleUsedAsDefault Boolean

Whether a squash merge commit can use the pull request title as default.

Deprecated: `squashPrTitleUsedAsDefault` will be removed. Use `Repository.squashMergeCommitTitle` instead. Removal on 2023-04-01 UTC.
sshUrl GitSSHRemote

The SSH URL to clone this repository

stargazerCount Int

Returns a count of how many stargazers there are on this object

stargazers StargazerConnection

A list of users who have starred this starrable.

submodules SubmoduleConnection

Returns a list of all submodules in this repository parsed from the
.gitmodules file as of the default branch's HEAD commit.

tempCloneToken String

Temporary authentication token for cloning this repository.

templateRepository Repository

The repository from which this repository was generated, if any.

updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this repository

usesCustomOpenGraphImage Boolean

Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

viewerCanAdminister Boolean

Indicates whether the viewer has admin permissions on this repository.

viewerCanCreateProjects Boolean

Can the current viewer create new projects on this owner.

viewerCanSubscribe Boolean

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdateTopics Boolean

Indicates whether the viewer can update the topics of this repository.

viewerDefaultCommitEmail String

The last commit email for the viewer.

viewerDefaultMergeMethod PullRequestMergeMethod

The last used merge method by the viewer or the default for the repository.

viewerHasStarred Boolean

Returns a boolean indicating whether the viewing user has starred this starrable.

viewerPermission RepositoryPermission

The users permission level on the repository. Will return null if authenticated as an GitHub App.

viewerPossibleCommitEmails String []

A list of emails this viewer can commit with.

viewerSubscription SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

Indicates the repository's visibility level.

vulnerabilityAlert RepositoryVulnerabilityAlert

Returns a single vulnerability alert from the current repository by number.

A list of vulnerability alerts that are on this repository.

watchers UserConnection

A list of users watching the repository.

webCommitSignoffRequired Boolean

Whether contributors are required to sign off on web-based commits in this repository.

API:
Github GraphQL API

The repository from which this repository was generated, if any.

updatedAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

Identifies the date and time when the object was last updated.

url URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The HTTP URL for this repository

usesCustomOpenGraphImage Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

viewerCanAdminister Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates whether the viewer has admin permissions on this repository.

viewerCanCreateProjects Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Can the current viewer create new projects on this owner.

viewerCanSubscribe Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdateTopics Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates whether the viewer can update the topics of this repository.

viewerDefaultCommitEmail String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

The last commit email for the viewer.

viewerDefaultMergeMethod PullRequestMergeMethod

PullRequestMergeMethod [enum]

Represents available types of methods to use when merging a pull request.

Possible values
MERGE

Add all commits from the head branch to the base branch with a merge commit.

REBASE

Add all commits from the head branch onto the base branch individually.

SQUASH

Combine all commits from the head branch into a single commit in the base branch.

API:
Github GraphQL API

The last used merge method by the viewer or the default for the repository.

viewerHasStarred Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Returns a boolean indicating whether the viewing user has starred this starrable.

viewerPermission RepositoryPermission

RepositoryPermission [enum]

The access level to a repository

Possible values
ADMIN

Can read, clone, and push to this repository. Can also manage issues, pull
requests, and repository settings, including adding collaborators

MAINTAIN

Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings

READ

Can read and clone this repository. Can also open and comment on issues and pull requests

TRIAGE

Can read and clone this repository. Can also manage issues and pull requests

WRITE

Can read, clone, and push to this repository. Can also manage issues and pull requests

API:
Github GraphQL API

The users permission level on the repository. Will return null if authenticated as an GitHub App.

viewerPossibleCommitEmails String []

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

A list of emails this viewer can commit with.

viewerSubscription SubscriptionState

SubscriptionState [enum]

The possible states of a subscription.

Possible values
IGNORED

The User is never notified.

SUBSCRIBED

The User is notified of all conversations.

UNSUBSCRIBED

The User is only notified when participating or @mentioned.

API:
Github GraphQL API

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

visibility RepositoryVisibility

RepositoryVisibility [enum]

The repository's visibility level.

Possible values
INTERNAL

The repository is visible only to users in the same business.

PRIVATE

The repository is visible only to those with explicit access.

PUBLIC

The repository is visible to everyone.

API:
Github GraphQL API

Indicates the repository's visibility level.

vulnerabilityAlert RepositoryVulnerabilityAlert

RepositoryVulnerabilityAlert [object]

A Dependabot alert for a repository with a dependency affected by a security vulnerability.

Implements
NodeRepositoryNode
Attributes
autoDismissedAt DateTime

When was the alert auto-dismissed?

createdAt DateTime

When was the alert created?

dependabotUpdate DependabotUpdate

The associated Dependabot update

The scope of an alert's dependency

dismissComment String

Comment explaining the reason the alert was dismissed

dismissReason String

The reason the alert was dismissed

dismissedAt DateTime

When was the alert dismissed?

dismisser User

The user who dismissed the alert

fixedAt DateTime

When was the alert fixed?

id ID

The Node ID of the RepositoryVulnerabilityAlert object

number Int

Identifies the alert number.

repository Repository

The associated repository

securityAdvisory SecurityAdvisory

The associated security advisory

securityVulnerability SecurityVulnerability

The associated security vulnerability

Identifies the state of the alert.

vulnerableManifestFilename String

The vulnerable manifest filename

vulnerableManifestPath String

The vulnerable manifest path

vulnerableRequirements String

The vulnerable requirements

API:
Github GraphQL API

Returns a single vulnerability alert from the current repository by number.

vulnerabilityAlerts RepositoryVulnerabilityAlertConnection

RepositoryVulnerabilityAlertConnection [object]

The connection type for RepositoryVulnerabilityAlert.

Attributes

A list of edges.

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of vulnerability alerts that are on this repository.

watchers UserConnection

UserConnection [object]

A list of users.

Attributes
edges UserEdge []

A list of edges.

nodes User []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of users watching the repository.

webCommitSignoffRequired Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether contributors are required to sign off on web-based commits in this repository.

API:
Github GraphQL API