Github API - Test Config

Commit [object]

Represents a Git commit.

Implements
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
Node

Node [interface]

An object with an ID.

Attributes
id ID

ID of the object.

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
abbreviatedOid 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

An abbreviated version of the Git object ID

additions 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 additions in this commit.

associatedPullRequests 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

The merged Pull Request that introduced the commit to the repository. If the
commit is not present in the default branch, additionally returns open Pull
Requests associated with the commit

author GitActor

GitActor [object]

Represents an actor in a Git commit (ie. an author or committer).

Attributes
avatarUrl URI

A URL pointing to the author's public avatar.

The timestamp of the Git action (authoring or committing).

email String

The email in the Git commit.

name String

The name in the Git commit.

user User

The GitHub user corresponding to the email field. Null if no such user exists.

API:
Github GraphQL API

Authorship details of the commit.

authoredByCommitter Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Check if the committer and the author match.

authoredDate DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

The datetime when this commit was authored.

authors GitActorConnection

GitActorConnection [object]

The connection type for GitActor.

Attributes
edges GitActorEdge []

A list of edges.

nodes GitActor []

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

The list of authors for this commit based on the git author and the Co-authored-by
message trailer. The git author will always be first.

blame Blame

Blame [object]

Represents a Git blame.

Attributes
ranges BlameRange []

The list of ranges from a Git blame.

API:
Github GraphQL API

Fetches git blame information.

changedFiles 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

We recommend using the changedFilesIfAvailable field instead of
changedFiles, as changedFiles will cause your request to return an error
if GitHub is unable to calculate the number of changed files.

Deprecated: `changedFiles` will be removed. Use `changedFilesIfAvailable` instead. Removal on 2023-01-01 UTC.
changedFilesIfAvailable 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 changed files in this commit. If GitHub is unable to calculate
the number of changed files (for example due to a timeout), this will return
null. We recommend using this field instead of changedFiles.

checkSuites CheckSuiteConnection

CheckSuiteConnection [object]

The connection type for CheckSuite.

Attributes
edges CheckSuiteEdge []

A list of edges.

nodes CheckSuite []

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

The check suites associated with a commit.

comments 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

Comments made on the commit.

commitResourcePath 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 Git object

commitUrl 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 Git object

committedDate DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

The datetime when this commit was committed.

committedViaWeb Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Check if committed via GitHub web UI.

committer GitActor

GitActor [object]

Represents an actor in a Git commit (ie. an author or committer).

Attributes
avatarUrl URI

A URL pointing to the author's public avatar.

The timestamp of the Git action (authoring or committing).

email String

The email in the Git commit.

name String

The name in the Git commit.

user User

The GitHub user corresponding to the email field. Null if no such user exists.

API:
Github GraphQL API

Committer details of the commit.

deletions 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 deletions in this commit.

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

The deployments associated with a commit.

file TreeEntry

TreeEntry [object]

Represents a Git tree entry.

Attributes
extension String

The extension of the file

isGenerated Boolean

Whether or not this tree entry is generated

language Language

The programming language this file is written in.

lineCount Int

Number of lines in the file.

mode Int

Entry file mode.

name String

Entry file name.

nameRaw Base64String

Entry file name. (Base64-encoded)

object GitObject

Entry file object.

Entry file Git object ID.

path String

The full path of the file.

pathRaw Base64String

The full path of the file. (Base64-encoded)

repository Repository

The Repository the tree entry belongs to

size Int

Entry byte size

submodule Submodule

If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule

type String

Entry file type.

API:
Github GraphQL API

The tree entry representing the file located at the given path.

history CommitHistoryConnection

CommitHistoryConnection [object]

The connection type for Commit.

Attributes
edges CommitEdge []

A list of edges.

nodes Commit []

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

The linear commit history starting from (and including) this commit, in the same order as git log.

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 Commit object

message 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 Git commit message

messageBody 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 Git commit message body

messageBodyHTML HTML

HTML [scalar]

A string containing HTML code.

API:
Github GraphQL API

The commit message body rendered to HTML.

messageHeadline 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 Git commit message headline

messageHeadlineHTML HTML

HTML [scalar]

A string containing HTML code.

API:
Github GraphQL API

The commit message headline rendered to HTML.

oid GitObjectID

GitObjectID [scalar]

A Git object ID.

API:
Github GraphQL API

The Git object ID

onBehalfOf Organization

Organization [object]

An account on GitHub, with one or more owners, that has repositories, members and teams.

Implements
ActorAnnouncementBannerMemberStatusableNodePackageOwnerProfileOwnerProjectOwnerProjectV2OwnerProjectV2RecentRepositoryDiscussionAuthorRepositoryDiscussionCommentAuthorRepositoryOwnerSponsorableUniformResourceLocatable
Attributes
announcement String

The text of the announcement

announcementExpiresAt DateTime

The expiration date of the announcement, if any

announcementUserDismissible Boolean

Whether the announcement can be dismissed by the user

anyPinnableItems Boolean

Determine if this repository owner has any items that can be pinned to their profile.

archivedAt DateTime

Identifies the date and time when the organization was archived.

Audit log entries of the organization

avatarUrl URI

A URL pointing to the organization's public avatar.

createdAt DateTime

Identifies the date and time when the object was created.

databaseId Int

Identifies the primary key from the database.

description String

The organization's public profile description.

descriptionHTML String

The organization's public profile description rendered to HTML.

A list of domains owned by the organization.

email String

The organization's public email.

A list of owners of the organization's enterprise account.

estimatedNextSponsorsPayoutInCents Int

The estimated next GitHub Sponsors payout for this user/organization in cents (USD).

hasSponsorsListing Boolean

True if this user/organization has a GitHub Sponsors listing.

id ID

The Node ID of the Organization object

interactionAbility RepositoryInteractionAbility

The interaction ability settings for this organization.

ipAllowListEnabledSetting IpAllowListEnabledSettingValue

The setting value for whether the organization has an IP allow list enabled.

ipAllowListEntries IpAllowListEntryConnection

The IP addresses that are allowed to access resources owned by the organization.

ipAllowListForInstalledAppsEnabledSetting IpAllowListForInstalledAppsEnabledSettingValue

The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled.

isSponsoredBy Boolean

Whether the given account is sponsoring this user/organization.

isSponsoringViewer Boolean

True if the viewer is sponsored by this user/organization.

isVerified Boolean

Whether the organization has verified its profile email and website.

itemShowcase ProfileItemShowcase

Showcases a selection of repositories and gists that the profile owner has
either curated or that have been selected automatically based on popularity.

lifetimeReceivedSponsorshipValues SponsorAndLifetimeValueConnection

Calculate how much each sponsor has ever paid total to this maintainer via
GitHub Sponsors. Does not include sponsorships paid via Patreon.

location String

The organization's public profile location.

login String

The organization's login name.

mannequins MannequinConnection

A list of all mannequins for this organization.

memberStatuses UserStatusConnection

Get the status messages members of this entity have set that are either public or visible only to the organization.

membersCanForkPrivateRepositories Boolean

Members can fork private repositories in this organization

A list of users who are members of this organization.

monthlyEstimatedSponsorsIncomeInCents Int

The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).

name String

The organization's public profile name.

newTeamResourcePath URI

The HTTP path creating a new team

newTeamUrl URI

The HTTP URL creating a new team

notificationDeliveryRestrictionEnabledSetting NotificationRestrictionSettingValue

Indicates if email notification delivery for this organization is restricted to verified or approved domains.

organizationBillingEmail String

The billing email for the organization.

A list of packages under the owner.

pendingMembers UserConnection

A list of users who have been invited to join this organization.

pinnableItems PinnableItemConnection

A list of repositories and gists this profile owner can pin to their profile.

A list of repositories and gists this profile owner has pinned to their profile

pinnedItemsRemaining Int

Returns how many more items this profile owner can pin to their profile.

project Project

Find project by number.

projectV2 ProjectV2

Find a project by number.

A list of projects under the owner.

projectsResourcePath URI

The HTTP path listing organization's projects

projectsUrl URI

The HTTP URL listing organization's projects

projectsV2 ProjectV2Connection

A list of projects under the owner.

recentProjects ProjectV2Connection

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

repositories RepositoryConnection

A list of repositories that the user owns.

repository Repository

Find Repository.

repositoryDiscussionComments DiscussionCommentConnection

Discussion comments this user has authored.

repositoryDiscussions DiscussionConnection

Discussions this user has started.

repositoryMigrations RepositoryMigrationConnection

A list of all repository migrations for this organization.

requiresTwoFactorAuthentication Boolean

When true the organization requires all members, billing managers, and outside
collaborators to enable two-factor authentication.

resourcePath URI

The HTTP path for this organization.

Returns a single ruleset from the current organization by ID.

A list of rulesets for this organization.

samlIdentityProvider OrganizationIdentityProvider

The Organization's SAML identity provider. Visible to (1) organization owners,
(2) organization owners' personal access tokens (classic) with read:org or
admin:org scope, (3) GitHub App with an installation token with read or write
access to members.

sponsoring SponsorConnection

List of users and organizations this entity is sponsoring.

List of sponsors for this user or organization.

sponsorsActivities SponsorsActivityConnection

Events involving this sponsorable, such as new sponsorships.

sponsorsListing SponsorsListing

The GitHub Sponsors listing for this user or organization.

sponsorshipForViewerAsSponsor Sponsorship

The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.

sponsorshipForViewerAsSponsorable Sponsorship

The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.

sponsorshipNewsletters SponsorshipNewsletterConnection

List of sponsorship updates sent from this sponsorable to sponsors.

sponsorshipsAsMaintainer SponsorshipConnection

The sponsorships where this user or organization is the maintainer receiving the funds.

sponsorshipsAsSponsor SponsorshipConnection

The sponsorships where this user or organization is the funder.

team Team

Find an organization's team by its slug.

A list of teams in this organization.

teamsResourcePath URI

The HTTP path listing organization's teams

teamsUrl URI

The HTTP URL listing organization's teams

totalSponsorshipAmountAsSponsorInCents Int

The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has
spent on GitHub to fund sponsorships. Only returns a value when viewed by the
user themselves or by a user who can manage sponsorships for the requested organization.

twitterUsername String

The organization's Twitter username.

updatedAt DateTime

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

url URI

The HTTP URL for this organization.

viewerCanAdminister Boolean

Organization is adminable by the viewer.

viewerCanChangePinnedItems Boolean

Can the viewer pin repositories and gists to the profile?

viewerCanCreateProjects Boolean

Can the current viewer create new projects on this owner.

viewerCanCreateRepositories Boolean

Viewer can create repositories on this organization

viewerCanCreateTeams Boolean

Viewer can create teams on this organization.

viewerCanSponsor Boolean

Whether or not the viewer is able to sponsor this user/organization.

viewerIsAMember Boolean

Viewer is an active member of this organization.

viewerIsFollowing Boolean

Whether or not this Organization is followed by the viewer.

viewerIsSponsoring Boolean

True if the viewer is sponsoring this user/organization.

webCommitSignoffRequired Boolean

Whether contributors are required to sign off on web-based commits for repositories in this organization.

websiteUrl URI

The organization's public profile URL.

API:
Github GraphQL API

The organization this commit was made on behalf of.

parents CommitConnection

CommitConnection [object]

The connection type for Commit.

Attributes
edges CommitEdge []

A list of edges.

nodes Commit []

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

The parents of a commit.

pushedDate DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

The datetime when this commit was pushed.

Deprecated: `pushedDate` is no longer supported. Removal on 2023-07-01 UTC.
repository 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 this commit belongs to

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 commit

signature GitSignature

GitSignature [interface]

Information about a signature (GPG or S/MIME) on a Commit or Tag.

Attributes
email String

Email used to sign this object.

isValid Boolean

True if the signature is valid and verified by GitHub.

payload String

Payload for GPG signing object. Raw ODB object without the signature header.

signature String

ASCII-armored signature header from object.

signer User

GitHub user corresponding to the email signing this commit.

The state of this signature. VALID if signature is valid and verified by
GitHub, otherwise represents reason why signature is considered invalid.

wasSignedByGitHub Boolean

True if the signature was made with GitHub's signing key.

API:
Github GraphQL API

Commit signing information, if present.

status Status

Status [object]

Represents a commit status.

Implements
Node
Attributes

A list of status contexts and check runs for this commit.

commit Commit

The commit this status is attached to.

context StatusContext

Looks up an individual status context by context name.

contexts StatusContext []

The individual status contexts for this commit.

id ID

The Node ID of the Status object

state StatusState

The combined commit status.

API:
Github GraphQL API

Status information for this commit

statusCheckRollup StatusCheckRollup

StatusCheckRollup [object]

Represents the rollup for both the check runs and status for a commit.

Implements
Node
Attributes
commit Commit

The commit the status and check runs are attached to.

A list of status contexts and check runs for this commit.

id ID

The Node ID of the StatusCheckRollup object

state StatusState

The combined status for the commit.

API:
Github GraphQL API

Check and Status rollup information for this commit.

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 as of this Commit parsed from the .gitmodules file.

tarballUrl URI

URI [scalar]

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

API:
Github GraphQL API

Returns a URL to download a tarball archive for a repository.
Note: For private repositories, these links are temporary and expire after five minutes.

tree Tree

Tree [object]

Represents a Git tree.

Implements
GitObjectNode
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

entries TreeEntry []

A list of tree entries.

id ID

The Node ID of the Tree object

The Git object ID

repository Repository

The Repository the Git object belongs to

API:
Github GraphQL API

Commit's root Tree

treeResourcePath URI

URI [scalar]

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

API:
Github GraphQL API

The HTTP path for the tree of this commit

treeUrl URI

URI [scalar]

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

API:
Github GraphQL API

The HTTP URL for the tree of this commit

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 commit

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.

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.

zipballUrl URI

URI [scalar]

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

API:
Github GraphQL API

Returns a URL to download a zipball archive for a repository.
Note: For private repositories, these links are temporary and expire after five minutes.

API:
Github GraphQL API