Skip to main content

Objects in GraphQL represent the resources you can access.

In this article

About objects

Objects in GraphQL represent the resources you can access. An object can contain a list of fields, which are specifically typed.

For example, the Repository object has a field called name, which is a String.

For more information, see Introduction to GraphQL.

ActorLocation

Location information for an actor.

Fields for ActorLocation

NameDescription

city (String)

City.

country (String)

Country name.

countryCode (String)

Country code.

region (String)

Region name.

regionCode (String)

Region or state code.

AddedToMergeQueueEvent

Represents anadded_to_merge_queueevent on a given pull request.

AddedToMergeQueueEvent Implements

Fields for AddedToMergeQueueEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

enqueuer (User)

The user who added this Pull Request to the merge queue.

id (ID!)

The Node ID of the AddedToMergeQueueEvent object.

mergeQueue (MergeQueue)

The merge queue where this pull request was added to.

pullRequest (PullRequest)

PullRequest referenced by event.

AddedToProjectEvent

Represents aadded_to_projectevent on a given issue or pull request.

AddedToProjectEvent Implements

Fields for AddedToProjectEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the AddedToProjectEvent object.

project (Project)

Project referenced by event.

projectCard (ProjectCard)

Project card referenced by this project event.

projectColumnName (String!)

Column name referenced by this project event.

App

A GitHub App.

App Implements

Fields for App

NameDescription

clientId (String)

The client ID of the app.

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 app.

id (ID!)

The Node ID of the App object.

ipAllowListEntries (IpAllowListEntryConnection!)

The IP addresses of the app.

Arguments for ipAllowListEntries

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

logoBackgroundColor (String!)

The hex color code, without the leading '#', for the logo background.

logoUrl (URI!)

A URL pointing to the app's logo.

Arguments for logoUrl

  • size (Int)

    The size of the resulting image.

name (String!)

The name of the app.

slug (String!)

A slug based on the name of the app for use in URLs.

updatedAt (DateTime!)

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

url (URI!)

The URL to the app's homepage.

AssignedEvent

Represents anassignedevent on any assignable object.

AssignedEvent Implements

Fields for AssignedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

assignable (Assignable!)

Identifies the assignable associated with the event.

assignee (Assignee)

Identifies the user or mannequin that was assigned.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the AssignedEvent object.

user (User)

Identifies the user who was assigned.

Warning

user is deprecated.

Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

AutoMergeDisabledEvent

Represents aauto_merge_disabledevent on a given pull request.

AutoMergeDisabledEvent Implements

Fields for AutoMergeDisabledEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

disabler (User)

The user who disabled auto-merge for this Pull Request.

id (ID!)

The Node ID of the AutoMergeDisabledEvent object.

pullRequest (PullRequest)

PullRequest referenced by event.

reason (String)

The reason auto-merge was disabled.

reasonCode (String)

The reason_code relating to why auto-merge was disabled.

AutoMergeEnabledEvent

Represents aauto_merge_enabledevent on a given pull request.

AutoMergeEnabledEvent Implements

Fields for AutoMergeEnabledEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

enabler (User)

The user who enabled auto-merge for this Pull Request.

id (ID!)

The Node ID of the AutoMergeEnabledEvent object.

pullRequest (PullRequest)

PullRequest referenced by event.

AutoMergeRequest

Represents an auto-merge request for a pull request.

Fields for AutoMergeRequest

NameDescription

authorEmail (String)

The email address of the author of this auto-merge request.

commitBody (String)

The commit message of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging.

commitHeadline (String)

The commit title of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging.

enabledAt (DateTime)

When was this auto-merge request was enabled.

enabledBy (Actor)

The actor who created the auto-merge request.

mergeMethod (PullRequestMergeMethod!)

The merge method of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging.

pullRequest (PullRequest!)

The pull request that this auto-merge request is set against.

AutoRebaseEnabledEvent

Represents aauto_rebase_enabledevent on a given pull request.

AutoRebaseEnabledEvent Implements

Fields for AutoRebaseEnabledEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

enabler (User)

The user who enabled auto-merge (rebase) for this Pull Request.

id (ID!)

The Node ID of the AutoRebaseEnabledEvent object.

pullRequest (PullRequest)

PullRequest referenced by event.

AutoSquashEnabledEvent

Represents aauto_squash_enabledevent on a given pull request.

AutoSquashEnabledEvent Implements

Fields for AutoSquashEnabledEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

enabler (User)

The user who enabled auto-merge (squash) for this Pull Request.

id (ID!)

The Node ID of the AutoSquashEnabledEvent object.

pullRequest (PullRequest)

PullRequest referenced by event.

AutomaticBaseChangeFailedEvent

Represents aautomatic_base_change_failedevent on a given pull request.

AutomaticBaseChangeFailedEvent Implements

Fields for AutomaticBaseChangeFailedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the AutomaticBaseChangeFailedEvent object.

newBase (String!)

The new base for this PR.

oldBase (String!)

The old base for this PR.

pullRequest (PullRequest!)

PullRequest referenced by event.

AutomaticBaseChangeSucceededEvent

Represents aautomatic_base_change_succeededevent on a given pull request.

AutomaticBaseChangeSucceededEvent Implements

Fields for AutomaticBaseChangeSucceededEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the AutomaticBaseChangeSucceededEvent object.

newBase (String!)

The new base for this PR.

oldBase (String!)

The old base for this PR.

pullRequest (PullRequest!)

PullRequest referenced by event.

BaseRefChangedEvent

Represents abase_ref_changedevent on a given issue or pull request.

BaseRefChangedEvent Implements

Fields for BaseRefChangedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

currentRefName (String!)

Identifies the name of the base ref for the pull request after it was changed.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the BaseRefChangedEvent object.

previousRefName (String!)

Identifies the name of the base ref for the pull request before it was changed.

pullRequest (PullRequest!)

PullRequest referenced by event.

BaseRefDeletedEvent

Represents abase_ref_deletedevent on a given pull request.

BaseRefDeletedEvent Implements

Fields for BaseRefDeletedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

baseRefName (String)

Identifies the name of the Ref associated with the base_ref_deleted event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the BaseRefDeletedEvent object.

pullRequest (PullRequest)

PullRequest referenced by event.

BaseRefForcePushedEvent

Represents abase_ref_force_pushedevent on a given pull request.

BaseRefForcePushedEvent Implements

Fields for BaseRefForcePushedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

afterCommit (Commit)

Identifies the after commit SHA for thebase_ref_force_pushedevent.

beforeCommit (Commit)

Identifies the before commit SHA for thebase_ref_force_pushedevent.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the BaseRefForcePushedEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

ref (Ref)

Identifies the fully qualified ref name for thebase_ref_force_pushedevent.

Blame

Represents a Git blame.

Fields for Blame

NameDescription

ranges ([BlameRange!]!)

The list of ranges from a Git blame.

BlameRange

Represents a range of information from a Git blame.

Fields for BlameRange

NameDescription

age (Int!)

Identifies the recency of the change, from 1 (new) to 10 (old). This is calculated as a 2-quantile and determines the length of distance between the median age of all the changes in the file and the recency of the current range's change.

commit (Commit!)

Identifies the line author.

endingLine (Int!)

The ending line for the range.

startingLine (Int!)

The starting line for the range.

Blob

Represents a Git blob.

Blob Implements

Fields for Blob

NameDescription

abbreviatedOid (String!)

An abbreviated version of the Git object ID.

byteSize (Int!)

Byte size of Blob object.

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 Blob object.

isBinary (Boolean)

Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding.

isTruncated (Boolean!)

Indicates whether the contents is truncated.

oid (GitObjectID!)

The Git object ID.

repository (Repository!)

The Repository the Git object belongs to.

text (String)

UTF8 text data or null if the Blob is binary.

Bot

A special type of user which takes actions on behalf of GitHub Apps.

Bot Implements

Fields for Bot

NameDescription

avatarUrl (URI!)

A URL pointing to the GitHub App's public avatar.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the Bot object.

login (String!)

The username of the actor.

resourcePath (URI!)

The HTTP path for this bot.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this bot.

BranchNamePatternParameters

Parameters to be used for the branch_name_pattern rule.

Fields for BranchNamePatternParameters

NameDescription

name (String)

How this rule will appear to users.

negate (Boolean!)

If true, the rule will fail if the pattern matches.

operator (String!)

The operator to use for matching.

pattern (String!)

The pattern to match with.

BranchProtectionRule

A branch protection rule.

BranchProtectionRule Implements

Fields for BranchProtectionRule

NameDescription

allowsDeletions (Boolean!)

Can this branch be deleted.

allowsForcePushes (Boolean!)

Are force pushes allowed on this branch.

blocksCreations (Boolean!)

Is branch creation a protected operation.

branchProtectionRuleConflicts (BranchProtectionRuleConflictConnection!)

A list of conflicts matching branches protection rule and other branch protection rules.

Arguments for branchProtectionRuleConflicts

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

bypassForcePushAllowances (BypassForcePushAllowanceConnection!)

A list of actors able to force push for this branch protection rule.

Arguments for bypassForcePushAllowances

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

bypassPullRequestAllowances (BypassPullRequestAllowanceConnection!)

A list of actors able to bypass PRs for this branch protection rule.

Arguments for bypassPullRequestAllowances

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

creator (Actor)

The actor who created this branch protection rule.

databaseId (Int)

Identifies the primary key from the database.

dismissesStaleReviews (Boolean!)

Will new commits pushed to matching branches dismiss pull request review approvals.

id (ID!)

The Node ID of the BranchProtectionRule object.

isAdminEnforced (Boolean!)

Can admins override branch protection.

lockAllowsFetchAndMerge (Boolean!)

Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to false to prevent fork syncing.

lockBranch (Boolean!)

Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.

matchingRefs (RefConnection!)

Repository refs that are protected by this rule.

Arguments for matchingRefs

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    Filters refs with query on name.

pattern (String!)

Identifies the protection rule pattern.

pushAllowances (PushAllowanceConnection!)

A list push allowances for this branch protection rule.

Arguments for pushAllowances

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repository (Repository)

The repository associated with this branch protection rule.

requireLastPushApproval (Boolean!)

Whether the most recent push must be approved by someone other than the person who pushed it.

requiredApprovingReviewCount (Int)

Number of approving reviews required to update matching branches.

requiredDeploymentEnvironments ([String])

List of required deployment environments that must be deployed successfully to update matching branches.

requiredStatusCheckContexts ([String])

List of required status check contexts that must pass for commits to be accepted to matching branches.

requiredStatusChecks ([RequiredStatusCheckDescription!])

List of required status checks that must pass for commits to be accepted to matching branches.

requiresApprovingReviews (Boolean!)

Are approving reviews required to update matching branches.

requiresCodeOwnerReviews (Boolean!)

Are reviews from code owners required to update matching branches.

requiresCommitSignatures (Boolean!)

Are commits required to be signed.

requiresConversationResolution (Boolean!)

Are conversations required to be resolved before merging.

requiresDeployments (Boolean!)

Does this branch require deployment to specific environments before merging.

requiresLinearHistory (Boolean!)

Are merge commits prohibited from being pushed to this branch.

requiresStatusChecks (Boolean!)

Are status checks required to update matching branches.

requiresStrictStatusChecks (Boolean!)

Are branches required to be up to date before merging.

restrictsPushes (Boolean!)

Is pushing to matching branches restricted.

restrictsReviewDismissals (Boolean!)

Is dismissal of pull request reviews restricted.

reviewDismissalAllowances (ReviewDismissalAllowanceConnection!)

A list review dismissal allowances for this branch protection rule.

Arguments for reviewDismissalAllowances

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

BranchProtectionRuleConflict

A conflict between two branch protection rules.

Fields for BranchProtectionRuleConflict

NameDescription

branchProtectionRule (BranchProtectionRule)

Identifies the branch protection rule.

conflictingBranchProtectionRule (BranchProtectionRule)

Identifies the conflicting branch protection rule.

ref (Ref)

Identifies the branch ref that has conflicting rules.

BranchProtectionRuleConflictConnection

The connection type for BranchProtectionRuleConflict.

Fields for BranchProtectionRuleConflictConnection

NameDescription

edges ([BranchProtectionRuleConflictEdge])

A list of edges.

nodes ([BranchProtectionRuleConflict])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

BranchProtectionRuleConflictEdge

An edge in a connection.

Fields for BranchProtectionRuleConflictEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (BranchProtectionRuleConflict)

The item at the end of the edge.

BranchProtectionRuleConnection

The connection type for BranchProtectionRule.

Fields for BranchProtectionRuleConnection

NameDescription

edges ([BranchProtectionRuleEdge])

A list of edges.

nodes ([BranchProtectionRule])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

BranchProtectionRuleEdge

An edge in a connection.

Fields for BranchProtectionRuleEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (BranchProtectionRule)

The item at the end of the edge.

BypassForcePushAllowance

A user, team, or app who has the ability to bypass a force push requirement on a protected branch.

BypassForcePushAllowance Implements

Fields for BypassForcePushAllowance

NameDescription

actor (BranchActorAllowanceActor)

The actor that can force push.

branchProtectionRule (BranchProtectionRule)

Identifies the branch protection rule associated with the allowed user, team, or app.

id (ID!)

The Node ID of the BypassForcePushAllowance object.

BypassForcePushAllowanceConnection

The connection type for BypassForcePushAllowance.

Fields for BypassForcePushAllowanceConnection

NameDescription

edges ([BypassForcePushAllowanceEdge])

A list of edges.

nodes ([BypassForcePushAllowance])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

BypassForcePushAllowanceEdge

An edge in a connection.

Fields for BypassForcePushAllowanceEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (BypassForcePushAllowance)

The item at the end of the edge.

BypassPullRequestAllowance

A user, team, or app who has the ability to bypass a pull request requirement on a protected branch.

BypassPullRequestAllowance Implements

Fields for BypassPullRequestAllowance

NameDescription

actor (BranchActorAllowanceActor)

The actor that can bypass.

branchProtectionRule (BranchProtectionRule)

Identifies the branch protection rule associated with the allowed user, team, or app.

id (ID!)

The Node ID of the BypassPullRequestAllowance object.

BypassPullRequestAllowanceConnection

The connection type for BypassPullRequestAllowance.

Fields for BypassPullRequestAllowanceConnection

NameDescription

edges ([BypassPullRequestAllowanceEdge])

A list of edges.

nodes ([BypassPullRequestAllowance])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

BypassPullRequestAllowanceEdge

An edge in a connection.

Fields for BypassPullRequestAllowanceEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (BypassPullRequestAllowance)

The item at the end of the edge.

CVSS

The Common Vulnerability Scoring System.

Fields for CVSS

NameDescription

score (Float!)

The CVSS score associated with this advisory.

vectorString (String)

The CVSS vector string associated with this advisory.

CWE

A common weakness enumeration.

CWE Implements

Fields for CWE

NameDescription

cweId (String!)

The id of the CWE.

description (String!)

A detailed description of this CWE.

id (ID!)

The Node ID of the CWE object.

name (String!)

The name of this CWE.

CWEConnection

The connection type for CWE.

Fields for CWEConnection

NameDescription

edges ([CWEEdge])

A list of edges.

nodes ([CWE])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CWEEdge

An edge in a connection.

Fields for CWEEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CWE)

The item at the end of the edge.

CheckAnnotation

A single check annotation.

Fields for CheckAnnotation

NameDescription

annotationLevel (CheckAnnotationLevel)

The annotation's severity level.

blobUrl (URI!)

The path to the file that this annotation was made on.

databaseId (Int)

Identifies the primary key from the database.

location (CheckAnnotationSpan!)

The position of this annotation.

message (String!)

The annotation's message.

path (String!)

The path that this annotation was made on.

rawDetails (String)

Additional information about the annotation.

title (String)

The annotation's title.

CheckAnnotationConnection

The connection type for CheckAnnotation.

Fields for CheckAnnotationConnection

NameDescription

edges ([CheckAnnotationEdge])

A list of edges.

nodes ([CheckAnnotation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CheckAnnotationEdge

An edge in a connection.

Fields for CheckAnnotationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CheckAnnotation)

The item at the end of the edge.

CheckAnnotationPosition

A character position in a check annotation.

Fields for CheckAnnotationPosition

NameDescription

column (Int)

Column number (1 indexed).

line (Int!)

Line number (1 indexed).

CheckAnnotationSpan

An inclusive pair of positions for a check annotation.

Fields for CheckAnnotationSpan

NameDescription

end (CheckAnnotationPosition!)

End position (inclusive).

start (CheckAnnotationPosition!)

Start position (inclusive).

CheckRun

A check run.

CheckRun Implements

Fields for CheckRun

NameDescription

annotations (CheckAnnotationConnection)

The check run's annotations.

Arguments for annotations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

checkSuite (CheckSuite!)

The check suite that this run is a part of.

completedAt (DateTime)

Identifies the date and time when the check run was completed.

conclusion (CheckConclusionState)

The conclusion of the check run.

databaseId (Int)

Identifies the primary key from the database.

deployment (Deployment)

The corresponding deployment for this job, if any.

detailsUrl (URI)

The URL from which to find full details of the check run on the integrator's site.

externalId (String)

A reference for the check run on the integrator's system.

id (ID!)

The Node ID of the CheckRun object.

isRequired (Boolean!)

Whether this is required to pass before merging for a specific pull request.

Arguments for isRequired

  • pullRequestId (ID)

    The id of the pull request this is required for.

  • pullRequestNumber (Int)

    The number of the pull request this is required for.

name (String!)

The name of the check for this check run.

pendingDeploymentRequest (DeploymentRequest)

Information about a pending deployment, if any, in this check run.

permalink (URI!)

The permalink to the check run summary.

repository (Repository!)

The repository associated with this check run.

resourcePath (URI!)

The HTTP path for this check run.

startedAt (DateTime)

Identifies the date and time when the check run was started.

status (CheckStatusState!)

The current status of the check run.

steps (CheckStepConnection)

The check run's steps.

Arguments for steps

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • number (Int)

    Step number.

summary (String)

A string representing the check run's summary.

text (String)

A string representing the check run's text.

title (String)

A string representing the check run.

url (URI!)

The HTTP URL for this check run.

CheckRunConnection

The connection type for CheckRun.

Fields for CheckRunConnection

NameDescription

edges ([CheckRunEdge])

A list of edges.

nodes ([CheckRun])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CheckRunEdge

An edge in a connection.

Fields for CheckRunEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CheckRun)

The item at the end of the edge.

CheckRunStateCount

Represents a count of the state of a check run.

Fields for CheckRunStateCount

NameDescription

count (Int!)

The number of check runs with this state.

state (CheckRunState!)

The state of a check run.

CheckStep

A single check step.

Fields for CheckStep

NameDescription

completedAt (DateTime)

Identifies the date and time when the check step was completed.

conclusion (CheckConclusionState)

The conclusion of the check step.

externalId (String)

A reference for the check step on the integrator's system.

name (String!)

The step's name.

number (Int!)

The index of the step in the list of steps of the parent check run.

secondsToCompletion (Int)

Number of seconds to completion.

startedAt (DateTime)

Identifies the date and time when the check step was started.

status (CheckStatusState!)

The current status of the check step.

CheckStepConnection

The connection type for CheckStep.

Fields for CheckStepConnection

NameDescription

edges ([CheckStepEdge])

A list of edges.

nodes ([CheckStep])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CheckStepEdge

An edge in a connection.

Fields for CheckStepEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CheckStep)

The item at the end of the edge.

CheckSuite

A check suite.

CheckSuite Implements

Fields for CheckSuite

NameDescription

app (App)

The GitHub App which created this check suite.

branch (Ref)

The name of the branch for this check suite.

checkRuns (CheckRunConnection)

The check runs associated with a check suite.

Arguments for checkRuns

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

commit (Commit!)

The commit for this check suite.

conclusion (CheckConclusionState)

The conclusion of this check suite.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (User)

The user who triggered the check suite.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the CheckSuite object.

matchingPullRequests (PullRequestConnection)

A list of open pull requests matching the check suite.

Arguments for matchingPullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

push (Push)

The push that triggered this check suite.

repository (Repository!)

The repository associated with this check suite.

resourcePath (URI!)

The HTTP path for this check suite.

status (CheckStatusState!)

The status of this check suite.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this check suite.

workflowRun (WorkflowRun)

The workflow run associated with this check suite.

CheckSuiteConnection

The connection type for CheckSuite.

Fields for CheckSuiteConnection

NameDescription

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.

CheckSuiteEdge

An edge in a connection.

Fields for CheckSuiteEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CheckSuite)

The item at the end of the edge.

ClosedEvent

Represents aclosedevent on any Closable.

ClosedEvent Implements

Fields for ClosedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

closable (Closable!)

Object that was closed.

closer (Closer)

Object which triggered the creation of this event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ClosedEvent object.

resourcePath (URI!)

The HTTP path for this closed event.

stateReason (IssueStateReason)

The reason the issue state was changed to closed.

url (URI!)

The HTTP URL for this closed event.

CodeOfConduct

The Code of Conduct for a repository.

CodeOfConduct Implements

Fields for CodeOfConduct

NameDescription

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.

CodeScanningParameters

Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated.

Fields for CodeScanningParameters

NameDescription

codeScanningTools ([CodeScanningTool!]!)

Tools that must provide code scanning results for this rule to pass.

CodeScanningTool

A tool that must provide code scanning results for this rule to pass.

Fields for CodeScanningTool

NameDescription

alertsThreshold (String!)

The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see "About code scanning alerts.".

securityAlertsThreshold (String!)

The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see "About code scanning alerts.".

tool (String!)

The name of a code scanning tool.

CommentDeletedEvent

Represents acomment_deletedevent on a given issue or pull request.

CommentDeletedEvent Implements

Fields for CommentDeletedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

deletedCommentAuthor (Actor)

The user who authored the deleted comment.

id (ID!)

The Node ID of the CommentDeletedEvent object.

Commit

Represents a Git commit.

Commit Implements

Fields for Commit

NameDescription

abbreviatedOid (String!)

An abbreviated version of the Git object ID.

additions (Int!)

The number of additions in this commit.

associatedPullRequests (PullRequestConnection)

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.

Arguments for associatedPullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

author (GitActor)

Authorship details of the commit.

authoredByCommitter (Boolean!)

Check if the committer and the author match.

authoredDate (DateTime!)

The datetime when this commit was authored.

authors (GitActorConnection!)

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.

Arguments for authors

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

blame (Blame!)

Fetches git blame information.

Arguments for blame

  • path (String!)

    The file whose Git blame information you want.

changedFiles (Int!)

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.

Warning

changedFiles is deprecated.

changedFiles will be removed. Use changedFilesIfAvailable instead. Removal on 2023-01-01 UTC.

changedFilesIfAvailable (Int)

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)

The check suites associated with a commit.

Arguments for checkSuites

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

comments (CommitCommentConnection!)

Comments made on the commit.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

commitResourcePath (URI!)

The HTTP path for this Git object.

commitUrl (URI!)

The HTTP URL for this Git object.

committedDate (DateTime!)

The datetime when this commit was committed.

committedViaWeb (Boolean!)

Check if committed via GitHub web UI.

committer (GitActor)

Committer details of the commit.

deletions (Int!)

The number of deletions in this commit.

deployments (DeploymentConnection)

The deployments associated with a commit.

Arguments for deployments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • environments ([String!])

    Environments to list deployments for.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DeploymentOrder)

    Ordering options for deployments returned from the connection.

file (TreeEntry)

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

Arguments for file

  • path (String!)

    The path for the file.

history (CommitHistoryConnection!)

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

Arguments for history

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • author (CommitAuthor)

    If non-null, filters history to only show commits with matching authorship.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • path (String)

    If non-null, filters history to only show commits touching files under this path.

  • since (GitTimestamp)

    Allows specifying a beginning time or date for fetching commits. Unexpected results may be returned for dates not between 1970-01-01 and 2099-12-13 (inclusive).

  • until (GitTimestamp)

    Allows specifying an ending time or date for fetching commits. Unexpected results may be returned for dates not between 1970-01-01 and 2099-12-13 (inclusive).

id (ID!)

The Node ID of the Commit object.

message (String!)

The Git commit message.

messageBody (String!)

The Git commit message body.

messageBodyHTML (HTML!)

The commit message body rendered to HTML.

messageHeadline (String!)

The Git commit message headline.

messageHeadlineHTML (HTML!)

The commit message headline rendered to HTML.

oid (GitObjectID!)

The Git object ID.

onBehalfOf (Organization)

The organization this commit was made on behalf of.

parents (CommitConnection!)

The parents of a commit.

Arguments for parents

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pushedDate (DateTime)

The datetime when this commit was pushed.

Warning

pushedDate is deprecated.

pushedDate is no longer supported. Removal on 2023-07-01 UTC.

repository (Repository!)

The Repository this commit belongs to.

resourcePath (URI!)

The HTTP path for this commit.

signature (GitSignature)

Commit signing information, if present.

status (Status)

Status information for this commit.

statusCheckRollup (StatusCheckRollup)

Check and Status rollup information for this commit.

submodules (SubmoduleConnection!)

Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file.

Arguments for submodules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

tarballUrl (URI!)

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!)

Commit's root Tree.

treeResourcePath (URI!)

The HTTP path for the tree of this commit.

treeUrl (URI!)

The HTTP URL for the tree of this commit.

url (URI!)

The HTTP URL for this commit.

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.

zipballUrl (URI!)

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

CommitAuthorEmailPatternParameters

Parameters to be used for the commit_author_email_pattern rule.

Fields for CommitAuthorEmailPatternParameters

NameDescription

name (String)

How this rule will appear to users.

negate (Boolean!)

If true, the rule will fail if the pattern matches.

operator (String!)

The operator to use for matching.

pattern (String!)

The pattern to match with.

CommitComment

Represents a comment on a given Commit.

CommitComment Implements

Fields for CommitComment

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

Identifies the comment body.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

commit (Commit)

Identifies the commit associated with the comment, if the commit exists.

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 CommitComment object.

includesCreatedEdit (Boolean!)

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

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

lastEditedAt (DateTime)

The moment the editor made the last edit.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

path (String)

Identifies the file path associated with the comment.

position (Int)

Identifies the line position associated with the comment.

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.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

repository (Repository!)

The repository associated with this node.

resourcePath (URI!)

The HTTP path permalink for this commit comment.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL permalink for this commit comment.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCanReact (Boolean!)

Can user react to this subject.

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.

CommitCommentConnection

The connection type for CommitComment.

Fields for CommitCommentConnection

NameDescription

edges ([CommitCommentEdge])

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.

CommitCommentEdge

An edge in a connection.

Fields for CommitCommentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CommitComment)

The item at the end of the edge.

CommitCommentThread

A thread of comments on a commit.

CommitCommentThread Implements

Fields for CommitCommentThread

NameDescription

comments (CommitCommentConnection!)

The comments that exist in this thread.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

commit (Commit)

The commit the comments were made on.

id (ID!)

The Node ID of the CommitCommentThread object.

path (String)

The file the comments were made on.

position (Int)

The position in the diff for the commit that the comment was made on.

repository (Repository!)

The repository associated with this node.

CommitConnection

The connection type for Commit.

Fields for CommitConnection

NameDescription

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.

CommitContributionsByRepository

This aggregates commits made by a user within one repository.

Fields for CommitContributionsByRepository

NameDescription

contributions (CreatedCommitContributionConnection!)

The commit contributions, each representing a day.

Arguments for contributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repository (Repository!)

The repository in which the commits were made.

resourcePath (URI!)

The HTTP path for the user's commits to the repository in this time range.

url (URI!)

The HTTP URL for the user's commits to the repository in this time range.

CommitEdge

An edge in a connection.

Fields for CommitEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Commit)

The item at the end of the edge.

CommitHistoryConnection

The connection type for Commit.

Fields for CommitHistoryConnection

NameDescription

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.

CommitMessagePatternParameters

Parameters to be used for the commit_message_pattern rule.

Fields for CommitMessagePatternParameters

NameDescription

name (String)

How this rule will appear to users.

negate (Boolean!)

If true, the rule will fail if the pattern matches.

operator (String!)

The operator to use for matching.

pattern (String!)

The pattern to match with.

CommitterEmailPatternParameters

Parameters to be used for the committer_email_pattern rule.

Fields for CommitterEmailPatternParameters

NameDescription

name (String)

How this rule will appear to users.

negate (Boolean!)

If true, the rule will fail if the pattern matches.

operator (String!)

The operator to use for matching.

pattern (String!)

The pattern to match with.

Comparison

Represents a comparison between two commit revisions.

Comparison Implements

Fields for Comparison

NameDescription

aheadBy (Int!)

The number of commits ahead of the base branch.

baseTarget (GitObject!)

The base revision of this comparison.

behindBy (Int!)

The number of commits behind the base branch.

commits (ComparisonCommitConnection!)

The commits which compose this comparison.

Arguments for commits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

headTarget (GitObject!)

The head revision of this comparison.

id (ID!)

The Node ID of the Comparison object.

status (ComparisonStatus!)

The status of this comparison.

ComparisonCommitConnection

The connection type for Commit.

Fields for ComparisonCommitConnection

NameDescription

authorCount (Int!)

The total count of authors and co-authors across all commits.

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.

ConnectedEvent

Represents aconnectedevent on a given issue or pull request.

ConnectedEvent Implements

Fields for ConnectedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ConnectedEvent object.

isCrossRepository (Boolean!)

Reference originated in a different repository.

source (ReferencedSubject!)

Issue or pull request that made the reference.

subject (ReferencedSubject!)

Issue or pull request which was connected.

ContributingGuidelines

The Contributing Guidelines for a repository.

Fields for ContributingGuidelines

NameDescription

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.

ContributionCalendar

A calendar of contributions made on GitHub by a user.

Fields for ContributionCalendar

NameDescription

colors ([String!]!)

A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.

isHalloween (Boolean!)

Determine if the color set was chosen because it's currently Halloween.

months ([ContributionCalendarMonth!]!)

A list of the months of contributions in this calendar.

totalContributions (Int!)

The count of total contributions in the calendar.

weeks ([ContributionCalendarWeek!]!)

A list of the weeks of contributions in this calendar.

ContributionCalendarDay

Represents a single day of contributions on GitHub by a user.

Fields for ContributionCalendarDay

NameDescription

color (String!)

The hex color code that represents how many contributions were made on this day compared to others in the calendar.

contributionCount (Int!)

How many contributions were made by the user on this day.

contributionLevel (ContributionLevel!)

Indication of contributions, relative to other days. Can be used to indicate which color to represent this day on a calendar.

date (Date!)

The day this square represents.

weekday (Int!)

A number representing which day of the week this square represents, e.g., 1 is Monday.

ContributionCalendarMonth

A month of contributions in a user's contribution graph.

Fields for ContributionCalendarMonth

NameDescription

firstDay (Date!)

The date of the first day of this month.

name (String!)

The name of the month.

totalWeeks (Int!)

How many weeks started in this month.

year (Int!)

The year the month occurred in.

ContributionCalendarWeek

A week of contributions in a user's contribution graph.

Fields for ContributionCalendarWeek

NameDescription

contributionDays ([ContributionCalendarDay!]!)

The days of contributions in this week.

firstDay (Date!)

The date of the earliest square in this week.

ContributionsCollection

A contributions collection aggregates contributions such as opened issues and commits created by a user.

Fields for ContributionsCollection

NameDescription

commitContributionsByRepository ([CommitContributionsByRepository!]!)

Commit contributions made by the user, grouped by repository.

Arguments for commitContributionsByRepository

  • maxRepositories (Int)

    How many repositories should be included.

    The default value is 25.

contributionCalendar (ContributionCalendar!)

A calendar of this user's contributions on GitHub.

contributionYears ([Int!]!)

The years the user has been making contributions with the most recent year first.

doesEndInCurrentMonth (Boolean!)

Determine if this collection's time span ends in the current month.

earliestRestrictedContributionDate (Date)

The date of the first restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts.

endedAt (DateTime!)

The ending date and time of this collection.

firstIssueContribution (CreatedIssueOrRestrictedContribution)

The first issue the user opened on GitHub. This will be null if that issue was opened outside the collection's time range and ignoreTimeRange is false. If the issue is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned.

firstPullRequestContribution (CreatedPullRequestOrRestrictedContribution)

The first pull request the user opened on GitHub. This will be null if that pull request was opened outside the collection's time range and ignoreTimeRange is not true. If the pull request is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned.

firstRepositoryContribution (CreatedRepositoryOrRestrictedContribution)

The first repository the user created on GitHub. This will be null if that first repository was created outside the collection's time range and ignoreTimeRange is false. If the repository is not visible, then a RestrictedContribution is returned.

hasActivityInThePast (Boolean!)

Does the user have any more activity in the timeline that occurred prior to the collection's time range?.

hasAnyContributions (Boolean!)

Determine if there are any contributions in this collection.

hasAnyRestrictedContributions (Boolean!)

Determine if the user made any contributions in this time frame whose details are not visible because they were made in a private repository. Can only be true if the user enabled private contribution counts.

isSingleDay (Boolean!)

Whether or not the collector's time span is all within the same day.

issueContributions (CreatedIssueContributionConnection!)

A list of issues the user opened.

Arguments for issueContributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • excludeFirst (Boolean)

    Should the user's first issue ever be excluded from the result.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented issue be excluded from the result.

    The default value is false.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

issueContributionsByRepository ([IssueContributionsByRepository!]!)

Issue contributions made by the user, grouped by repository.

Arguments for issueContributionsByRepository

  • excludeFirst (Boolean)

    Should the user's first issue ever be excluded from the result.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented issue be excluded from the result.

    The default value is false.

  • maxRepositories (Int)

    How many repositories should be included.

    The default value is 25.

joinedGitHubContribution (JoinedGitHubContribution)

When the user signed up for GitHub. This will be null if that sign up date falls outside the collection's time range and ignoreTimeRange is false.

latestRestrictedContributionDate (Date)

The date of the most recent restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts.

mostRecentCollectionWithActivity (ContributionsCollection)

When this collection's time range does not include any activity from the user, use this to get a different collection from an earlier time range that does have activity.

mostRecentCollectionWithoutActivity (ContributionsCollection)

Returns a different contributions collection from an earlier time range than this one that does not have any contributions.

popularIssueContribution (CreatedIssueContribution)

The issue the user opened on GitHub that received the most comments in the specified time frame.

popularPullRequestContribution (CreatedPullRequestContribution)

The pull request the user opened on GitHub that received the most comments in the specified time frame.

pullRequestContributions (CreatedPullRequestContributionConnection!)

Pull request contributions made by the user.

Arguments for pullRequestContributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • excludeFirst (Boolean)

    Should the user's first pull request ever be excluded from the result.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented pull request be excluded from the result.

    The default value is false.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

pullRequestContributionsByRepository ([PullRequestContributionsByRepository!]!)

Pull request contributions made by the user, grouped by repository.

Arguments for pullRequestContributionsByRepository

  • excludeFirst (Boolean)

    Should the user's first pull request ever be excluded from the result.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented pull request be excluded from the result.

    The default value is false.

  • maxRepositories (Int)

    How many repositories should be included.

    The default value is 25.

pullRequestReviewContributions (CreatedPullRequestReviewContributionConnection!)

Pull request review contributions made by the user. Returns the most recently submitted review for each PR reviewed by the user.

Arguments for pullRequestReviewContributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

pullRequestReviewContributionsByRepository ([PullRequestReviewContributionsByRepository!]!)

Pull request review contributions made by the user, grouped by repository.

Arguments for pullRequestReviewContributionsByRepository

  • maxRepositories (Int)

    How many repositories should be included.

    The default value is 25.

repositoryContributions (CreatedRepositoryContributionConnection!)

A list of repositories owned by the user that the user created in this time range.

Arguments for repositoryContributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • excludeFirst (Boolean)

    Should the user's first repository ever be excluded from the result.

    The default value is false.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

restrictedContributionsCount (Int!)

A count of contributions made by the user that the viewer cannot access. Only non-zero when the user has chosen to share their private contribution counts.

startedAt (DateTime!)

The beginning date and time of this collection.

totalCommitContributions (Int!)

How many commits were made by the user in this time span.

totalIssueContributions (Int!)

How many issues the user opened.

Arguments for totalIssueContributions

  • excludeFirst (Boolean)

    Should the user's first issue ever be excluded from this count.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented issue be excluded from this count.

    The default value is false.

totalPullRequestContributions (Int!)

How many pull requests the user opened.

Arguments for totalPullRequestContributions

  • excludeFirst (Boolean)

    Should the user's first pull request ever be excluded from this count.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented pull request be excluded from this count.

    The default value is false.

totalPullRequestReviewContributions (Int!)

How many pull request reviews the user left.

totalRepositoriesWithContributedCommits (Int!)

How many different repositories the user committed to.

totalRepositoriesWithContributedIssues (Int!)

How many different repositories the user opened issues in.

Arguments for totalRepositoriesWithContributedIssues

  • excludeFirst (Boolean)

    Should the user's first issue ever be excluded from this count.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented issue be excluded from this count.

    The default value is false.

totalRepositoriesWithContributedPullRequestReviews (Int!)

How many different repositories the user left pull request reviews in.

totalRepositoriesWithContributedPullRequests (Int!)

How many different repositories the user opened pull requests in.

Arguments for totalRepositoriesWithContributedPullRequests

  • excludeFirst (Boolean)

    Should the user's first pull request ever be excluded from this count.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented pull request be excluded from this count.

    The default value is false.

totalRepositoryContributions (Int!)

How many repositories the user created.

Arguments for totalRepositoryContributions

  • excludeFirst (Boolean)

    Should the user's first repository ever be excluded from this count.

    The default value is false.

user (User!)

The user who made the contributions in this collection.

ConvertToDraftEvent

Represents aconvert_to_draftevent on a given pull request.

ConvertToDraftEvent Implements

Fields for ConvertToDraftEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ConvertToDraftEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

resourcePath (URI!)

The HTTP path for this convert to draft event.

url (URI!)

The HTTP URL for this convert to draft event.

ConvertedNoteToIssueEvent

Represents aconverted_note_to_issueevent on a given issue or pull request.

ConvertedNoteToIssueEvent Implements

Fields for ConvertedNoteToIssueEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ConvertedNoteToIssueEvent object.

project (Project)

Project referenced by event.

projectCard (ProjectCard)

Project card referenced by this project event.

projectColumnName (String!)

Column name referenced by this project event.

ConvertedToDiscussionEvent

Represents aconverted_to_discussionevent on a given issue.

ConvertedToDiscussionEvent Implements

Fields for ConvertedToDiscussionEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

discussion (Discussion)

The discussion that the issue was converted into.

id (ID!)

The Node ID of the ConvertedToDiscussionEvent object.

CopilotEndpoints

Copilot endpoint information.

Fields for CopilotEndpoints

NameDescription

api (String!)

Copilot API endpoint.

originTracker (String!)

Copilot origin tracker endpoint.

proxy (String!)

Copilot proxy endpoint.

telemetry (String!)

Copilot telemetry endpoint.

CreatedCommitContribution

Represents the contribution a user made by committing to a repository.

CreatedCommitContribution Implements

Fields for CreatedCommitContribution

NameDescription

commitCount (Int!)

How many commits were made on this day to this repository by the user.

isRestricted (Boolean!)

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

occurredAt (DateTime!)

When this contribution was made.

repository (Repository!)

The repository the user made a commit in.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedCommitContributionConnection

The connection type for CreatedCommitContribution.

Fields for CreatedCommitContributionConnection

NameDescription

edges ([CreatedCommitContributionEdge])

A list of edges.

nodes ([CreatedCommitContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of commits across days and repositories in the connection.

CreatedCommitContributionEdge

An edge in a connection.

Fields for CreatedCommitContributionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CreatedCommitContribution)

The item at the end of the edge.

CreatedIssueContribution

Represents the contribution a user made on GitHub by opening an issue.

CreatedIssueContribution Implements

Fields for CreatedIssueContribution

NameDescription

isRestricted (Boolean!)

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

issue (Issue!)

The issue that was opened.

occurredAt (DateTime!)

When this contribution was made.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedIssueContributionConnection

The connection type for CreatedIssueContribution.

Fields for CreatedIssueContributionConnection

NameDescription

edges ([CreatedIssueContributionEdge])

A list of edges.

nodes ([CreatedIssueContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CreatedIssueContributionEdge

An edge in a connection.

Fields for CreatedIssueContributionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CreatedIssueContribution)

The item at the end of the edge.

CreatedPullRequestContribution

Represents the contribution a user made on GitHub by opening a pull request.

CreatedPullRequestContribution Implements

Fields for CreatedPullRequestContribution

NameDescription

isRestricted (Boolean!)

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

occurredAt (DateTime!)

When this contribution was made.

pullRequest (PullRequest!)

The pull request that was opened.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedPullRequestContributionConnection

The connection type for CreatedPullRequestContribution.

Fields for CreatedPullRequestContributionConnection

NameDescription

edges ([CreatedPullRequestContributionEdge])

A list of edges.

nodes ([CreatedPullRequestContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CreatedPullRequestContributionEdge

An edge in a connection.

Fields for CreatedPullRequestContributionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CreatedPullRequestContribution)

The item at the end of the edge.

CreatedPullRequestReviewContribution

Represents the contribution a user made by leaving a review on a pull request.

CreatedPullRequestReviewContribution Implements

Fields for CreatedPullRequestReviewContribution

NameDescription

isRestricted (Boolean!)

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

occurredAt (DateTime!)

When this contribution was made.

pullRequest (PullRequest!)

The pull request the user reviewed.

pullRequestReview (PullRequestReview!)

The review the user left on the pull request.

repository (Repository!)

The repository containing the pull request that the user reviewed.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedPullRequestReviewContributionConnection

The connection type for CreatedPullRequestReviewContribution.

Fields for CreatedPullRequestReviewContributionConnection

NameDescription

edges ([CreatedPullRequestReviewContributionEdge])

A list of edges.

nodes ([CreatedPullRequestReviewContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CreatedPullRequestReviewContributionEdge

An edge in a connection.

Fields for CreatedPullRequestReviewContributionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CreatedPullRequestReviewContribution)

The item at the end of the edge.

CreatedRepositoryContribution

Represents the contribution a user made on GitHub by creating a repository.

CreatedRepositoryContribution Implements

Fields for CreatedRepositoryContribution

NameDescription

isRestricted (Boolean!)

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

occurredAt (DateTime!)

When this contribution was made.

repository (Repository!)

The repository that was created.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedRepositoryContributionConnection

The connection type for CreatedRepositoryContribution.

Fields for CreatedRepositoryContributionConnection

NameDescription

edges ([CreatedRepositoryContributionEdge])

A list of edges.

nodes ([CreatedRepositoryContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CreatedRepositoryContributionEdge

An edge in a connection.

Fields for CreatedRepositoryContributionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (CreatedRepositoryContribution)

The item at the end of the edge.

CrossReferencedEvent

Represents a mention made by one issue or pull request to another.

CrossReferencedEvent Implements

Fields for CrossReferencedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the CrossReferencedEvent object.

isCrossRepository (Boolean!)

Reference originated in a different repository.

referencedAt (DateTime!)

Identifies when the reference was made.

resourcePath (URI!)

The HTTP path for this pull request.

source (ReferencedSubject!)

Issue or pull request that made the reference.

target (ReferencedSubject!)

Issue or pull request to which the reference was made.

url (URI!)

The HTTP URL for this pull request.

willCloseTarget (Boolean!)

Checks if the target will be closed when the source is merged.

DemilestonedEvent

Represents ademilestonedevent on a given issue or pull request.

DemilestonedEvent Implements

Fields for DemilestonedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the DemilestonedEvent object.

milestoneTitle (String!)

Identifies the milestone title associated with thedemilestonedevent.

subject (MilestoneItem!)

Object referenced by event.

DependabotUpdate

A Dependabot Update for a dependency in a repository.

DependabotUpdate Implements

Fields for DependabotUpdate

NameDescription

error (DependabotUpdateError)

The error from a dependency update.

pullRequest (PullRequest)

The associated pull request.

repository (Repository!)

The repository associated with this node.

DependabotUpdateError

An error produced from a Dependabot Update.

Fields for DependabotUpdateError

NameDescription

body (String!)

The body of the error.

errorType (String!)

The error code.

title (String!)

The title of the error.

DependencyGraphDependency

A dependency manifest entry.

Fields for DependencyGraphDependency

NameDescription

hasDependencies (Boolean!)

Does the dependency itself have dependencies?.

packageLabel (String!)

The original name of the package, as it appears in the manifest.

Warning

packageLabel is deprecated.

packageLabel will be removed. Use normalized packageName field instead. Removal on 2022-10-01 UTC.

packageManager (String)

The dependency package manager.

packageName (String!)

The name of the package in the canonical form used by the package manager.

repository (Repository)

The repository containing the package.

requirements (String!)

The dependency version requirements.

DependencyGraphDependencyConnection

The connection type for DependencyGraphDependency.

Fields for DependencyGraphDependencyConnection

NameDescription

edges ([DependencyGraphDependencyEdge])

A list of edges.

nodes ([DependencyGraphDependency])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DependencyGraphDependencyEdge

An edge in a connection.

Fields for DependencyGraphDependencyEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DependencyGraphDependency)

The item at the end of the edge.

DependencyGraphManifest

Dependency manifest for a repository.

DependencyGraphManifest Implements

Fields for DependencyGraphManifest

NameDescription

blobPath (String!)

Path to view the manifest file blob.

dependencies (DependencyGraphDependencyConnection)

A list of manifest dependencies.

Arguments for dependencies

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

dependenciesCount (Int)

The number of dependencies listed in the manifest.

exceedsMaxSize (Boolean!)

Is the manifest too big to parse?.

filename (String!)

Fully qualified manifest filename.

id (ID!)

The Node ID of the DependencyGraphManifest object.

parseable (Boolean!)

Were we able to parse the manifest?.

repository (Repository!)

The repository containing the manifest.

DependencyGraphManifestConnection

The connection type for DependencyGraphManifest.

Fields for DependencyGraphManifestConnection

NameDescription

edges ([DependencyGraphManifestEdge])

A list of edges.

nodes ([DependencyGraphManifest])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DependencyGraphManifestEdge

An edge in a connection.

Fields for DependencyGraphManifestEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DependencyGraphManifest)

The item at the end of the edge.

DeployKey

A repository deploy key.

DeployKey Implements

Fields for DeployKey

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the DeployKey object.

key (String!)

The deploy key.

readOnly (Boolean!)

Whether or not the deploy key is read only.

title (String!)

The deploy key title.

verified (Boolean!)

Whether or not the deploy key has been verified.

DeployKeyConnection

The connection type for DeployKey.

Fields for DeployKeyConnection

NameDescription

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.

DeployKeyEdge

An edge in a connection.

Fields for DeployKeyEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DeployKey)

The item at the end of the edge.

DeployedEvent

Represents adeployedevent on a given pull request.

DeployedEvent Implements

Fields for DeployedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

deployment (Deployment!)

The deployment associated with thedeployedevent.

id (ID!)

The Node ID of the DeployedEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

ref (Ref)

The ref associated with thedeployedevent.

Deployment

Represents triggered deployment instance.

Deployment Implements

Fields for Deployment

NameDescription

commit (Commit)

Identifies the commit sha of the deployment.

commitOid (String!)

Identifies the oid of the deployment commit, even if the commit has been deleted.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor!)

Identifies the actor who triggered the deployment.

databaseId (Int)

Identifies the primary key from the database.

description (String)

The deployment description.

environment (String)

The latest environment to which this deployment was made.

id (ID!)

The Node ID of the Deployment object.

latestEnvironment (String)

The latest environment to which this deployment was made.

latestStatus (DeploymentStatus)

The latest status of this deployment.

originalEnvironment (String)

The original environment to which this deployment was made.

payload (String)

Extra information that a deployment system might need.

ref (Ref)

Identifies the Ref of the deployment, if the deployment was created by ref.

repository (Repository!)

Identifies the repository associated with the deployment.

state (DeploymentState)

The current state of the deployment.

statuses (DeploymentStatusConnection)

A list of statuses associated with the deployment.

Arguments for statuses

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

task (String)

The deployment task.

updatedAt (DateTime!)

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

DeploymentConnection

The connection type for Deployment.

Fields for DeploymentConnection

NameDescription

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.

DeploymentEdge

An edge in a connection.

Fields for DeploymentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Deployment)

The item at the end of the edge.

DeploymentEnvironmentChangedEvent

Represents adeployment_environment_changedevent on a given pull request.

DeploymentEnvironmentChangedEvent Implements

Fields for DeploymentEnvironmentChangedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

deploymentStatus (DeploymentStatus!)

The deployment status that updated the deployment environment.

id (ID!)

The Node ID of the DeploymentEnvironmentChangedEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

DeploymentProtectionRule

A protection rule.

Fields for DeploymentProtectionRule

NameDescription

databaseId (Int)

Identifies the primary key from the database.

preventSelfReview (Boolean)

Whether deployments to this environment can be approved by the user who created the deployment.

reviewers (DeploymentReviewerConnection!)

The teams or users that can review the deployment.

Arguments for reviewers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

timeout (Int!)

The timeout in minutes for this protection rule.

type (DeploymentProtectionRuleType!)

The type of protection rule.

DeploymentProtectionRuleConnection

The connection type for DeploymentProtectionRule.

Fields for DeploymentProtectionRuleConnection

NameDescription

edges ([DeploymentProtectionRuleEdge])

A list of edges.

nodes ([DeploymentProtectionRule])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DeploymentProtectionRuleEdge

An edge in a connection.

Fields for DeploymentProtectionRuleEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DeploymentProtectionRule)

The item at the end of the edge.

DeploymentRequest

A request to deploy a workflow run to an environment.

Fields for DeploymentRequest

NameDescription

currentUserCanApprove (Boolean!)

Whether or not the current user can approve the deployment.

environment (Environment!)

The target environment of the deployment.

reviewers (DeploymentReviewerConnection!)

The teams or users that can review the deployment.

Arguments for reviewers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

waitTimer (Int!)

The wait timer in minutes configured in the environment.

waitTimerStartedAt (DateTime)

The wait timer in minutes configured in the environment.

DeploymentRequestConnection

The connection type for DeploymentRequest.

Fields for DeploymentRequestConnection

NameDescription

edges ([DeploymentRequestEdge])

A list of edges.

nodes ([DeploymentRequest])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DeploymentRequestEdge

An edge in a connection.

Fields for DeploymentRequestEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DeploymentRequest)

The item at the end of the edge.

DeploymentReview

A deployment review.

DeploymentReview Implements

Fields for DeploymentReview

NameDescription

comment (String!)

The comment the user left.

databaseId (Int)

Identifies the primary key from the database.

environments (EnvironmentConnection!)

The environments approved or rejected.

Arguments for environments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

id (ID!)

The Node ID of the DeploymentReview object.

state (DeploymentReviewState!)

The decision of the user.

user (User!)

The user that reviewed the deployment.

DeploymentReviewConnection

The connection type for DeploymentReview.

Fields for DeploymentReviewConnection

NameDescription

edges ([DeploymentReviewEdge])

A list of edges.

nodes ([DeploymentReview])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DeploymentReviewEdge

An edge in a connection.

Fields for DeploymentReviewEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DeploymentReview)

The item at the end of the edge.

DeploymentReviewerConnection

The connection type for DeploymentReviewer.

Fields for DeploymentReviewerConnection

NameDescription

edges ([DeploymentReviewerEdge])

A list of edges.

nodes ([DeploymentReviewer])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DeploymentReviewerEdge

An edge in a connection.

Fields for DeploymentReviewerEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DeploymentReviewer)

The item at the end of the edge.

DeploymentStatus

Describes the status of a given deployment attempt.

DeploymentStatus Implements

Fields for DeploymentStatus

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor!)

Identifies the actor who triggered the deployment.

deployment (Deployment!)

Identifies the deployment associated with status.

description (String)

Identifies the description of the deployment.

environment (String)

Identifies the environment of the deployment at the time of this deployment status.

environmentUrl (URI)

Identifies the environment URL of the deployment.

id (ID!)

The Node ID of the DeploymentStatus object.

logUrl (URI)

Identifies the log URL of the deployment.

state (DeploymentStatusState!)

Identifies the current state of the deployment.

updatedAt (DateTime!)

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

DeploymentStatusConnection

The connection type for DeploymentStatus.

Fields for DeploymentStatusConnection

NameDescription

edges ([DeploymentStatusEdge])

A list of edges.

nodes ([DeploymentStatus])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DeploymentStatusEdge

An edge in a connection.

Fields for DeploymentStatusEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DeploymentStatus)

The item at the end of the edge.

DisconnectedEvent

Represents adisconnectedevent on a given issue or pull request.

DisconnectedEvent Implements

Fields for DisconnectedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the DisconnectedEvent object.

isCrossRepository (Boolean!)

Reference originated in a different repository.

source (ReferencedSubject!)

Issue or pull request from which the issue was disconnected.

subject (ReferencedSubject!)

Issue or pull request which was disconnected.

Discussion

A discussion in a repository.

Discussion Implements

Fields for Discussion

NameDescription

activeLockReason (LockReason)

Reason that the conversation was locked.

answer (DiscussionComment)

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.

category (DiscussionCategory!)

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.

comments (DiscussionCommentConnection!)

The replies to the discussion.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

labels (LabelConnection)

A list of labels associated with the object.

Arguments for labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

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.

poll (DiscussionPoll)

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.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

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.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for 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.

DiscussionCategory

A category for discussions in a repository.

DiscussionCategory Implements

Fields for DiscussionCategory

NameDescription

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.

DiscussionCategoryConnection

The connection type for DiscussionCategory.

Fields for DiscussionCategoryConnection

NameDescription

edges ([DiscussionCategoryEdge])

A list of edges.

nodes ([DiscussionCategory])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DiscussionCategoryEdge

An edge in a connection.

Fields for DiscussionCategoryEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DiscussionCategory)

The item at the end of the edge.

DiscussionComment

A comment on a discussion.

DiscussionComment Implements

Fields for DiscussionComment

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

The body as Markdown.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

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.

deletedAt (DateTime)

The time when this replied-to comment was deleted.

discussion (Discussion)

The discussion this comment was created in.

editor (Actor)

The actor who edited the comment.

id (ID!)

The Node ID of the DiscussionComment object.

includesCreatedEdit (Boolean!)

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

isAnswer (Boolean!)

Has this comment been chosen as the answer of its discussion?.

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

lastEditedAt (DateTime)

The moment the editor made the last edit.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

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.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

replies (DiscussionCommentConnection!)

The threaded replies to this comment.

Arguments for replies

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

replyTo (DiscussionComment)

The discussion comment this comment is a reply to.

resourcePath (URI!)

The path for this discussion comment.

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 comment.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMarkAsAnswer (Boolean!)

Can the current user mark this comment as an answer?.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCanReact (Boolean!)

Can user react to this subject.

viewerCanUnmarkAsAnswer (Boolean!)

Can the current user unmark this comment as an answer?.

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.

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

Reasons why the current viewer can not update this comment.

viewerDidAuthor (Boolean!)

Did the viewer author this comment.

viewerHasUpvoted (Boolean!)

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

DiscussionCommentConnection

The connection type for DiscussionComment.

Fields for DiscussionCommentConnection

NameDescription

edges ([DiscussionCommentEdge])

A list of edges.

nodes ([DiscussionComment])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DiscussionCommentEdge

An edge in a connection.

Fields for DiscussionCommentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DiscussionComment)

The item at the end of the edge.

DiscussionConnection

The connection type for Discussion.

Fields for DiscussionConnection

NameDescription

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.

DiscussionEdge

An edge in a connection.

Fields for DiscussionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Discussion)

The item at the end of the edge.

DiscussionPoll

A poll for a discussion.

DiscussionPoll Implements

Fields for DiscussionPoll

NameDescription

discussion (Discussion)

The discussion that this poll belongs to.

id (ID!)

The Node ID of the DiscussionPoll object.

options (DiscussionPollOptionConnection)

The options for this poll.

Arguments for options

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

question (String!)

The question that is being asked by this poll.

totalVoteCount (Int!)

The total number of votes that have been cast for this poll.

viewerCanVote (Boolean!)

Indicates if the viewer has permission to vote in this poll.

viewerHasVoted (Boolean!)

Indicates if the viewer has voted for any option in this poll.

DiscussionPollOption

An option for a discussion poll.

DiscussionPollOption Implements

Fields for DiscussionPollOption

NameDescription

id (ID!)

The Node ID of the DiscussionPollOption object.

option (String!)

The text for this option.

poll (DiscussionPoll)

The discussion poll that this option belongs to.

totalVoteCount (Int!)

The total number of votes that have been cast for this option.

viewerHasVoted (Boolean!)

Indicates if the viewer has voted for this option in the poll.

DiscussionPollOptionConnection

The connection type for DiscussionPollOption.

Fields for DiscussionPollOptionConnection

NameDescription

edges ([DiscussionPollOptionEdge])

A list of edges.

nodes ([DiscussionPollOption])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DiscussionPollOptionEdge

An edge in a connection.

Fields for DiscussionPollOptionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DiscussionPollOption)

The item at the end of the edge.

DraftIssue

A draft issue within a project.

DraftIssue Implements

Fields for DraftIssue

NameDescription

assignees (UserConnection!)

A list of users to assigned to this draft issue.

Arguments for assignees

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

body (String!)

The body of the draft issue.

bodyHTML (HTML!)

The body of the draft issue rendered to HTML.

bodyText (String!)

The body of the draft issue rendered to text.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created this draft issue.

id (ID!)

The Node ID of the DraftIssue object.

projectV2Items (ProjectV2ItemConnection!)

List of items linked with the draft issue (currently draft issue can be linked to only one item).

Arguments for projectV2Items

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

projectsV2 (ProjectV2Connection!)

Projects that link to this draft issue (currently draft issue can be linked to only one project).

Arguments for projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

title (String!)

The title of the draft issue.

updatedAt (DateTime!)

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

Enterprise

An account to manage multiple organizations with consolidated policy and billing.

Enterprise Implements

Fields for Enterprise

NameDescription

announcement (String)

The text of the announcement.

announcementCreatedAt (DateTime)

The date the announcement was created.

announcementExpiresAt (DateTime)

The expiration date of the announcement, if any.

announcementUserDismissible (Boolean)

Whether the announcement can be dismissed by the user.

avatarUrl (URI!)

A URL pointing to the enterprise's public avatar.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

billingEmail (String)

The enterprise's billing email.

billingInfo (EnterpriseBillingInfo)

Enterprise billing information visible to enterprise billing managers.

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 enterprise.

descriptionHTML (HTML!)

The description of the enterprise as HTML.

id (ID!)

The Node ID of the Enterprise object.

location (String)

The location of the enterprise.

members (EnterpriseMemberConnection!)

A list of users who are members of this enterprise.

Arguments for members

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasTwoFactorEnabled (Boolean)

    Only return members with this two-factor authentication status. Does not include members who only have an account on a GitHub Enterprise Server instance.

  • last (Int)

    Returns the last n elements from the list.

  • organizationLogins ([String!])

    Only return members within the organizations with these logins.

  • query (String)

    The search string to look for.

name (String!)

The name of the enterprise.

organizations (OrganizationConnection!)

A list of organizations that belong to this enterprise.

Arguments for organizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (OrganizationOrder)

    Ordering options for organizations returned from the connection.

  • query (String)

    The search string to look for.

ownerInfo (EnterpriseOwnerInfo)

Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

readme (String)

The raw content of the enterprise README.

readmeHTML (HTML!)

The content of the enterprise README as HTML.

resourcePath (URI!)

The HTTP path for this enterprise.

slug (String!)

The URL-friendly identifier for the enterprise.

url (URI!)

The HTTP URL for this enterprise.

viewerIsAdmin (Boolean!)

Is the current viewer an admin of this enterprise?.

websiteUrl (URI)

The URL of the enterprise website.

EnterpriseAdministratorConnection

The connection type for User.

Fields for EnterpriseAdministratorConnection

NameDescription

edges ([EnterpriseAdministratorEdge])

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.

EnterpriseAdministratorEdge

A User who is an administrator of an enterprise.

Fields for EnterpriseAdministratorEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (User)

The item at the end of the edge.

role (EnterpriseAdministratorRole!)

The role of the administrator.

EnterpriseAdministratorInvitation

An invitation for a user to become an owner or billing manager of an enterprise.

EnterpriseAdministratorInvitation Implements

Fields for EnterpriseAdministratorInvitation

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

email (String)

The email of the person who was invited to the enterprise.

enterprise (Enterprise!)

The enterprise the invitation is for.

id (ID!)

The Node ID of the EnterpriseAdministratorInvitation object.

invitee (User)

The user who was invited to the enterprise.

inviter (User)

The user who created the invitation.

role (EnterpriseAdministratorRole!)

The invitee's pending role in the enterprise (owner or billing_manager).

EnterpriseAdministratorInvitationConnection

The connection type for EnterpriseAdministratorInvitation.

Fields for EnterpriseAdministratorInvitationConnection

NameDescription

edges ([EnterpriseAdministratorInvitationEdge])

A list of edges.

nodes ([EnterpriseAdministratorInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseAdministratorInvitationEdge

An edge in a connection.

Fields for EnterpriseAdministratorInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (EnterpriseAdministratorInvitation)

The item at the end of the edge.

EnterpriseBillingInfo

Enterprise billing information visible to enterprise billing managers and owners.

Fields for EnterpriseBillingInfo

NameDescription

allLicensableUsersCount (Int!)

The number of licenseable users/emails across the enterprise.

assetPacks (Int!)

The number of data packs used by all organizations owned by the enterprise.

bandwidthQuota (Float!)

The bandwidth quota in GB for all organizations owned by the enterprise.

bandwidthUsage (Float!)

The bandwidth usage in GB for all organizations owned by the enterprise.

bandwidthUsagePercentage (Int!)

The bandwidth usage as a percentage of the bandwidth quota.

storageQuota (Float!)

The storage quota in GB for all organizations owned by the enterprise.

storageUsage (Float!)

The storage usage in GB for all organizations owned by the enterprise.

storageUsagePercentage (Int!)

The storage usage as a percentage of the storage quota.

totalAvailableLicenses (Int!)

The number of available licenses across all owned organizations based on the unique number of billable users.

totalLicenses (Int!)

The total number of licenses allocated.

EnterpriseConnection

The connection type for Enterprise.

Fields for EnterpriseConnection

NameDescription

edges ([EnterpriseEdge])

A list of edges.

nodes ([Enterprise])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseEdge

An edge in a connection.

Fields for EnterpriseEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Enterprise)

The item at the end of the edge.

EnterpriseFailedInvitationConnection

The connection type for OrganizationInvitation.

Fields for EnterpriseFailedInvitationConnection

NameDescription

edges ([EnterpriseFailedInvitationEdge])

A list of edges.

nodes ([OrganizationInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

totalUniqueUserCount (Int!)

Identifies the total count of unique users in the connection.

EnterpriseFailedInvitationEdge

A failed invitation to be a member in an enterprise organization.

Fields for EnterpriseFailedInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (OrganizationInvitation)

The item at the end of the edge.

EnterpriseIdentityProvider

An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

EnterpriseIdentityProvider Implements

Fields for EnterpriseIdentityProvider

NameDescription

digestMethod (SamlDigestAlgorithm)

The digest algorithm used to sign SAML requests for the identity provider.

enterprise (Enterprise)

The enterprise this identity provider belongs to.

externalIdentities (ExternalIdentityConnection!)

ExternalIdentities provisioned by this identity provider.

Arguments for externalIdentities

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • login (String)

    Filter to external identities with the users login.

  • membersOnly (Boolean)

    Filter to external identities with valid org membership only.

  • userName (String)

    Filter to external identities with the users userName/NameID attribute.

id (ID!)

The Node ID of the EnterpriseIdentityProvider object.

idpCertificate (X509Certificate)

The x509 certificate used by the identity provider to sign assertions and responses.

issuer (String)

The Issuer Entity ID for the SAML identity provider.

recoveryCodes ([String!])

Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.

signatureMethod (SamlSignatureAlgorithm)

The signature algorithm used to sign SAML requests for the identity provider.

ssoUrl (URI)

The URL endpoint for the identity provider's SAML SSO.

EnterpriseMemberConnection

The connection type for EnterpriseMember.

Fields for EnterpriseMemberConnection

NameDescription

edges ([EnterpriseMemberEdge])

A list of edges.

nodes ([EnterpriseMember])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseMemberEdge

A User who is a member of an enterprise through one or more organizations.

Fields for EnterpriseMemberEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (EnterpriseMember)

The item at the end of the edge.

EnterpriseMemberInvitation

An invitation for a user to become an unaffiliated member of an enterprise.

EnterpriseMemberInvitation Implements

Fields for EnterpriseMemberInvitation

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

email (String)

The email of the person who was invited to the enterprise.

enterprise (Enterprise!)

The enterprise the invitation is for.

id (ID!)

The Node ID of the EnterpriseMemberInvitation object.

invitee (User)

The user who was invited to the enterprise.

inviter (User)

The user who created the invitation.

EnterpriseOrganizationMembershipConnection

The connection type for Organization.

Fields for EnterpriseOrganizationMembershipConnection

NameDescription

edges ([EnterpriseOrganizationMembershipEdge])

A list of edges.

nodes ([Organization])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseOrganizationMembershipEdge

An enterprise organization that a user is a member of.

Fields for EnterpriseOrganizationMembershipEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Organization)

The item at the end of the edge.

role (EnterpriseUserAccountMembershipRole!)

The role of the user in the enterprise membership.

EnterpriseOutsideCollaboratorConnection

The connection type for User.

Fields for EnterpriseOutsideCollaboratorConnection

NameDescription

edges ([EnterpriseOutsideCollaboratorEdge])

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.

EnterpriseOutsideCollaboratorEdge

A User who is an outside collaborator of an enterprise through one or more organizations.

Fields for EnterpriseOutsideCollaboratorEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (User)

The item at the end of the edge.

repositories (EnterpriseRepositoryInfoConnection!)

The enterprise organization repositories this user is a member of.

Arguments for repositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

EnterpriseOwnerInfo

Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

Fields for EnterpriseOwnerInfo

NameDescription

admins (EnterpriseAdministratorConnection!)

A list of all of the administrators for this enterprise.

Arguments for admins

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasTwoFactorEnabled (Boolean)

    Only return administrators with this two-factor authentication status.

  • last (Int)

    Returns the last n elements from the list.

  • organizationLogins ([String!])

    Only return members within the organizations with these logins.

  • query (String)

    The search string to look for.

affiliatedUsersWithTwoFactorDisabled (UserConnection!)

A list of users in the enterprise who currently have two-factor authentication disabled.

Arguments for affiliatedUsersWithTwoFactorDisabled

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

affiliatedUsersWithTwoFactorDisabledExist (Boolean!)

Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.

allowPrivateRepositoryForkingSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.

allowPrivateRepositoryForkingSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided private repository forking setting value.

Arguments for allowPrivateRepositoryForkingSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

allowPrivateRepositoryForkingSettingPolicyValue (EnterpriseAllowPrivateRepositoryForkingPolicyValue)

The value for the allow private repository forking policy on the enterprise.

defaultRepositoryPermissionSetting (EnterpriseDefaultRepositoryPermissionSettingValue!)

The setting value for base repository permissions for organizations in this enterprise.

defaultRepositoryPermissionSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided base repository permission.

Arguments for defaultRepositoryPermissionSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

domains (VerifiableDomainConnection!)

A list of domains owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope.

Arguments for domains

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • isApproved (Boolean)

    Filter whether or not the domain is approved.

  • isVerified (Boolean)

    Filter whether or not the domain is verified.

  • last (Int)

    Returns the last n elements from the list.

failedInvitations (EnterpriseFailedInvitationConnection!)

A list of failed invitations in the enterprise.

Arguments for failedInvitations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    The search string to look for.

ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

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

ipAllowListEntries (IpAllowListEntryConnection!)

The IP addresses that are allowed to access resources owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope.

Arguments for ipAllowListEntries

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ipAllowListForInstalledAppsEnabledSetting (IpAllowListForInstalledAppsEnabledSettingValue!)

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

isUpdatingDefaultRepositoryPermission (Boolean!)

Whether or not the base repository permission is currently being updated.

isUpdatingTwoFactorRequirement (Boolean!)

Whether the two-factor authentication requirement is currently being enforced.

membersCanChangeRepositoryVisibilitySetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether organization members with admin permissions on a repository can change repository visibility.

membersCanChangeRepositoryVisibilitySettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided can change repository visibility setting value.

Arguments for membersCanChangeRepositoryVisibilitySettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

membersCanCreateInternalRepositoriesSetting (Boolean)

The setting value for whether members of organizations in the enterprise can create internal repositories.

membersCanCreatePrivateRepositoriesSetting (Boolean)

The setting value for whether members of organizations in the enterprise can create private repositories.

membersCanCreatePublicRepositoriesSetting (Boolean)

The setting value for whether members of organizations in the enterprise can create public repositories.

membersCanCreateRepositoriesSetting (EnterpriseMembersCanCreateRepositoriesSettingValue)

The setting value for whether members of organizations in the enterprise can create repositories.

membersCanCreateRepositoriesSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided repository creation setting value.

Arguments for membersCanCreateRepositoriesSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

membersCanDeleteIssuesSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can delete issues.

membersCanDeleteIssuesSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can delete issues setting value.

Arguments for membersCanDeleteIssuesSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

membersCanDeleteRepositoriesSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can delete or transfer repositories.

membersCanDeleteRepositoriesSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can delete repositories setting value.

Arguments for membersCanDeleteRepositoriesSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

membersCanInviteCollaboratorsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members of organizations in the enterprise can invite outside collaborators.

membersCanInviteCollaboratorsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can invite collaborators setting value.

Arguments for membersCanInviteCollaboratorsSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

membersCanMakePurchasesSetting (EnterpriseMembersCanMakePurchasesSettingValue!)

Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.

membersCanUpdateProtectedBranchesSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can update protected branches.

membersCanUpdateProtectedBranchesSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can update protected branches setting value.

Arguments for membersCanUpdateProtectedBranchesSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

membersCanViewDependencyInsightsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members can view dependency insights.

membersCanViewDependencyInsightsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can view dependency insights setting value.

Arguments for membersCanViewDependencyInsightsSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

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

organizationProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether organization projects are enabled for organizations in this enterprise.

organizationProjectsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided organization projects setting value.

Arguments for organizationProjectsSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

outsideCollaborators (EnterpriseOutsideCollaboratorConnection!)

A list of outside collaborators across the repositories in the enterprise.

Arguments for outsideCollaborators

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasTwoFactorEnabled (Boolean)

    Only return outside collaborators with this two-factor authentication status.

  • last (Int)

    Returns the last n elements from the list.

  • login (String)

    The login of one specific outside collaborator.

  • organizationLogins ([String!])

    Only return outside collaborators within the organizations with these logins.

  • query (String)

    The search string to look for.

  • visibility (RepositoryVisibility)

    Only return outside collaborators on repositories with this visibility.

pendingAdminInvitations (EnterpriseAdministratorInvitationConnection!)

A list of pending administrator invitations for the enterprise.

Arguments for pendingAdminInvitations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    The search string to look for.

pendingCollaboratorInvitations (RepositoryInvitationConnection!)

A list of pending collaborator invitations across the repositories in the enterprise.

Arguments for pendingCollaboratorInvitations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryInvitationOrder)

    Ordering options for pending repository collaborator invitations returned from the connection.

  • query (String)

    The search string to look for.

pendingMemberInvitations (EnterprisePendingMemberInvitationConnection!)

A list of pending member invitations for organizations in the enterprise.

Arguments for pendingMemberInvitations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • organizationLogins ([String!])

    Only return invitations within the organizations with these logins.

  • query (String)

    The search string to look for.

repositoryProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether repository projects are enabled in this enterprise.

repositoryProjectsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided repository projects setting value.

Arguments for repositoryProjectsSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

samlIdentityProvider (EnterpriseIdentityProvider)

The SAML Identity Provider for the enterprise.

samlIdentityProviderSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the SAML single sign-on setting value.

Arguments for samlIdentityProviderSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

teamDiscussionsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether team discussions are enabled for organizations in this enterprise.

teamDiscussionsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided team discussions setting value.

Arguments for teamDiscussionsSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

twoFactorRequiredSetting (EnterpriseEnabledSettingValue!)

The setting value for whether the enterprise requires two-factor authentication for its organizations and users.

twoFactorRequiredSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the two-factor authentication setting value.

Arguments for twoFactorRequiredSettingOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • value (Boolean!)

    The setting value to find organizations for.

EnterprisePendingMemberInvitationConnection

The connection type for OrganizationInvitation.

Fields for EnterprisePendingMemberInvitationConnection

NameDescription

edges ([EnterprisePendingMemberInvitationEdge])

A list of edges.

nodes ([OrganizationInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

totalUniqueUserCount (Int!)

Identifies the total count of unique users in the connection.

EnterprisePendingMemberInvitationEdge

An invitation to be a member in an enterprise organization.

Fields for EnterprisePendingMemberInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (OrganizationInvitation)

The item at the end of the edge.

EnterpriseRepositoryInfo

A subset of repository information queryable from an enterprise.

EnterpriseRepositoryInfo Implements

Fields for EnterpriseRepositoryInfo

NameDescription

id (ID!)

The Node ID of the EnterpriseRepositoryInfo object.

isPrivate (Boolean!)

Identifies if the repository is private or internal.

name (String!)

The repository's name.

nameWithOwner (String!)

The repository's name with owner.

EnterpriseRepositoryInfoConnection

The connection type for EnterpriseRepositoryInfo.

Fields for EnterpriseRepositoryInfoConnection

NameDescription

edges ([EnterpriseRepositoryInfoEdge])

A list of edges.

nodes ([EnterpriseRepositoryInfo])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseRepositoryInfoEdge

An edge in a connection.

Fields for EnterpriseRepositoryInfoEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (EnterpriseRepositoryInfo)

The item at the end of the edge.

EnterpriseServerInstallation

An Enterprise Server installation.

EnterpriseServerInstallation Implements

Fields for EnterpriseServerInstallation

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

customerName (String!)

The customer name to which the Enterprise Server installation belongs.

hostName (String!)

The host name of the Enterprise Server installation.

id (ID!)

The Node ID of the EnterpriseServerInstallation object.

isConnected (Boolean!)

Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.

updatedAt (DateTime!)

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

userAccounts (EnterpriseServerUserAccountConnection!)

User accounts on this Enterprise Server installation.

Arguments for userAccounts

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

userAccountsUploads (EnterpriseServerUserAccountsUploadConnection!)

User accounts uploads for the Enterprise Server installation.

Arguments for userAccountsUploads

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

EnterpriseServerInstallationMembershipConnection

The connection type for EnterpriseServerInstallation.

Fields for EnterpriseServerInstallationMembershipConnection

NameDescription

edges ([EnterpriseServerInstallationMembershipEdge])

A list of edges.

nodes ([EnterpriseServerInstallation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseServerInstallationMembershipEdge

An Enterprise Server installation that a user is a member of.

Fields for EnterpriseServerInstallationMembershipEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (EnterpriseServerInstallation)

The item at the end of the edge.

role (EnterpriseUserAccountMembershipRole!)

The role of the user in the enterprise membership.

EnterpriseServerUserAccount

A user account on an Enterprise Server installation.

EnterpriseServerUserAccount Implements

Fields for EnterpriseServerUserAccount

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

emails (EnterpriseServerUserAccountEmailConnection!)

User emails belonging to this user account.

Arguments for emails

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

enterpriseServerInstallation (EnterpriseServerInstallation!)

The Enterprise Server installation on which this user account exists.

id (ID!)

The Node ID of the EnterpriseServerUserAccount object.

isSiteAdmin (Boolean!)

Whether the user account is a site administrator on the Enterprise Server installation.

login (String!)

The login of the user account on the Enterprise Server installation.

profileName (String)

The profile name of the user account on the Enterprise Server installation.

remoteCreatedAt (DateTime!)

The date and time when the user account was created on the Enterprise Server installation.

remoteUserId (Int!)

The ID of the user account on the Enterprise Server installation.

updatedAt (DateTime!)

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

EnterpriseServerUserAccountConnection

The connection type for EnterpriseServerUserAccount.

Fields for EnterpriseServerUserAccountConnection

NameDescription

edges ([EnterpriseServerUserAccountEdge])

A list of edges.

nodes ([EnterpriseServerUserAccount])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseServerUserAccountEdge

An edge in a connection.

Fields for EnterpriseServerUserAccountEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (EnterpriseServerUserAccount)

The item at the end of the edge.

EnterpriseServerUserAccountEmail

An email belonging to a user account on an Enterprise Server installation.

EnterpriseServerUserAccountEmail Implements

Fields for EnterpriseServerUserAccountEmail

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

email (String!)

The email address.

id (ID!)

The Node ID of the EnterpriseServerUserAccountEmail object.

isPrimary (Boolean!)

Indicates whether this is the primary email of the associated user account.

updatedAt (DateTime!)

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

userAccount (EnterpriseServerUserAccount!)

The user account to which the email belongs.

EnterpriseServerUserAccountEmailConnection

The connection type for EnterpriseServerUserAccountEmail.

Fields for EnterpriseServerUserAccountEmailConnection

NameDescription

edges ([EnterpriseServerUserAccountEmailEdge])

A list of edges.

nodes ([EnterpriseServerUserAccountEmail])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseServerUserAccountEmailEdge

An edge in a connection.

Fields for EnterpriseServerUserAccountEmailEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (EnterpriseServerUserAccountEmail)

The item at the end of the edge.

EnterpriseServerUserAccountsUpload

A user accounts upload from an Enterprise Server installation.

EnterpriseServerUserAccountsUpload Implements

Fields for EnterpriseServerUserAccountsUpload

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

enterprise (Enterprise!)

The enterprise to which this upload belongs.

enterpriseServerInstallation (EnterpriseServerInstallation!)

The Enterprise Server installation for which this upload was generated.

id (ID!)

The Node ID of the EnterpriseServerUserAccountsUpload object.

name (String!)

The name of the file uploaded.

syncState (EnterpriseServerUserAccountsUploadSyncState!)

The synchronization state of the upload.

updatedAt (DateTime!)

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

EnterpriseServerUserAccountsUploadConnection

The connection type for EnterpriseServerUserAccountsUpload.

Fields for EnterpriseServerUserAccountsUploadConnection

NameDescription

edges ([EnterpriseServerUserAccountsUploadEdge])

A list of edges.

nodes ([EnterpriseServerUserAccountsUpload])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseServerUserAccountsUploadEdge

An edge in a connection.

Fields for EnterpriseServerUserAccountsUploadEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (EnterpriseServerUserAccountsUpload)

The item at the end of the edge.

EnterpriseUserAccount

An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

EnterpriseUserAccount Implements

Fields for EnterpriseUserAccount

NameDescription

avatarUrl (URI!)

A URL pointing to the enterprise user account's public avatar.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

createdAt (DateTime!)

Identifies the date and time when the object was created.

enterprise (Enterprise!)

The enterprise in which this user account exists.

enterpriseInstallations (EnterpriseServerInstallationMembershipConnection!)

A list of Enterprise Server installations this user is a member of.

Arguments for enterpriseInstallations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    The search string to look for.

id (ID!)

The Node ID of the EnterpriseUserAccount object.

login (String!)

An identifier for the enterprise user account, a login or email address.

name (String)

The name of the enterprise user account.

organizations (EnterpriseOrganizationMembershipConnection!)

A list of enterprise organizations this user is a member of.

Arguments for organizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (OrganizationOrder)

    Ordering options for organizations returned from the connection.

  • query (String)

    The search string to look for.

resourcePath (URI!)

The HTTP path for this user.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this user.

user (User)

The user within the enterprise.

Environment

An environment.

Environment Implements

Fields for Environment

NameDescription

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the Environment object.

isPinned (Boolean)

Indicates whether or not this environment is currently pinned to the repository.

latestCompletedDeployment (Deployment)

The latest completed deployment with status success, failure, or error if it exists.

name (String!)

The name of the environment.

pinnedPosition (Int)

The position of the environment if it is pinned, null if it is not pinned.

protectionRules (DeploymentProtectionRuleConnection!)

The protection rules defined for this environment.

Arguments for protectionRules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

EnvironmentConnection

The connection type for Environment.

Fields for EnvironmentConnection

NameDescription

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.

EnvironmentEdge

An edge in a connection.

Fields for EnvironmentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Environment)

The item at the end of the edge.

ExternalIdentity

An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is 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. If SAML is configured on the enterprise, the external identity is visible to (1) enterprise owners, (2) enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

ExternalIdentity Implements

Fields for ExternalIdentity

NameDescription

guid (String!)

The GUID for this identity.

id (ID!)

The Node ID of the ExternalIdentity object.

organizationInvitation (OrganizationInvitation)

Organization invitation for this SCIM-provisioned external identity.

samlIdentity (ExternalIdentitySamlAttributes)

SAML Identity attributes.

scimIdentity (ExternalIdentityScimAttributes)

SCIM Identity attributes.

user (User)

User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.

ExternalIdentityAttribute

An attribute for the External Identity attributes collection.

Fields for ExternalIdentityAttribute

NameDescription

metadata (String)

The attribute metadata as JSON.

name (String!)

The attribute name.

value (String!)

The attribute value.

ExternalIdentityConnection

The connection type for ExternalIdentity.

Fields for ExternalIdentityConnection

NameDescription

edges ([ExternalIdentityEdge])

A list of edges.

nodes ([ExternalIdentity])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ExternalIdentityEdge

An edge in a connection.

Fields for ExternalIdentityEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ExternalIdentity)

The item at the end of the edge.

ExternalIdentitySamlAttributes

SAML attributes for the External Identity.

Fields for ExternalIdentitySamlAttributes

NameDescription

attributes ([ExternalIdentityAttribute!]!)

SAML Identity attributes.

emails ([UserEmailMetadata!])

The emails associated with the SAML identity.

familyName (String)

Family name of the SAML identity.

givenName (String)

Given name of the SAML identity.

groups ([String!])

The groups linked to this identity in IDP.

nameId (String)

The NameID of the SAML identity.

username (String)

The userName of the SAML identity.

ExternalIdentityScimAttributes

SCIM attributes for the External Identity.

Fields for ExternalIdentityScimAttributes

NameDescription

emails ([UserEmailMetadata!])

The emails associated with the SCIM identity.

familyName (String)

Family name of the SCIM identity.

givenName (String)

Given name of the SCIM identity.

groups ([String!])

The groups linked to this identity in IDP.

username (String)

The userName of the SCIM identity.

FileExtensionRestrictionParameters

Prevent commits that include files with specified file extensions from being pushed to the commit graph. NOTE: This rule is in beta and subject to change.

Fields for FileExtensionRestrictionParameters

NameDescription

restrictedFileExtensions ([String!]!)

The file extensions that are restricted from being pushed to the commit graph.

FilePathRestrictionParameters

Prevent commits that include changes in specified file paths from being pushed to the commit graph. NOTE: This rule is in beta and subject to change.

Fields for FilePathRestrictionParameters

NameDescription

restrictedFilePaths ([String!]!)

The file paths that are restricted from being pushed to the commit graph.

FollowerConnection

The connection type for User.

Fields for FollowerConnection

NameDescription

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.

FollowingConnection

The connection type for User.

Fields for FollowingConnection

NameDescription

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.

GenericHovercardContext

A generic hovercard context with a message and icon.

GenericHovercardContext Implements

Fields for GenericHovercardContext

NameDescription

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

Gist

A Gist.

Gist Implements

Fields for Gist

NameDescription

comments (GistCommentConnection!)

A list of comments associated with the gist.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

createdAt (DateTime!)

Identifies the date and time when the object was created.

description (String)

The gist description.

files ([GistFile])

The files in this gist.

Arguments for files

  • limit (Int)

    The maximum number of files to return.

    The default value is 10.

forks (GistConnection!)

A list of forks associated with the gist.

Arguments for forks

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (GistOrder)

    Ordering options for gists returned from the connection.

id (ID!)

The Node ID of the Gist object.

isFork (Boolean!)

Identifies if the gist is a fork.

isPublic (Boolean!)

Whether the gist is public or not.

name (String!)

The gist name.

owner (RepositoryOwner)

The gist owner.

pushedAt (DateTime)

Identifies when the gist was last pushed to.

resourcePath (URI!)

The HTML path to this resource.

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.

Arguments for stargazers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this Gist.

viewerHasStarred (Boolean!)

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

GistComment

Represents a comment on an Gist.

GistComment Implements

Fields for GistComment

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the gist.

body (String!)

Identifies the comment body.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

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.

gist (Gist!)

The associated gist.

id (ID!)

The Node ID of the GistComment object.

includesCreatedEdit (Boolean!)

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

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

lastEditedAt (DateTime)

The moment the editor made the last edit.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

publishedAt (DateTime)

Identifies when the comment was published at.

updatedAt (DateTime!)

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

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

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.

GistCommentConnection

The connection type for GistComment.

Fields for GistCommentConnection

NameDescription

edges ([GistCommentEdge])

A list of edges.

nodes ([GistComment])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

GistCommentEdge

An edge in a connection.

Fields for GistCommentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (GistComment)

The item at the end of the edge.

GistConnection

The connection type for Gist.

Fields for GistConnection

NameDescription

edges ([GistEdge])

A list of edges.

nodes ([Gist])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

GistEdge

An edge in a connection.

Fields for GistEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Gist)

The item at the end of the edge.

GistFile

A file in a gist.

Fields for GistFile

NameDescription

encodedName (String)

The file name encoded to remove characters that are invalid in URL paths.

encoding (String)

The gist file encoding.

extension (String)

The file extension from the file name.

isImage (Boolean!)

Indicates if this file is an image.

isTruncated (Boolean!)

Whether the file's contents were truncated.

language (Language)

The programming language this file is written in.

name (String)

The gist file name.

size (Int)

The gist file size in bytes.

text (String)

UTF8 text data or null if the file is binary.

Arguments for text

  • truncate (Int)

    Optionally truncate the returned file to this length.

GitActor

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

Fields for GitActor

NameDescription

avatarUrl (URI!)

A URL pointing to the author's public avatar.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

date (GitTimestamp)

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.

GitActorConnection

The connection type for GitActor.

Fields for GitActorConnection

NameDescription

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.

GitActorEdge

An edge in a connection.

Fields for GitActorEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (GitActor)

The item at the end of the edge.

GitHubMetadata

Represents information about the GitHub instance.

Fields for GitHubMetadata

NameDescription

gitHubServicesSha (GitObjectID!)

Returns a String that's a SHA of github-services.

isPasswordAuthenticationVerifiable (Boolean!)

Whether or not users are verified.

GpgSignature

Represents a GPG signature on a Commit or Tag.

GpgSignature Implements

Fields for GpgSignature

NameDescription

email (String!)

Email used to sign this object.

isValid (Boolean!)

True if the signature is valid and verified by GitHub.

keyId (String)

Hex-encoded ID of the key that signed this object.

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.

state (GitSignatureState!)

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.

HeadRefDeletedEvent

Represents ahead_ref_deletedevent on a given pull request.

HeadRefDeletedEvent Implements

Fields for HeadRefDeletedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

headRef (Ref)

Identifies the Ref associated with the head_ref_deleted event.

headRefName (String!)

Identifies the name of the Ref associated with the head_ref_deleted event.

id (ID!)

The Node ID of the HeadRefDeletedEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

HeadRefForcePushedEvent

Represents ahead_ref_force_pushedevent on a given pull request.

HeadRefForcePushedEvent Implements

Fields for HeadRefForcePushedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

afterCommit (Commit)

Identifies the after commit SHA for thehead_ref_force_pushedevent.

beforeCommit (Commit)

Identifies the before commit SHA for thehead_ref_force_pushedevent.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the HeadRefForcePushedEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

ref (Ref)

Identifies the fully qualified ref name for thehead_ref_force_pushedevent.

HeadRefRestoredEvent

Represents ahead_ref_restoredevent on a given pull request.

HeadRefRestoredEvent Implements

Fields for HeadRefRestoredEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the HeadRefRestoredEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

Hovercard

Detail needed to display a hovercard for a user.

Fields for Hovercard

NameDescription

contexts ([HovercardContext!]!)

Each of the contexts for this hovercard.

IpAllowListEntry

An IP address or range of addresses that is allowed to access an owner's resources.

IpAllowListEntry Implements

Fields for IpAllowListEntry

NameDescription

allowListValue (String!)

A single IP address or range of IP addresses in CIDR notation.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the IpAllowListEntry object.

isActive (Boolean!)

Whether the entry is currently active.

name (String)

The name of the IP allow list entry.

owner (IpAllowListOwner!)

The owner of the IP allow list entry.

updatedAt (DateTime!)

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

IpAllowListEntryConnection

The connection type for IpAllowListEntry.

Fields for IpAllowListEntryConnection

NameDescription

edges ([IpAllowListEntryEdge])

A list of edges.

nodes ([IpAllowListEntry])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

IpAllowListEntryEdge

An edge in a connection.

Fields for IpAllowListEntryEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (IpAllowListEntry)

The item at the end of the edge.

Issue

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

Issue Implements

Fields for Issue

NameDescription

activeLockReason (LockReason)

Reason that the conversation was locked.

assignees (UserConnection!)

A list of Users assigned to this object.

Arguments for assignees

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

closedByPullRequestsReferences (PullRequestConnection)

List of open pull requests referenced from this issue.

Arguments for closedByPullRequestsReferences

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • includeClosedPrs (Boolean)

    Include closed PRs in results.

    The default value is false.

  • last (Int)

    Returns the last n elements from the list.

  • orderByState (Boolean)

    Return results ordered by state.

    The default value is false.

  • userLinkedOnly (Boolean)

    Return only manually linked PRs.

    The default value is false.

comments (IssueCommentConnection!)

A list of comments associated with the Issue.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueCommentOrder)

    Ordering options for issue comments returned from the connection.

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.

Arguments for hovercard

  • includeNotificationContexts (Boolean)

    Whether or not to include notification contexts.

    The default value is true.

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.

labels (LabelConnection)

A list of labels associated with the object.

Arguments for labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

lastEditedAt (DateTime)

The moment the editor made the last edit.

linkedBranches (LinkedBranchConnection!)

Branches linked to this issue.

Arguments for linkedBranches

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

Arguments for participants

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

projectCards (ProjectCardConnection!)

List of project cards associated with this issue.

Arguments for projectCards

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

projectItems (ProjectV2ItemConnection!)

List of project items associated with this issue.

Arguments for projectItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • includeArchived (Boolean)

    Include archived items.

    The default value is true.

  • last (Int)

    Returns the last n elements from the list.

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for under the 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.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

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.

timeline (IssueTimelineConnection!)

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

Warning

timeline is deprecated.

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

Arguments for timeline

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • since (DateTime)

    Allows filtering timeline events by a since timestamp.

timelineItems (IssueTimelineItemsConnection!)

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

Arguments for timelineItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • since (DateTime)

    Filter timeline items by a since timestamp.

  • skip (Int)

    Skips the first n elements in the list.

title (String!)

Identifies the issue title.

titleHTML (String!)

Identifies the issue title rendered to HTML.

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.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for 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.

IssueComment

Represents a comment on an Issue.

IssueComment Implements

Fields for IssueComment

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

The body as Markdown.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

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.

id (ID!)

The Node ID of the IssueComment object.

includesCreatedEdit (Boolean!)

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

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

issue (Issue!)

Identifies the issue associated with the comment.

lastEditedAt (DateTime)

The moment the editor made the last edit.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

publishedAt (DateTime)

Identifies when the comment was published at.

pullRequest (PullRequest)

Returns the pull request associated with the comment, if this comment was made on a pull request.

reactionGroups ([ReactionGroup!])

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

reactions (ReactionConnection!)

A list of Reactions left on the Issue.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

repository (Repository!)

The repository associated with this node.

resourcePath (URI!)

The HTTP path for this issue comment.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this issue comment.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCanReact (Boolean!)

Can user react to this subject.

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.

IssueCommentConnection

The connection type for IssueComment.

Fields for IssueCommentConnection

NameDescription

edges ([IssueCommentEdge])

A list of edges.

nodes ([IssueComment])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

IssueCommentEdge

An edge in a connection.

Fields for IssueCommentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (IssueComment)

The item at the end of the edge.

IssueConnection

The connection type for Issue.

Fields for IssueConnection

NameDescription

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.

IssueContributionsByRepository

This aggregates issues opened by a user within one repository.

Fields for IssueContributionsByRepository

NameDescription

contributions (CreatedIssueContributionConnection!)

The issue contributions.

Arguments for contributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

repository (Repository!)

The repository in which the issues were opened.

IssueEdge

An edge in a connection.

Fields for IssueEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Issue)

The item at the end of the edge.

IssueTemplate

A repository issue template.

Fields for IssueTemplate

NameDescription

about (String)

The template purpose.

assignees (UserConnection!)

The suggested assignees.

Arguments for assignees

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

body (String)

The suggested issue body.

filename (String!)

The template filename.

labels (LabelConnection)

The suggested issue labels.

Arguments for labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

name (String!)

The template name.

title (String)

The suggested issue title.

IssueTimelineConnection

The connection type for IssueTimelineItem.

Fields for IssueTimelineConnection

NameDescription

edges ([IssueTimelineItemEdge])

A list of edges.

nodes ([IssueTimelineItem])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

IssueTimelineItemEdge

An edge in a connection.

Fields for IssueTimelineItemEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (IssueTimelineItem)

The item at the end of the edge.

IssueTimelineItemsConnection

The connection type for IssueTimelineItems.

Fields for IssueTimelineItemsConnection

NameDescription

edges ([IssueTimelineItemsEdge])

A list of edges.

filteredCount (Int!)

Identifies the count of items after applying before and after filters.

nodes ([IssueTimelineItems])

A list of nodes.

pageCount (Int!)

Identifies the count of items after applying before/after filters and first/last/skip slicing.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

updatedAt (DateTime!)

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

IssueTimelineItemsEdge

An edge in a connection.

Fields for IssueTimelineItemsEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (IssueTimelineItems)

The item at the end of the edge.

JoinedGitHubContribution

Represents a user signing up for a GitHub account.

JoinedGitHubContribution Implements

Fields for JoinedGitHubContribution

NameDescription

isRestricted (Boolean!)

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

occurredAt (DateTime!)

When this contribution was made.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

Label

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

Label Implements

Fields for Label

NameDescription

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.

issues (IssueConnection!)

A list of issues associated with this label.

Arguments for issues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

name (String!)

Identifies the label name.

pullRequests (PullRequestConnection!)

A list of pull requests associated with this label.

Arguments for pullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

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.

LabelConnection

The connection type for Label.

Fields for LabelConnection

NameDescription

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.

LabelEdge

An edge in a connection.

Fields for LabelEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Label)

The item at the end of the edge.

LabeledEvent

Represents alabeledevent on a given issue or pull request.

LabeledEvent Implements

Fields for LabeledEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the LabeledEvent object.

label (Label!)

Identifies the label associated with thelabeledevent.

labelable (Labelable!)

Identifies the Labelable associated with the event.

Language

Represents a given language found in repositories.

Language Implements

Fields for Language

NameDescription

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.

LanguageConnection

A list of languages associated with the parent.

Fields for LanguageConnection

NameDescription

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.

LanguageEdge

Represents the language of a repository.

Fields for LanguageEdge

NameDescription

cursor (String!)

N/A

node (Language!)

N/A

size (Int!)

The number of bytes of code written in the language.

License

A repository's open source license.

License Implements

Fields for License

NameDescription

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.

LicenseRule

Describes a License's conditions, permissions, and limitations.

Fields for LicenseRule

NameDescription

description (String!)

A description of the rule.

key (String!)

The machine-readable rule key.

label (String!)

The human-readable rule label.

LinkedBranch

A branch linked to an issue.

LinkedBranch Implements

Fields for LinkedBranch

NameDescription

id (ID!)

The Node ID of the LinkedBranch object.

ref (Ref)

The branch's ref.

LinkedBranchConnection

A list of branches linked to an issue.

Fields for LinkedBranchConnection

NameDescription

edges ([LinkedBranchEdge])

A list of edges.

nodes ([LinkedBranch])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

LinkedBranchEdge

An edge in a connection.

Fields for LinkedBranchEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (LinkedBranch)

The item at the end of the edge.

LockedEvent

Represents alockedevent on a given issue or pull request.

LockedEvent Implements

Fields for LockedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the LockedEvent object.

lockReason (LockReason)

Reason that the conversation was locked (optional).

lockable (Lockable!)

Object that was locked.

Mannequin

A placeholder user for attribution of imported data on GitHub.

Mannequin Implements

Fields for Mannequin

NameDescription

avatarUrl (URI!)

A URL pointing to the GitHub App's public avatar.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

claimant (User)

The user that has claimed the data attributed to this mannequin.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

email (String)

The mannequin's email on the source instance.

id (ID!)

The Node ID of the Mannequin object.

login (String!)

The username of the actor.

resourcePath (URI!)

The HTML path to this resource.

updatedAt (DateTime!)

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

url (URI!)

The URL to this resource.

MannequinConnection

A list of mannequins.

Fields for MannequinConnection

NameDescription

edges ([MannequinEdge])

A list of edges.

nodes ([Mannequin])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

MannequinEdge

Represents a mannequin.

Fields for MannequinEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Mannequin)

The item at the end of the edge.

MarkedAsDuplicateEvent

Represents amarked_as_duplicateevent on a given issue or pull request.

MarkedAsDuplicateEvent Implements

Fields for MarkedAsDuplicateEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

canonical (IssueOrPullRequest)

The authoritative issue or pull request which has been duplicated by another.

createdAt (DateTime!)

Identifies the date and time when the object was created.

duplicate (IssueOrPullRequest)

The issue or pull request which has been marked as a duplicate of another.

id (ID!)

The Node ID of the MarkedAsDuplicateEvent object.

isCrossRepository (Boolean!)

Canonical and duplicate belong to different repositories.

MaxFilePathLengthParameters

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. NOTE: This rule is in beta and subject to change.

Fields for MaxFilePathLengthParameters

NameDescription

maxFilePathLength (Int!)

The maximum amount of characters allowed in file paths.

MaxFileSizeParameters

Prevent commits that exceed a specified file size limit from being pushed to the commit. NOTE: This rule is in beta and subject to change.

Fields for MaxFileSizeParameters

NameDescription

maxFileSize (Int!)

The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).

MemberFeatureRequestNotification

Represents a member feature request notification.

MemberFeatureRequestNotification Implements

Fields for MemberFeatureRequestNotification

NameDescription

body (String!)

Represents member feature request body containing entity name and the number of feature requests.

id (ID!)

The Node ID of the MemberFeatureRequestNotification object.

title (String!)

Represents member feature request notification title.

updatedAt (DateTime!)

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

MembersCanDeleteReposClearAuditEntry

Audit log entry for a members_can_delete_repos.clear event.

MembersCanDeleteReposClearAuditEntry Implements

Fields for MembersCanDeleteReposClearAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

The slug of the enterprise.

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

The Node ID of the MembersCanDeleteReposClearAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

MembersCanDeleteReposDisableAuditEntry

Audit log entry for a members_can_delete_repos.disable event.

MembersCanDeleteReposDisableAuditEntry Implements

Fields for MembersCanDeleteReposDisableAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

The slug of the enterprise.

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

The Node ID of the MembersCanDeleteReposDisableAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

MembersCanDeleteReposEnableAuditEntry

Audit log entry for a members_can_delete_repos.enable event.

MembersCanDeleteReposEnableAuditEntry Implements

Fields for MembersCanDeleteReposEnableAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

The slug of the enterprise.

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

The Node ID of the MembersCanDeleteReposEnableAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

MentionedEvent

Represents amentionedevent on a given issue or pull request.

MentionedEvent Implements

Fields for MentionedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the MentionedEvent object.

MergeQueue

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

MergeQueue Implements

Fields for MergeQueue

NameDescription

configuration (MergeQueueConfiguration)

The configuration for this merge queue.

entries (MergeQueueEntryConnection)

The entries in the queue.

Arguments for entries

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

MergeQueueConfiguration

Configuration for a MergeQueue.

Fields for MergeQueueConfiguration

NameDescription

checkResponseTimeout (Int)

The amount of time in minutes to wait for a check response before considering it a failure.

maximumEntriesToBuild (Int)

The maximum number of entries to build at once.

maximumEntriesToMerge (Int)

The maximum number of entries to merge at once.

mergeMethod (PullRequestMergeMethod)

The merge method to use for this queue.

mergingStrategy (MergeQueueMergingStrategy)

The strategy to use when merging entries.

minimumEntriesToMerge (Int)

The minimum number of entries required to merge at once.

minimumEntriesToMergeWaitTime (Int)

The amount of time in minutes to wait before ignoring the minumum number of entries in the queue requirement and merging a collection of entries.

MergeQueueEntry

Entries in a MergeQueue.

MergeQueueEntry Implements

Fields for MergeQueueEntry

NameDescription

baseCommit (Commit)

The base commit for this entry.

enqueuedAt (DateTime!)

The date and time this entry was added to the merge queue.

enqueuer (Actor!)

The actor that enqueued this entry.

estimatedTimeToMerge (Int)

The estimated time in seconds until this entry will be merged.

headCommit (Commit)

The head commit for this entry.

id (ID!)

The Node ID of the MergeQueueEntry object.

jump (Boolean!)

Whether this pull request should jump the queue.

mergeQueue (MergeQueue)

The merge queue that this entry belongs to.

position (Int!)

The position of this entry in the queue.

pullRequest (PullRequest)

The pull request that will be added to a merge group.

solo (Boolean!)

Does this pull request need to be deployed on its own.

state (MergeQueueEntryState!)

The state of this entry in the queue.

MergeQueueEntryConnection

The connection type for MergeQueueEntry.

Fields for MergeQueueEntryConnection

NameDescription

edges ([MergeQueueEntryEdge])

A list of edges.

nodes ([MergeQueueEntry])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

MergeQueueEntryEdge

An edge in a connection.

Fields for MergeQueueEntryEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (MergeQueueEntry)

The item at the end of the edge.

MergeQueueParameters

Merges must be performed via a merge queue.

Fields for MergeQueueParameters

NameDescription

checkResponseTimeoutMinutes (Int!)

Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed.

groupingStrategy (MergeQueueGroupingStrategy!)

When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.

maxEntriesToBuild (Int!)

Limit the number of queued pull requests requesting checks and workflow runs at the same time.

maxEntriesToMerge (Int!)

The maximum number of PRs that will be merged together in a group.

mergeMethod (MergeQueueMergeMethod!)

Method to use when merging changes from queued pull requests.

minEntriesToMerge (Int!)

The minimum number of PRs that will be merged together in a group.

minEntriesToMergeWaitMinutes (Int!)

The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.

MergedEvent

Represents amergedevent on a given pull request.

MergedEvent Implements

Fields for MergedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

commit (Commit)

Identifies the commit associated with the merge event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the MergedEvent object.

mergeRef (Ref)

Identifies the Ref associated with the merge event.

mergeRefName (String!)

Identifies the name of the Ref associated with the merge event.

pullRequest (PullRequest!)

PullRequest referenced by event.

resourcePath (URI!)

The HTTP path for this merged event.

url (URI!)

The HTTP URL for this merged event.

MigrationSource

A GitHub Enterprise Importer (GEI) migration source.

MigrationSource Implements

Fields for MigrationSource

NameDescription

id (ID!)

The Node ID of the MigrationSource object.

name (String!)

The migration source name.

type (MigrationSourceType!)

The migration source type.

url (URI!)

The migration source URL, for example https://github.com or https://monalisa.ghe.com.

Milestone

Represents a Milestone object on a given repository.

Milestone Implements

Fields for Milestone

NameDescription

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.

issues (IssueConnection!)

A list of issues associated with the milestone.

Arguments for issues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

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.

Arguments for pullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

repository (Repository!)

The repository associated with this milestone.

resourcePath (URI!)

The HTTP path for this milestone.

state (MilestoneState!)

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.

MilestoneConnection

The connection type for Milestone.

Fields for MilestoneConnection

NameDescription

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.

MilestoneEdge

An edge in a connection.

Fields for MilestoneEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Milestone)

The item at the end of the edge.

MilestonedEvent

Represents amilestonedevent on a given issue or pull request.

MilestonedEvent Implements

Fields for MilestonedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the MilestonedEvent object.

milestoneTitle (String!)

Identifies the milestone title associated with themilestonedevent.

subject (MilestoneItem!)

Object referenced by event.

MovedColumnsInProjectEvent

Represents amoved_columns_in_projectevent on a given issue or pull request.

MovedColumnsInProjectEvent Implements

Fields for MovedColumnsInProjectEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the MovedColumnsInProjectEvent object.

previousProjectColumnName (String!)

Column name the issue or pull request was moved from.

project (Project)

Project referenced by event.

projectCard (ProjectCard)

Project card referenced by this project event.

projectColumnName (String!)

Column name the issue or pull request was moved to.

OauthApplicationCreateAuditEntry

Audit log entry for a oauth_application.create event.

OauthApplicationCreateAuditEntry Implements

Fields for OauthApplicationCreateAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

applicationUrl (URI)

The application URL of the OAuth application.

callbackUrl (URI)

The callback URL of the OAuth application.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OauthApplicationCreateAuditEntry object.

oauthApplicationName (String)

The name of the OAuth application.

oauthApplicationResourcePath (URI)

The HTTP path for the OAuth application.

oauthApplicationUrl (URI)

The HTTP URL for the OAuth application.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

rateLimit (Int)

The rate limit of the OAuth application.

state (OauthApplicationCreateAuditEntryState)

The state of the OAuth application.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgAddBillingManagerAuditEntry

Audit log entry for a org.add_billing_manager.

OrgAddBillingManagerAuditEntry Implements

Fields for OrgAddBillingManagerAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgAddBillingManagerAuditEntry object.

invitationEmail (String)

The email address used to invite a billing manager for the organization.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgAddMemberAuditEntry

Audit log entry for a org.add_member.

OrgAddMemberAuditEntry Implements

Fields for OrgAddMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgAddMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

permission (OrgAddMemberAuditEntryPermission)

The permission level of the member added to the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgBlockUserAuditEntry

Audit log entry for a org.block_user.

OrgBlockUserAuditEntry Implements

Fields for OrgBlockUserAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

blockedUser (User)

The blocked user.

blockedUserName (String)

The username of the blocked user.

blockedUserResourcePath (URI)

The HTTP path for the blocked user.

blockedUserUrl (URI)

The HTTP URL for the blocked user.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgBlockUserAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgConfigDisableCollaboratorsOnlyAuditEntry

Audit log entry for a org.config.disable_collaborators_only event.

OrgConfigDisableCollaboratorsOnlyAuditEntry Implements

Fields for OrgConfigDisableCollaboratorsOnlyAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgConfigDisableCollaboratorsOnlyAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgConfigEnableCollaboratorsOnlyAuditEntry

Audit log entry for a org.config.enable_collaborators_only event.

OrgConfigEnableCollaboratorsOnlyAuditEntry Implements

Fields for OrgConfigEnableCollaboratorsOnlyAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgConfigEnableCollaboratorsOnlyAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgCreateAuditEntry

Audit log entry for a org.create event.

OrgCreateAuditEntry Implements

Fields for OrgCreateAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

billingPlan (OrgCreateAuditEntryBillingPlan)

The billing plan for the Organization.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgCreateAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgDisableOauthAppRestrictionsAuditEntry

Audit log entry for a org.disable_oauth_app_restrictions event.

OrgDisableOauthAppRestrictionsAuditEntry Implements

Fields for OrgDisableOauthAppRestrictionsAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgDisableOauthAppRestrictionsAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgDisableSamlAuditEntry

Audit log entry for a org.disable_saml event.

OrgDisableSamlAuditEntry Implements

Fields for OrgDisableSamlAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

digestMethodUrl (URI)

The SAML provider's digest algorithm URL.

id (ID!)

The Node ID of the OrgDisableSamlAuditEntry object.

issuerUrl (URI)

The SAML provider's issuer URL.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

signatureMethodUrl (URI)

The SAML provider's signature algorithm URL.

singleSignOnUrl (URI)

The SAML provider's single sign-on URL.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgDisableTwoFactorRequirementAuditEntry

Audit log entry for a org.disable_two_factor_requirement event.

OrgDisableTwoFactorRequirementAuditEntry Implements

Fields for OrgDisableTwoFactorRequirementAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgDisableTwoFactorRequirementAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgEnableOauthAppRestrictionsAuditEntry

Audit log entry for a org.enable_oauth_app_restrictions event.

OrgEnableOauthAppRestrictionsAuditEntry Implements

Fields for OrgEnableOauthAppRestrictionsAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgEnableOauthAppRestrictionsAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgEnableSamlAuditEntry

Audit log entry for a org.enable_saml event.

OrgEnableSamlAuditEntry Implements

Fields for OrgEnableSamlAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

digestMethodUrl (URI)

The SAML provider's digest algorithm URL.

id (ID!)

The Node ID of the OrgEnableSamlAuditEntry object.

issuerUrl (URI)

The SAML provider's issuer URL.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

signatureMethodUrl (URI)

The SAML provider's signature algorithm URL.

singleSignOnUrl (URI)

The SAML provider's single sign-on URL.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgEnableTwoFactorRequirementAuditEntry

Audit log entry for a org.enable_two_factor_requirement event.

OrgEnableTwoFactorRequirementAuditEntry Implements

Fields for OrgEnableTwoFactorRequirementAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgEnableTwoFactorRequirementAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgInviteMemberAuditEntry

Audit log entry for a org.invite_member event.

OrgInviteMemberAuditEntry Implements

Fields for OrgInviteMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

email (String)

The email address of the organization invitation.

id (ID!)

The Node ID of the OrgInviteMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationInvitation (OrganizationInvitation)

The organization invitation.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgInviteToBusinessAuditEntry

Audit log entry for a org.invite_to_business event.

OrgInviteToBusinessAuditEntry Implements

Fields for OrgInviteToBusinessAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

The slug of the enterprise.

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

The Node ID of the OrgInviteToBusinessAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgOauthAppAccessApprovedAuditEntry

Audit log entry for a org.oauth_app_access_approved event.

OrgOauthAppAccessApprovedAuditEntry Implements

Fields for OrgOauthAppAccessApprovedAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgOauthAppAccessApprovedAuditEntry object.

oauthApplicationName (String)

The name of the OAuth application.

oauthApplicationResourcePath (URI)

The HTTP path for the OAuth application.

oauthApplicationUrl (URI)

The HTTP URL for the OAuth application.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgOauthAppAccessBlockedAuditEntry

Audit log entry for a org.oauth_app_access_blocked event.

OrgOauthAppAccessBlockedAuditEntry Implements

Fields for OrgOauthAppAccessBlockedAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgOauthAppAccessBlockedAuditEntry object.

oauthApplicationName (String)

The name of the OAuth application.

oauthApplicationResourcePath (URI)

The HTTP path for the OAuth application.

oauthApplicationUrl (URI)

The HTTP URL for the OAuth application.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgOauthAppAccessDeniedAuditEntry

Audit log entry for a org.oauth_app_access_denied event.

OrgOauthAppAccessDeniedAuditEntry Implements

Fields for OrgOauthAppAccessDeniedAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgOauthAppAccessDeniedAuditEntry object.

oauthApplicationName (String)

The name of the OAuth application.

oauthApplicationResourcePath (URI)

The HTTP path for the OAuth application.

oauthApplicationUrl (URI)

The HTTP URL for the OAuth application.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgOauthAppAccessRequestedAuditEntry

Audit log entry for a org.oauth_app_access_requested event.

OrgOauthAppAccessRequestedAuditEntry Implements

Fields for OrgOauthAppAccessRequestedAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgOauthAppAccessRequestedAuditEntry object.

oauthApplicationName (String)

The name of the OAuth application.

oauthApplicationResourcePath (URI)

The HTTP path for the OAuth application.

oauthApplicationUrl (URI)

The HTTP URL for the OAuth application.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgOauthAppAccessUnblockedAuditEntry

Audit log entry for a org.oauth_app_access_unblocked event.

OrgOauthAppAccessUnblockedAuditEntry Implements

Fields for OrgOauthAppAccessUnblockedAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgOauthAppAccessUnblockedAuditEntry object.

oauthApplicationName (String)

The name of the OAuth application.

oauthApplicationResourcePath (URI)

The HTTP path for the OAuth application.

oauthApplicationUrl (URI)

The HTTP URL for the OAuth application.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgRemoveBillingManagerAuditEntry

Audit log entry for a org.remove_billing_manager event.

OrgRemoveBillingManagerAuditEntry Implements

Fields for OrgRemoveBillingManagerAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgRemoveBillingManagerAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

reason (OrgRemoveBillingManagerAuditEntryReason)

The reason for the billing manager being removed.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgRemoveMemberAuditEntry

Audit log entry for a org.remove_member event.

OrgRemoveMemberAuditEntry Implements

Fields for OrgRemoveMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgRemoveMemberAuditEntry object.

membershipTypes ([OrgRemoveMemberAuditEntryMembershipType!])

The types of membership the member has with the organization.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

reason (OrgRemoveMemberAuditEntryReason)

The reason for the member being removed.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgRemoveOutsideCollaboratorAuditEntry

Audit log entry for a org.remove_outside_collaborator event.

OrgRemoveOutsideCollaboratorAuditEntry Implements

Fields for OrgRemoveOutsideCollaboratorAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgRemoveOutsideCollaboratorAuditEntry object.

membershipTypes ([OrgRemoveOutsideCollaboratorAuditEntryMembershipType!])

The types of membership the outside collaborator has with the organization.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

reason (OrgRemoveOutsideCollaboratorAuditEntryReason)

The reason for the outside collaborator being removed from the Organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgRestoreMemberAuditEntry

Audit log entry for a org.restore_member event.

OrgRestoreMemberAuditEntry Implements

Fields for OrgRestoreMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgRestoreMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

restoredCustomEmailRoutingsCount (Int)

The number of custom email routings for the restored member.

restoredIssueAssignmentsCount (Int)

The number of issue assignments for the restored member.

restoredMemberships ([OrgRestoreMemberAuditEntryMembership!])

Restored organization membership objects.

restoredMembershipsCount (Int)

The number of restored memberships.

restoredRepositoriesCount (Int)

The number of repositories of the restored member.

restoredRepositoryStarsCount (Int)

The number of starred repositories for the restored member.

restoredRepositoryWatchesCount (Int)

The number of watched repositories for the restored member.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgRestoreMemberMembershipOrganizationAuditEntryData

Metadata for an organization membership for org.restore_member actions.

OrgRestoreMemberMembershipOrganizationAuditEntryData Implements

Fields for OrgRestoreMemberMembershipOrganizationAuditEntryData

NameDescription

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

OrgRestoreMemberMembershipRepositoryAuditEntryData

Metadata for a repository membership for org.restore_member actions.

OrgRestoreMemberMembershipRepositoryAuditEntryData Implements

Fields for OrgRestoreMemberMembershipRepositoryAuditEntryData

NameDescription

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

OrgRestoreMemberMembershipTeamAuditEntryData

Metadata for a team membership for org.restore_member actions.

OrgRestoreMemberMembershipTeamAuditEntryData Implements

Fields for OrgRestoreMemberMembershipTeamAuditEntryData

NameDescription

team (Team)

The team associated with the action.

teamName (String)

The name of the team.

teamResourcePath (URI)

The HTTP path for this team.

teamUrl (URI)

The HTTP URL for this team.

OrgUnblockUserAuditEntry

Audit log entry for a org.unblock_user.

OrgUnblockUserAuditEntry Implements

Fields for OrgUnblockUserAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

blockedUser (User)

The user being unblocked by the organization.

blockedUserName (String)

The username of the blocked user.

blockedUserResourcePath (URI)

The HTTP path for the blocked user.

blockedUserUrl (URI)

The HTTP URL for the blocked user.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgUnblockUserAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgUpdateDefaultRepositoryPermissionAuditEntry

Audit log entry for a org.update_default_repository_permission.

OrgUpdateDefaultRepositoryPermissionAuditEntry Implements

Fields for OrgUpdateDefaultRepositoryPermissionAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgUpdateDefaultRepositoryPermissionAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

permission (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

The new base repository permission level for the organization.

permissionWas (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

The former base repository permission level for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgUpdateMemberAuditEntry

Audit log entry for a org.update_member event.

OrgUpdateMemberAuditEntry Implements

Fields for OrgUpdateMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgUpdateMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

permission (OrgUpdateMemberAuditEntryPermission)

The new member permission level for the organization.

permissionWas (OrgUpdateMemberAuditEntryPermission)

The former member permission level for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

OrgUpdateMemberRepositoryCreationPermissionAuditEntry

Audit log entry for a org.update_member_repository_creation_permission event.

OrgUpdateMemberRepositoryCreationPermissionAuditEntry Implements

Fields for OrgUpdateMemberRepositoryCreationPermissionAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

canCreateRepositories (Boolean)

Can members create repositories in the organization.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgUpdateMemberRepositoryCreationPermissionAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

visibility (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility)

The permission for visibility level of repositories for this organization.

OrgUpdateMemberRepositoryInvitationPermissionAuditEntry

Audit log entry for a org.update_member_repository_invitation_permission event.

OrgUpdateMemberRepositoryInvitationPermissionAuditEntry Implements

Fields for OrgUpdateMemberRepositoryInvitationPermissionAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

canInviteOutsideCollaboratorsToRepositories (Boolean)

Can outside collaborators be invited to repositories in the organization.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the OrgUpdateMemberRepositoryInvitationPermissionAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

Organization

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

Organization Implements

Fields for Organization

NameDescription

announcement (String)

The text of the announcement.

announcementCreatedAt (DateTime)

The date the announcement was created.

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.

Arguments for anyPinnableItems

archivedAt (DateTime)

Identifies the date and time when the organization was archived.

auditLog (OrganizationAuditEntryConnection!)

Audit log entries of the organization.

Arguments for auditLog

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (AuditLogOrder)

    Ordering options for the returned audit log entries.

  • query (String)

    The query string to filter audit entries.

avatarUrl (URI!)

A URL pointing to the organization's public avatar.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

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.

domains (VerifiableDomainConnection)

A list of domains owned by the organization.

Arguments for domains

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • isApproved (Boolean)

    Filter by if the domain is approved.

  • isVerified (Boolean)

    Filter by if the domain is verified.

  • last (Int)

    Returns the last n elements from the list.

email (String)

The organization's public email.

enterpriseOwners (OrganizationEnterpriseOwnerConnection!)

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

Arguments for enterpriseOwners

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    The search string to look for.

id (ID!)

The Node ID of the Organization object.

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.

Arguments for ipAllowListEntries

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ipAllowListForInstalledAppsEnabledSetting (IpAllowListForInstalledAppsEnabledSettingValue!)

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

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.

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.

Arguments for mannequins

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • login (String)

    Filter mannequins by login.

  • orderBy (MannequinOrder)

    Ordering options for mannequins returned from the connection.

memberStatuses (UserStatusConnection!)

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

Arguments for memberStatuses

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (UserStatusOrder)

    Ordering options for user statuses returned from the connection.

membersCanForkPrivateRepositories (Boolean!)

Members can fork private repositories in this organization.

membersWithRole (OrganizationMemberConnection!)

A list of users who are members of this organization.

Arguments for membersWithRole

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

packages (PackageConnection!)

A list of packages under the owner.

Arguments for packages

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • names ([String])

    Find packages by their names.

  • packageType (PackageType)

    Filter registry package by type.

  • repositoryId (ID)

    Find packages in a repository by ID.

pendingMembers (UserConnection!)

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

Arguments for pendingMembers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnableItems (PinnableItemConnection!)

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

Arguments for pinnableItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItems (PinnableItemConnection!)

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

Arguments for pinnedItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItemsRemaining (Int!)

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

project (Project)

Find project by number.

Arguments for project

  • number (Int!)

    The project number to find.

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projects (ProjectConnection!)

A list of projects under the owner.

Arguments for projects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectOrder)

    Ordering options for projects returned from the connection.

  • search (String)

    Query to search projects by, currently only searching by name.

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.

Arguments for projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for under the the owner.

recentProjects (ProjectV2Connection!)

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

Arguments for recentProjects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repositories (RepositoryConnection!)

A list of repositories that the user owns.

Arguments for repositories

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isArchived (Boolean)

    If non-null, filters repositories according to whether they are archived and not maintained.

  • isFork (Boolean)

    If non-null, filters repositories according to whether they are forks of another repository.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

repository (Repository)

Find Repository.

Arguments for repository

  • followRenames (Boolean)

    Follow repository renames. If disabled, a repository referenced by its old name will return an error.

    The default value is true.

  • name (String!)

    Name of Repository to find.

repositoryDiscussionComments (DiscussionCommentConnection!)

Discussion comments this user has authored.

Arguments for repositoryDiscussionComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • onlyAnswers (Boolean)

    Filter discussion comments to only those that were marked as the answer.

    The default value is false.

  • repositoryId (ID)

    Filter discussion comments to only those in a specific repository.

repositoryDiscussions (DiscussionConnection!)

Discussions this user has started.

Arguments for repositoryDiscussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • answered (Boolean)

    Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DiscussionOrder)

    Ordering options for discussions returned from the connection.

  • repositoryId (ID)

    Filter discussions to only those in a specific repository.

repositoryMigrations (RepositoryMigrationConnection!)

A list of all repository migrations for this organization.

Arguments for repositoryMigrations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • repositoryName (String)

    Filter repository migrations by repository name.

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.

ruleset (RepositoryRuleset)

Returns a single ruleset from the current organization by ID.

Arguments for ruleset

  • databaseId (Int!)

    The ID of the ruleset to be returned.

rulesets (RepositoryRulesetConnection)

A list of rulesets for this organization.

Arguments for rulesets

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • includeParents (Boolean)

    Return rulesets configured at higher levels that apply to this organization.

    The default value is true.

  • last (Int)

    Returns the last n elements from the list.

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.

team (Team)

Find an organization's team by its slug.

Arguments for team

  • slug (String!)

    The name or slug of the team to find.

teams (TeamConnection!)

A list of teams in this organization.

Arguments for teams

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • ldapMapped (Boolean)

    If true, filters teams that are mapped to an LDAP Group (Enterprise only).

  • orderBy (TeamOrder)

    Ordering options for teams returned from the connection.

  • privacy (TeamPrivacy)

    If non-null, filters teams according to privacy.

  • query (String)

    If non-null, filters teams with query on team name and team slug.

  • role (TeamRole)

    If non-null, filters teams according to whether the viewer is an admin or member on team.

  • rootTeamsOnly (Boolean)

    If true, restrict to only root teams.

    The default value is false.

  • userLogins ([String!])

    User logins to filter by.

teamsResourcePath (URI!)

The HTTP path listing organization's teams.

teamsUrl (URI!)

The HTTP URL listing organization's teams.

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.

viewerIsAMember (Boolean!)

Viewer is an active member of this organization.

viewerIsFollowing (Boolean!)

Whether or not this Organization is followed by the viewer.

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.

OrganizationAuditEntryConnection

The connection type for OrganizationAuditEntry.

Fields for OrganizationAuditEntryConnection

NameDescription

edges ([OrganizationAuditEntryEdge])

A list of edges.

nodes ([OrganizationAuditEntry])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

OrganizationAuditEntryEdge

An edge in a connection.

Fields for OrganizationAuditEntryEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (OrganizationAuditEntry)

The item at the end of the edge.

OrganizationConnection

A list of organizations managed by an enterprise.

Fields for OrganizationConnection

NameDescription

edges ([OrganizationEdge])

A list of edges.

nodes ([Organization])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

OrganizationEdge

An edge in a connection.

Fields for OrganizationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Organization)

The item at the end of the edge.

OrganizationEnterpriseOwnerConnection

The connection type for User.

Fields for OrganizationEnterpriseOwnerConnection

NameDescription

edges ([OrganizationEnterpriseOwnerEdge])

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.

OrganizationEnterpriseOwnerEdge

An enterprise owner in the context of an organization that is part of the enterprise.

Fields for OrganizationEnterpriseOwnerEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (User)

The item at the end of the edge.

organizationRole (RoleInOrganization!)

The role of the owner with respect to the organization.

OrganizationIdentityProvider

An Identity Provider configured to provision SAML and SCIM identities for Organizations. 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.

OrganizationIdentityProvider Implements

Fields for OrganizationIdentityProvider

NameDescription

digestMethod (URI)

The digest algorithm used to sign SAML requests for the Identity Provider.

externalIdentities (ExternalIdentityConnection!)

External Identities provisioned by this Identity Provider.

Arguments for externalIdentities

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • login (String)

    Filter to external identities with the users login.

  • membersOnly (Boolean)

    Filter to external identities with valid org membership only.

  • userName (String)

    Filter to external identities with the users userName/NameID attribute.

id (ID!)

The Node ID of the OrganizationIdentityProvider object.

idpCertificate (X509Certificate)

The x509 certificate used by the Identity Provider to sign assertions and responses.

issuer (String)

The Issuer Entity ID for the SAML Identity Provider.

organization (Organization)

Organization this Identity Provider belongs to.

signatureMethod (URI)

The signature algorithm used to sign SAML requests for the Identity Provider.

ssoUrl (URI)

The URL endpoint for the Identity Provider's SAML SSO.

OrganizationInvitation

An Invitation for a user to an organization.

OrganizationInvitation Implements

Fields for OrganizationInvitation

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

email (String)

The email address of the user invited to the organization.

id (ID!)

The Node ID of the OrganizationInvitation object.

invitationSource (OrganizationInvitationSource!)

The source of the invitation.

invitationType (OrganizationInvitationType!)

The type of invitation that was sent (e.g. email, user).

invitee (User)

The user who was invited to the organization.

inviter (User!)

The user who created the invitation.

Warning

inviter is deprecated.

inviter will be removed. inviter will be replaced by inviterActor. Removal on 2024-07-01 UTC.

inviterActor (User)

The user who created the invitation.

organization (Organization!)

The organization the invite is for.

role (OrganizationInvitationRole!)

The user's pending role in the organization (e.g. member, owner).

OrganizationInvitationConnection

The connection type for OrganizationInvitation.

Fields for OrganizationInvitationConnection

NameDescription

edges ([OrganizationInvitationEdge])

A list of edges.

nodes ([OrganizationInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

OrganizationInvitationEdge

An edge in a connection.

Fields for OrganizationInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (OrganizationInvitation)

The item at the end of the edge.

OrganizationMemberConnection

A list of users who belong to the organization.

Fields for OrganizationMemberConnection

NameDescription

edges ([OrganizationMemberEdge])

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.

OrganizationMemberEdge

Represents a user within an organization.

Fields for OrganizationMemberEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

hasTwoFactorEnabled (Boolean)

Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.

node (User)

The item at the end of the edge.

role (OrganizationMemberRole)

The role this user has in the organization.

OrganizationMigration

A GitHub Enterprise Importer (GEI) organization migration.

OrganizationMigration Implements

Fields for OrganizationMigration

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (String)

Identifies the primary key from the database.

failureReason (String)

The reason the organization migration failed.

id (ID!)

The Node ID of the OrganizationMigration object.

remainingRepositoriesCount (Int)

The remaining amount of repos to be migrated.

sourceOrgName (String!)

The name of the source organization to be migrated.

sourceOrgUrl (URI!)

The URL of the source organization to migrate.

state (OrganizationMigrationState!)

The migration state.

targetOrgName (String!)

The name of the target organization.

totalRepositoriesCount (Int)

The total amount of repositories to be migrated.

OrganizationTeamsHovercardContext

An organization teams hovercard context.

OrganizationTeamsHovercardContext Implements

Fields for OrganizationTeamsHovercardContext

NameDescription

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

relevantTeams (TeamConnection!)

Teams in this organization the user is a member of that are relevant.

Arguments for relevantTeams

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

teamsResourcePath (URI!)

The path for the full team list for this user.

teamsUrl (URI!)

The URL for the full team list for this user.

totalTeamCount (Int!)

The total number of teams the user is on in the organization.

OrganizationsHovercardContext

An organization list hovercard context.

OrganizationsHovercardContext Implements

Fields for OrganizationsHovercardContext

NameDescription

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

relevantOrganizations (OrganizationConnection!)

Organizations this user is a member of that are relevant.

Arguments for relevantOrganizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

totalOrganizationCount (Int!)

The total number of organizations this user is in.

Package

Information for an uploaded package.

Package Implements

Fields for Package

NameDescription

id (ID!)

The Node ID of the Package object.

latestVersion (PackageVersion)

Find the latest version for the package.

name (String!)

Identifies the name of the package.

packageType (PackageType!)

Identifies the type of the package.

repository (Repository)

The repository this package belongs to.

statistics (PackageStatistics)

Statistics about package activity.

version (PackageVersion)

Find package version by version string.

Arguments for version

  • version (String!)

    The package version.

versions (PackageVersionConnection!)

list of versions for this package.

Arguments for versions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

PackageConnection

The connection type for Package.

Fields for PackageConnection

NameDescription

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.

PackageEdge

An edge in a connection.

Fields for PackageEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Package)

The item at the end of the edge.

PackageFile

A file in a package version.

PackageFile Implements

Fields for PackageFile

NameDescription

id (ID!)

The Node ID of the PackageFile object.

md5 (String)

MD5 hash of the file.

name (String!)

Name of the file.

packageVersion (PackageVersion)

The package version this file belongs to.

sha1 (String)

SHA1 hash of the file.

sha256 (String)

SHA256 hash of the file.

size (Int)

Size of the file in bytes.

updatedAt (DateTime!)

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

url (URI)

URL to download the asset.

PackageFileConnection

The connection type for PackageFile.

Fields for PackageFileConnection

NameDescription

edges ([PackageFileEdge])

A list of edges.

nodes ([PackageFile])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PackageFileEdge

An edge in a connection.

Fields for PackageFileEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PackageFile)

The item at the end of the edge.

PackageStatistics

Represents a object that contains package activity statistics such as downloads.

Fields for PackageStatistics

NameDescription

downloadsTotalCount (Int!)

Number of times the package was downloaded since it was created.

PackageTag

A version tag contains the mapping between a tag name and a version.

PackageTag Implements

Fields for PackageTag

NameDescription

id (ID!)

The Node ID of the PackageTag object.

name (String!)

Identifies the tag name of the version.

version (PackageVersion)

Version that the tag is associated with.

PackageVersion

Information about a specific package version.

PackageVersion Implements

Fields for PackageVersion

NameDescription

files (PackageFileConnection!)

List of files associated with this package version.

Arguments for files

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

id (ID!)

The Node ID of the PackageVersion object.

package (Package)

The package associated with this version.

platform (String)

The platform this version was built for.

preRelease (Boolean!)

Whether or not this version is a pre-release.

readme (String)

The README of this package version.

release (Release)

The release associated with this package version.

statistics (PackageVersionStatistics)

Statistics about package activity.

summary (String)

The package version summary.

version (String!)

The version string.

PackageVersionConnection

The connection type for PackageVersion.

Fields for PackageVersionConnection

NameDescription

edges ([PackageVersionEdge])

A list of edges.

nodes ([PackageVersion])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PackageVersionEdge

An edge in a connection.

Fields for PackageVersionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PackageVersion)

The item at the end of the edge.

PackageVersionStatistics

Represents a object that contains package version activity statistics such as downloads.

Fields for PackageVersionStatistics

NameDescription

downloadsTotalCount (Int!)

Number of times the package was downloaded since it was created.

PageInfo

Information about pagination in a connection.

Fields for PageInfo

NameDescription

endCursor (String)

When paginating forwards, the cursor to continue.

hasNextPage (Boolean!)

When paginating forwards, are there more items?.

hasPreviousPage (Boolean!)

When paginating backwards, are there more items?.

startCursor (String)

When paginating backwards, the cursor to continue.

PermissionSource

A level of permission and source for a user's access to a repository.

Fields for PermissionSource

NameDescription

organization (Organization!)

The organization the repository belongs to.

permission (DefaultRepositoryPermissionField!)

The level of access this source has granted to the user.

roleName (String)

The name of the role this source has granted to the user.

source (PermissionGranter!)

The source of this permission.

PinnableItemConnection

The connection type for PinnableItem.

Fields for PinnableItemConnection

NameDescription

edges ([PinnableItemEdge])

A list of edges.

nodes ([PinnableItem])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PinnableItemEdge

An edge in a connection.

Fields for PinnableItemEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PinnableItem)

The item at the end of the edge.

PinnedDiscussion

A Pinned Discussion is a discussion pinned to a repository's index page.

PinnedDiscussion Implements

Fields for PinnedDiscussion

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

discussion (Discussion!)

The discussion that was pinned.

gradientStopColors ([String!]!)

Color stops of the chosen gradient.

id (ID!)

The Node ID of the PinnedDiscussion object.

pattern (PinnedDiscussionPattern!)

Background texture pattern.

pinnedBy (Actor!)

The actor that pinned this discussion.

preconfiguredGradient (PinnedDiscussionGradient)

Preconfigured background gradient option.

repository (Repository!)

The repository associated with this node.

updatedAt (DateTime!)

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

PinnedDiscussionConnection

The connection type for PinnedDiscussion.

Fields for PinnedDiscussionConnection

NameDescription

edges ([PinnedDiscussionEdge])

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.

PinnedDiscussionEdge

An edge in a connection.

Fields for PinnedDiscussionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PinnedDiscussion)

The item at the end of the edge.

PinnedEnvironment

Represents a pinned environment on a given repository.

PinnedEnvironment Implements

Fields for PinnedEnvironment

NameDescription

createdAt (DateTime!)

Identifies the date and time when the pinned environment was created.

databaseId (Int)

Identifies the primary key from the database.

environment (Environment!)

Identifies the environment associated.

id (ID!)

The Node ID of the PinnedEnvironment object.

position (Int!)

Identifies the position of the pinned environment.

repository (Repository!)

The repository that this environment was pinned to.

PinnedEnvironmentConnection

The connection type for PinnedEnvironment.

Fields for PinnedEnvironmentConnection

NameDescription

edges ([PinnedEnvironmentEdge])

A list of edges.

nodes ([PinnedEnvironment])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PinnedEnvironmentEdge

An edge in a connection.

Fields for PinnedEnvironmentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PinnedEnvironment)

The item at the end of the edge.

PinnedEvent

Represents apinnedevent on a given issue or pull request.

PinnedEvent Implements

Fields for PinnedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the PinnedEvent object.

issue (Issue!)

Identifies the issue associated with the event.

PinnedIssue

A Pinned Issue is a issue pinned to a repository's index page.

PinnedIssue Implements

Fields for PinnedIssue

NameDescription

databaseId (Int)

Identifies the primary key from the database.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the PinnedIssue object.

issue (Issue!)

The issue that was pinned.

pinnedBy (Actor!)

The actor that pinned this issue.

repository (Repository!)

The repository that this issue was pinned to.

PinnedIssueConnection

The connection type for PinnedIssue.

Fields for PinnedIssueConnection

NameDescription

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.

PinnedIssueEdge

An edge in a connection.

Fields for PinnedIssueEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PinnedIssue)

The item at the end of the edge.

PrivateRepositoryForkingDisableAuditEntry

Audit log entry for a private_repository_forking.disable event.

PrivateRepositoryForkingDisableAuditEntry Implements

Fields for PrivateRepositoryForkingDisableAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

The slug of the enterprise.

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

The Node ID of the PrivateRepositoryForkingDisableAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

PrivateRepositoryForkingEnableAuditEntry

Audit log entry for a private_repository_forking.enable event.

PrivateRepositoryForkingEnableAuditEntry Implements

Fields for PrivateRepositoryForkingEnableAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

The slug of the enterprise.

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

The Node ID of the PrivateRepositoryForkingEnableAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

ProfileItemShowcase

A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own.

Fields for ProfileItemShowcase

NameDescription

hasPinnedItems (Boolean!)

Whether or not the owner has pinned any repositories or gists.

items (PinnableItemConnection!)

The repositories and gists in the showcase. If the profile owner has any pinned items, those will be returned. Otherwise, the profile owner's popular repositories will be returned.

Arguments for items

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

Project

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

Project Implements

Fields for Project

NameDescription

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.

columns (ProjectColumnConnection!)

List of columns in the project.

Arguments for columns

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

Arguments for pendingCards

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

ProjectCard

A card in a project.

ProjectCard Implements

Fields for ProjectCard

NameDescription

column (ProjectColumn)

The project column this card is associated under. A card may only belong to one project column at a time. The column field will be null if the card is created in a pending state and has yet to be associated with a column. Once cards are associated with a column, they will not become pending in the future.

content (ProjectCardItem)

The card content item.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created this card.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectCard object.

isArchived (Boolean!)

Whether the card is archived.

note (String)

The card note.

project (Project!)

The project that contains this card.

resourcePath (URI!)

The HTTP path for this card.

state (ProjectCardState)

The state of ProjectCard.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this card.

ProjectCardConnection

The connection type for ProjectCard.

Fields for ProjectCardConnection

NameDescription

edges ([ProjectCardEdge])

A list of edges.

nodes ([ProjectCard])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectCardEdge

An edge in a connection.

Fields for ProjectCardEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectCard)

The item at the end of the edge.

ProjectColumn

A column inside a project.

ProjectColumn Implements

Fields for ProjectColumn

NameDescription

cards (ProjectCardConnection!)

List of cards in the column.

Arguments for cards

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectColumn object.

name (String!)

The project column's name.

project (Project!)

The project that contains this column.

purpose (ProjectColumnPurpose)

The semantic purpose of the column.

resourcePath (URI!)

The HTTP path for this project column.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this project column.

ProjectColumnConnection

The connection type for ProjectColumn.

Fields for ProjectColumnConnection

NameDescription

edges ([ProjectColumnEdge])

A list of edges.

nodes ([ProjectColumn])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectColumnEdge

An edge in a connection.

Fields for ProjectColumnEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectColumn)

The item at the end of the edge.

ProjectConnection

A list of projects associated with the owner.

Fields for ProjectConnection

NameDescription

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.

ProjectEdge

An edge in a connection.

Fields for ProjectEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Project)

The item at the end of the edge.

ProjectProgress

Project progress stats.

Fields for ProjectProgress

NameDescription

doneCount (Int!)

The number of done cards.

donePercentage (Float!)

The percentage of done cards.

enabled (Boolean!)

Whether progress tracking is enabled and cards with purpose exist for this project.

inProgressCount (Int!)

The number of in-progress cards.

inProgressPercentage (Float!)

The percentage of in-progress cards.

todoCount (Int!)

The number of to do cards.

todoPercentage (Float!)

The percentage of to do cards.

ProjectV2

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

ProjectV2 Implements

Fields for ProjectV2

NameDescription

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.

field (ProjectV2FieldConfiguration)

A field of the project.

Arguments for field

  • name (String!)

    The name of the field.

fields (ProjectV2FieldConfigurationConnection!)

List of fields and their constraints in the project.

Arguments for fields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for project v2 fields returned from the connection.

id (ID!)

The Node ID of the ProjectV2 object.

items (ProjectV2ItemConnection!)

List of items in the project.

Arguments for items

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2ItemOrder)

    Ordering options for project v2 items returned from the connection.

number (Int!)

The project's number.

owner (ProjectV2Owner!)

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.

Arguments for repositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

resourcePath (URI!)

The HTTP path for this project.

shortDescription (String)

The project's short description.

statusUpdates (ProjectV2StatusUpdateConnection!)

List of the status updates in the project.

Arguments for statusUpdates

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

teams (TeamConnection!)

The teams the project is linked to.

Arguments for teams

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (TeamOrder)

    Ordering options for teams returned from this connection.

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.

view (ProjectV2View)

A view of the project.

Arguments for view

  • number (Int!)

    The number of a view belonging to 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.

views (ProjectV2ViewConnection!)

List of views in the project.

Arguments for views

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2ViewOrder)

    Ordering options for project v2 views returned from the connection.

workflow (ProjectV2Workflow)

A workflow of the project.

Arguments for workflow

  • number (Int!)

    The number of a workflow belonging to the project.

workflows (ProjectV2WorkflowConnection!)

List of the workflows in the project.

Arguments for workflows

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ActorConnection

The connection type for ProjectV2Actor.

Fields for ProjectV2ActorConnection

NameDescription

edges ([ProjectV2ActorEdge])

A list of edges.

nodes ([ProjectV2Actor])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2ActorEdge

An edge in a connection.

Fields for ProjectV2ActorEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2Actor)

The item at the end of the edge.

ProjectV2Connection

The connection type for ProjectV2.

Fields for ProjectV2Connection

NameDescription

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.

ProjectV2Edge

An edge in a connection.

Fields for ProjectV2Edge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2)

The item at the end of the edge.

ProjectV2Field

A field inside a project.

ProjectV2Field Implements

Fields for ProjectV2Field

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectV2Field object.

name (String!)

The project field's name.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

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

ProjectV2FieldConfigurationConnection

The connection type for ProjectV2FieldConfiguration.

Fields for ProjectV2FieldConfigurationConnection

NameDescription

edges ([ProjectV2FieldConfigurationEdge])

A list of edges.

nodes ([ProjectV2FieldConfiguration])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2FieldConfigurationEdge

An edge in a connection.

Fields for ProjectV2FieldConfigurationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2FieldConfiguration)

The item at the end of the edge.

ProjectV2FieldConnection

The connection type for ProjectV2Field.

Fields for ProjectV2FieldConnection

NameDescription

edges ([ProjectV2FieldEdge])

A list of edges.

nodes ([ProjectV2Field])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2FieldEdge

An edge in a connection.

Fields for ProjectV2FieldEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2Field)

The item at the end of the edge.

ProjectV2Item

An item within a Project.

ProjectV2Item Implements

Fields for ProjectV2Item

NameDescription

content (ProjectV2ItemContent)

The content of the referenced draft issue, issue, or pull request.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

fieldValueByName (ProjectV2ItemFieldValue)

The field value of the first project field which matches thenameargument that is set on the item.

Arguments for fieldValueByName

  • name (String!)

    The name of the field to return the field value of.

fieldValues (ProjectV2ItemFieldValueConnection!)

The field values that are set on the item.

Arguments for fieldValues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the ProjectV2Item object.

isArchived (Boolean!)

Whether the item is archived.

project (ProjectV2!)

The project that contains this item.

type (ProjectV2ItemType!)

The type of the item.

updatedAt (DateTime!)

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

ProjectV2ItemConnection

The connection type for ProjectV2Item.

Fields for ProjectV2ItemConnection

NameDescription

edges ([ProjectV2ItemEdge])

A list of edges.

nodes ([ProjectV2Item])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2ItemEdge

An edge in a connection.

Fields for ProjectV2ItemEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2Item)

The item at the end of the edge.

ProjectV2ItemFieldDateValue

The value of a date field in a Project item.

ProjectV2ItemFieldDateValue Implements

Fields for ProjectV2ItemFieldDateValue

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

date (Date)

Date value for the field.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldDateValue object.

item (ProjectV2Item!)

The project item that contains this value.

updatedAt (DateTime!)

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

ProjectV2ItemFieldIterationValue

The value of an iteration field in a Project item.

ProjectV2ItemFieldIterationValue Implements

Fields for ProjectV2ItemFieldIterationValue

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

duration (Int!)

The duration of the iteration in days.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldIterationValue object.

item (ProjectV2Item!)

The project item that contains this value.

iterationId (String!)

The ID of the iteration.

startDate (Date!)

The start date of the iteration.

title (String!)

The title of the iteration.

titleHTML (String!)

The title of the iteration, with HTML.

updatedAt (DateTime!)

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

ProjectV2ItemFieldLabelValue

The value of the labels field in a Project item.

Fields for ProjectV2ItemFieldLabelValue

NameDescription

field (ProjectV2FieldConfiguration!)

The field that contains this value.

labels (LabelConnection)

Labels value of a field.

Arguments for labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ItemFieldMilestoneValue

The value of a milestone field in a Project item.

Fields for ProjectV2ItemFieldMilestoneValue

NameDescription

field (ProjectV2FieldConfiguration!)

The field that contains this value.

milestone (Milestone)

Milestone value of a field.

ProjectV2ItemFieldNumberValue

The value of a number field in a Project item.

ProjectV2ItemFieldNumberValue Implements

Fields for ProjectV2ItemFieldNumberValue

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldNumberValue object.

item (ProjectV2Item!)

The project item that contains this value.

number (Float)

Number as a float(8).

updatedAt (DateTime!)

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

ProjectV2ItemFieldPullRequestValue

The value of a pull request field in a Project item.

Fields for ProjectV2ItemFieldPullRequestValue

NameDescription

field (ProjectV2FieldConfiguration!)

The field that contains this value.

pullRequests (PullRequestConnection)

The pull requests for this field.

Arguments for pullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ItemFieldRepositoryValue

The value of a repository field in a Project item.

Fields for ProjectV2ItemFieldRepositoryValue

NameDescription

field (ProjectV2FieldConfiguration!)

The field that contains this value.

repository (Repository)

The repository for this field.

ProjectV2ItemFieldReviewerValue

The value of a reviewers field in a Project item.

Fields for ProjectV2ItemFieldReviewerValue

NameDescription

field (ProjectV2FieldConfiguration!)

The field that contains this value.

reviewers (RequestedReviewerConnection)

The reviewers for this field.

Arguments for reviewers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ItemFieldSingleSelectValue

The value of a single select field in a Project item.

ProjectV2ItemFieldSingleSelectValue Implements

Fields for ProjectV2ItemFieldSingleSelectValue

NameDescription

color (ProjectV2SingleSelectFieldOptionColor!)

The color applied to the selected single-select option.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

description (String)

A plain-text description of the selected single-select option, such as what the option means.

descriptionHTML (String)

The description of the selected single-select option, including HTML tags.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldSingleSelectValue object.

item (ProjectV2Item!)

The project item that contains this value.

name (String)

The name of the selected single select option.

nameHTML (String)

The html name of the selected single select option.

optionId (String)

The id of the selected single select option.

updatedAt (DateTime!)

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

ProjectV2ItemFieldTextValue

The value of a text field in a Project item.

ProjectV2ItemFieldTextValue Implements

Fields for ProjectV2ItemFieldTextValue

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldTextValue object.

item (ProjectV2Item!)

The project item that contains this value.

text (String)

Text value of a field.

updatedAt (DateTime!)

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

ProjectV2ItemFieldUserValue

The value of a user field in a Project item.

Fields for ProjectV2ItemFieldUserValue

NameDescription

field (ProjectV2FieldConfiguration!)

The field that contains this value.

users (UserConnection)

The users for this field.

Arguments for users

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ItemFieldValueConnection

The connection type for ProjectV2ItemFieldValue.

Fields for ProjectV2ItemFieldValueConnection

NameDescription

edges ([ProjectV2ItemFieldValueEdge])

A list of edges.

nodes ([ProjectV2ItemFieldValue])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2ItemFieldValueEdge

An edge in a connection.

Fields for ProjectV2ItemFieldValueEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2ItemFieldValue)

The item at the end of the edge.

ProjectV2IterationField

An iteration field inside a project.

ProjectV2IterationField Implements

Fields for ProjectV2IterationField

NameDescription

configuration (ProjectV2IterationFieldConfiguration!)

Iteration configuration settings.

createdAt (DateTime!)

Identifies the date and time when the object was created.

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectV2IterationField object.

name (String!)

The project field's name.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

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

ProjectV2IterationFieldConfiguration

Iteration field configuration for a project.

Fields for ProjectV2IterationFieldConfiguration

NameDescription

completedIterations ([ProjectV2IterationFieldIteration!]!)

The iteration's completed iterations.

duration (Int!)

The iteration's duration in days.

iterations ([ProjectV2IterationFieldIteration!]!)

The iteration's iterations.

startDay (Int!)

The iteration's start day of the week.

ProjectV2IterationFieldIteration

Iteration field iteration settings for a project.

Fields for ProjectV2IterationFieldIteration

NameDescription

duration (Int!)

The iteration's duration in days.

id (String!)

The iteration's ID.

startDate (Date!)

The iteration's start date.

title (String!)

The iteration's title.

titleHTML (String!)

The iteration's html title.

ProjectV2SingleSelectField

A single select field inside a project.

ProjectV2SingleSelectField Implements

Fields for ProjectV2SingleSelectField

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectV2SingleSelectField object.

name (String!)

The project field's name.

options ([ProjectV2SingleSelectFieldOption!]!)

Options for the single select field.

Arguments for options

  • names ([String!])

    Filter returned options to only those matching these names, case insensitive.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

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

ProjectV2SingleSelectFieldOption

Single select field option for a configuration for a project.

Fields for ProjectV2SingleSelectFieldOption

NameDescription

color (ProjectV2SingleSelectFieldOptionColor!)

The option's display color.

description (String!)

The option's plain-text description.

descriptionHTML (String!)

The option's description, possibly containing HTML.

id (String!)

The option's ID.

name (String!)

The option's name.

nameHTML (String!)

The option's html name.

ProjectV2SortBy

Represents a sort by field and direction.

Fields for ProjectV2SortBy

NameDescription

direction (OrderDirection!)

The direction of the sorting. Possible values are ASC and DESC.

field (ProjectV2Field!)

The field by which items are sorted.

ProjectV2SortByConnection

The connection type for ProjectV2SortBy.

Fields for ProjectV2SortByConnection

NameDescription

edges ([ProjectV2SortByEdge])

A list of edges.

nodes ([ProjectV2SortBy])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2SortByEdge

An edge in a connection.

Fields for ProjectV2SortByEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2SortBy)

The item at the end of the edge.

ProjectV2SortByField

Represents a sort by field and direction.

Fields for ProjectV2SortByField

NameDescription

direction (OrderDirection!)

The direction of the sorting. Possible values are ASC and DESC.

field (ProjectV2FieldConfiguration!)

The field by which items are sorted.

ProjectV2SortByFieldConnection

The connection type for ProjectV2SortByField.

Fields for ProjectV2SortByFieldConnection

NameDescription

edges ([ProjectV2SortByFieldEdge])

A list of edges.

nodes ([ProjectV2SortByField])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2SortByFieldEdge

An edge in a connection.

Fields for ProjectV2SortByFieldEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2SortByField)

The item at the end of the edge.

ProjectV2StatusUpdate

A status update within a project.

ProjectV2StatusUpdate Implements

Fields for ProjectV2StatusUpdate

NameDescription

body (String)

The body of the status update.

bodyHTML (HTML)

The body of the status update rendered to HTML.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the status update.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectV2StatusUpdate object.

project (ProjectV2!)

The project that contains this status update.

startDate (Date)

The start date of the status update.

status (ProjectV2StatusUpdateStatus)

The status of the status update.

targetDate (Date)

The target date of the status update.

updatedAt (DateTime!)

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

ProjectV2StatusUpdateConnection

The connection type for ProjectV2StatusUpdate.

Fields for ProjectV2StatusUpdateConnection

NameDescription

edges ([ProjectV2StatusUpdateEdge])

A list of edges.

nodes ([ProjectV2StatusUpdate])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2StatusUpdateEdge

An edge in a connection.

Fields for ProjectV2StatusUpdateEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2StatusUpdate)

The item at the end of the edge.

ProjectV2View

A view within a ProjectV2.

ProjectV2View Implements

Fields for ProjectV2View

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

fields (ProjectV2FieldConfigurationConnection)

The view's visible fields.

Arguments for fields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

filter (String)

The project view's filter.

groupBy (ProjectV2FieldConnection)

The view's group-by field.

Warning

groupBy is deprecated.

The ProjectV2View#order_by API is deprecated in favour of the more capable ProjectV2View#group_by_field API. Check out the ProjectV2View#group_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Arguments for groupBy

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

groupByFields (ProjectV2FieldConfigurationConnection)

The view's group-by field.

Arguments for groupByFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

id (ID!)

The Node ID of the ProjectV2View object.

layout (ProjectV2ViewLayout!)

The project view's layout.

name (String!)

The project view's name.

number (Int!)

The project view's number.

project (ProjectV2!)

The project that contains this view.

sortBy (ProjectV2SortByConnection)

The view's sort-by config.

Warning

sortBy is deprecated.

The ProjectV2View#sort_by API is deprecated in favour of the more capable ProjectV2View#sort_by_fields API. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Arguments for sortBy

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

sortByFields (ProjectV2SortByFieldConnection)

The view's sort-by config.

Arguments for sortByFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

updatedAt (DateTime!)

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

verticalGroupBy (ProjectV2FieldConnection)

The view's vertical-group-by field.

Warning

verticalGroupBy is deprecated.

The ProjectV2View#vertical_group_by API is deprecated in favour of the more capable ProjectV2View#vertical_group_by_fields API. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Arguments for verticalGroupBy

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

verticalGroupByFields (ProjectV2FieldConfigurationConnection)

The view's vertical-group-by field.

Arguments for verticalGroupByFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

visibleFields (ProjectV2FieldConnection)

The view's visible fields.

Warning

visibleFields is deprecated.

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API. Check out the ProjectV2View#fields API as an example for the more capable alternative. Removal on 2023-01-01 UTC.

Arguments for visibleFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

ProjectV2ViewConnection

The connection type for ProjectV2View.

Fields for ProjectV2ViewConnection

NameDescription

edges ([ProjectV2ViewEdge])

A list of edges.

nodes ([ProjectV2View])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2ViewEdge

An edge in a connection.

Fields for ProjectV2ViewEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2View)

The item at the end of the edge.

ProjectV2Workflow

A workflow inside a project.

ProjectV2Workflow Implements

Fields for ProjectV2Workflow

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

enabled (Boolean!)

Whether the workflow is enabled.

id (ID!)

The Node ID of the ProjectV2Workflow object.

name (String!)

The name of the workflow.

number (Int!)

The number of the workflow.

project (ProjectV2!)

The project that contains this workflow.

updatedAt (DateTime!)

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

ProjectV2WorkflowConnection

The connection type for ProjectV2Workflow.

Fields for ProjectV2WorkflowConnection

NameDescription

edges ([ProjectV2WorkflowEdge])

A list of edges.

nodes ([ProjectV2Workflow])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2WorkflowEdge

An edge in a connection.

Fields for ProjectV2WorkflowEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ProjectV2Workflow)

The item at the end of the edge.

PropertyTargetDefinition

A property that must match.

Fields for PropertyTargetDefinition

NameDescription

name (String!)

The name of the property.

propertyValues ([String!]!)

The values to match for.

source (String)

The source of the property. Choosecustomor 'system'. Defaults to 'custom' if not specified.

PublicKey

A user's public key.

PublicKey Implements

Fields for PublicKey

NameDescription

accessedAt (DateTime)

The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.

createdAt (DateTime)

Identifies the date and time when the key was created. Keys created before March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.

fingerprint (String!)

The fingerprint for this PublicKey.

id (ID!)

The Node ID of the PublicKey object.

isReadOnly (Boolean)

Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.

key (String!)

The public key string.

updatedAt (DateTime)

Identifies the date and time when the key was updated. Keys created before March 5th, 2014 may have inaccurate values. Values will be null for keys not owned by the user.

PublicKeyConnection

The connection type for PublicKey.

Fields for PublicKeyConnection

NameDescription

edges ([PublicKeyEdge])

A list of edges.

nodes ([PublicKey])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PublicKeyEdge

An edge in a connection.

Fields for PublicKeyEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PublicKey)

The item at the end of the edge.

PullRequest

A repository pull request.

PullRequest Implements

Fields for PullRequest

NameDescription

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.

Arguments for assignees

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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 may be closed by this pull request.

Arguments for closingIssuesReferences

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

  • userLinkedOnly (Boolean)

    Return only manually linked Issues.

    The default value is false.

comments (IssueCommentConnection!)

A list of comments associated with the pull request.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueCommentOrder)

    Ordering options for issue comments returned from the connection.

commits (PullRequestCommitConnection!)

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

Arguments for commits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

Warning

databaseId is 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.

files (PullRequestChangedFileConnection)

Lists the files changed within this pull request.

Arguments for files

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

Arguments for hovercard

  • includeNotificationContexts (Boolean)

    Whether or not to include notification contexts.

    The default value is true.

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.

labels (LabelConnection)

A list of labels associated with the object.

Arguments for labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

lastEditedAt (DateTime)

The moment the editor made the last edit.

latestOpinionatedReviews (PullRequestReviewConnection)

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

Arguments for latestOpinionatedReviews

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • writersOnly (Boolean)

    Only return reviews from user who have write access to the repository.

    The default value is false.

latestReviews (PullRequestReviewConnection)

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

Arguments for latestReviews

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

Arguments for participants

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

Arguments for projectCards

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

projectItems (ProjectV2ItemConnection!)

List of project items associated with this pull request.

Arguments for projectItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • includeArchived (Boolean)

    Include archived items.

    The default value is true.

  • last (Int)

    Returns the last n elements from the list.

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for under the 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.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

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.

Arguments for reviewRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

reviewThreads (PullRequestReviewThreadConnection!)

The list of all review threads for this pull request.

Arguments for reviewThreads

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

reviews (PullRequestReviewConnection)

A list of reviews associated with the pull request.

Arguments for reviews

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • author (String)

    Filter by author of the review.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

state (PullRequestState!)

Identifies the state of the pull request.

statusCheckRollup (StatusCheckRollup)

Check and Status rollup information for the PR's head ref.

suggestedReviewers ([SuggestedReviewer]!)

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

timeline (PullRequestTimelineConnection!)

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

Warning

timeline is deprecated.

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

Arguments for timeline

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • since (DateTime)

    Allows filtering timeline events by a since timestamp.

timelineItems (PullRequestTimelineItemsConnection!)

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

Arguments for timelineItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • since (DateTime)

    Filter timeline items by a since timestamp.

  • skip (Int)

    Skips the first n elements in the list.

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.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for this object.

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.

Arguments for viewerMergeBodyText

viewerMergeHeadlineText (String!)

The merge headline text for the viewer and method.

Arguments for viewerMergeHeadlineText

viewerSubscription (SubscriptionState)

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

PullRequestChangedFile

A file changed in a pull request.

Fields for PullRequestChangedFile

NameDescription

additions (Int!)

The number of additions to the file.

changeType (PatchStatus!)

How the file was changed in this PullRequest.

deletions (Int!)

The number of deletions to the file.

path (String!)

The path of the file.

viewerViewedState (FileViewedState!)

The state of the file for the viewer.

PullRequestChangedFileConnection

The connection type for PullRequestChangedFile.

Fields for PullRequestChangedFileConnection

NameDescription

edges ([PullRequestChangedFileEdge])

A list of edges.

nodes ([PullRequestChangedFile])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PullRequestChangedFileEdge

An edge in a connection.

Fields for PullRequestChangedFileEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PullRequestChangedFile)

The item at the end of the edge.

PullRequestCommit

Represents a Git commit part of a pull request.

PullRequestCommit Implements

Fields for PullRequestCommit

NameDescription

commit (Commit!)

The Git commit object.

id (ID!)

The Node ID of the PullRequestCommit object.

pullRequest (PullRequest!)

The pull request this commit belongs to.

resourcePath (URI!)

The HTTP path for this pull request commit.

url (URI!)

The HTTP URL for this pull request commit.

PullRequestCommitCommentThread

Represents a commit comment thread part of a pull request.

PullRequestCommitCommentThread Implements

Fields for PullRequestCommitCommentThread

NameDescription

comments (CommitCommentConnection!)

The comments that exist in this thread.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

commit (Commit!)

The commit the comments were made on.

id (ID!)

The Node ID of the PullRequestCommitCommentThread object.

path (String)

The file the comments were made on.

position (Int)

The position in the diff for the commit that the comment was made on.

pullRequest (PullRequest!)

The pull request this commit comment thread belongs to.

repository (Repository!)

The repository associated with this node.

PullRequestCommitConnection

The connection type for PullRequestCommit.

Fields for PullRequestCommitConnection

NameDescription

edges ([PullRequestCommitEdge])

A list of edges.

nodes ([PullRequestCommit])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PullRequestCommitEdge

An edge in a connection.

Fields for PullRequestCommitEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PullRequestCommit)

The item at the end of the edge.

PullRequestConnection

The connection type for PullRequest.

Fields for PullRequestConnection

NameDescription

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.

PullRequestContributionsByRepository

This aggregates pull requests opened by a user within one repository.

Fields for PullRequestContributionsByRepository

NameDescription

contributions (CreatedPullRequestContributionConnection!)

The pull request contributions.

Arguments for contributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

repository (Repository!)

The repository in which the pull requests were opened.

PullRequestEdge

An edge in a connection.

Fields for PullRequestEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PullRequest)

The item at the end of the edge.

PullRequestParameters

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

Fields for PullRequestParameters

NameDescription

dismissStaleReviewsOnPush (Boolean!)

New, reviewable commits pushed will dismiss previous pull request review approvals.

requireCodeOwnerReview (Boolean!)

Require an approving review in pull requests that modify files that have a designated code owner.

requireLastPushApproval (Boolean!)

Whether the most recent reviewable push must be approved by someone other than the person who pushed it.

requiredApprovingReviewCount (Int!)

The number of approving reviews that are required before a pull request can be merged.

requiredReviewThreadResolution (Boolean!)

All conversations on code must be resolved before a pull request can be merged.

PullRequestReview

A review object for a given pull request.

PullRequestReview Implements

Fields for PullRequestReview

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

authorCanPushToRepository (Boolean!)

Indicates whether the author of this review has push access to the repository.

body (String!)

Identifies the pull request review body.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body of this review rendered as plain text.

comments (PullRequestReviewCommentConnection!)

A list of review comments for the current pull request review.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

commit (Commit)

Identifies the commit associated with this pull request review.

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.

Warning

databaseId is deprecated.

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

editor (Actor)

The actor who edited the comment.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the PullRequestReview object.

includesCreatedEdit (Boolean!)

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

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

lastEditedAt (DateTime)

The moment the editor made the last edit.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

onBehalfOf (TeamConnection!)

A list of teams that this review was made on behalf of.

Arguments for onBehalfOf

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

publishedAt (DateTime)

Identifies when the comment was published at.

pullRequest (PullRequest!)

Identifies the pull request associated with this pull request review.

reactionGroups ([ReactionGroup!])

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

reactions (ReactionConnection!)

A list of Reactions left on the Issue.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

repository (Repository!)

The repository associated with this node.

resourcePath (URI!)

The HTTP path permalink for this PullRequestReview.

state (PullRequestReviewState!)

Identifies the current state of the pull request review.

submittedAt (DateTime)

Identifies when the Pull Request Review was submitted.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL permalink for this PullRequestReview.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCanReact (Boolean!)

Can user react to this subject.

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.

PullRequestReviewComment

A review comment associated with a given repository pull request.

PullRequestReviewComment Implements

Fields for PullRequestReviewComment

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

The comment body of this review comment.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The comment body of this review comment rendered as plain text.

commit (Commit)

Identifies the commit associated with the comment.

createdAt (DateTime!)

Identifies when the comment was created.

createdViaEmail (Boolean!)

Check if this comment was created via an email reply.

databaseId (Int)

Identifies the primary key from the database.

Warning

databaseId is deprecated.

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

diffHunk (String!)

The diff hunk to which the comment applies.

draftedAt (DateTime!)

Identifies when the comment was created in a draft state.

editor (Actor)

The actor who edited the comment.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the PullRequestReviewComment object.

includesCreatedEdit (Boolean!)

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

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

lastEditedAt (DateTime)

The moment the editor made the last edit.

line (Int)

The end line number on the file to which the comment applies.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

originalCommit (Commit)

Identifies the original commit associated with the comment.

originalLine (Int)

The end line number on the file to which the comment applied when it was first created.

originalPosition (Int!)

The original line index in the diff to which the comment applies.

Warning

originalPosition is deprecated.

We are phasing out diff-relative positioning for PR comments Removal on 2023-10-01 UTC.

originalStartLine (Int)

The start line number on the file to which the comment applied when it was first created.

outdated (Boolean!)

Identifies when the comment body is outdated.

path (String!)

The path to which the comment applies.

position (Int)

The line index in the diff to which the comment applies.

Warning

position is deprecated.

We are phasing out diff-relative positioning for PR comments Use the line and startLine fields instead, which are file line numbers instead of diff line numbers Removal on 2023-10-01 UTC.

publishedAt (DateTime)

Identifies when the comment was published at.

pullRequest (PullRequest!)

The pull request associated with this review comment.

pullRequestReview (PullRequestReview)

The pull request review associated with this review comment.

reactionGroups ([ReactionGroup!])

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

reactions (ReactionConnection!)

A list of Reactions left on the Issue.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

replyTo (PullRequestReviewComment)

The comment this is a reply to.

repository (Repository!)

The repository associated with this node.

resourcePath (URI!)

The HTTP path permalink for this review comment.

startLine (Int)

The start line number on the file to which the comment applies.

state (PullRequestReviewCommentState!)

Identifies the state of the comment.

subjectType (PullRequestReviewThreadSubjectType!)

The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.

updatedAt (DateTime!)

Identifies when the comment was last updated.

url (URI!)

The HTTP URL permalink for this review comment.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCanReact (Boolean!)

Can user react to this subject.

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.

PullRequestReviewCommentConnection

The connection type for PullRequestReviewComment.

Fields for PullRequestReviewCommentConnection

NameDescription

edges ([PullRequestReviewCommentEdge])

A list of edges.

nodes ([PullRequestReviewComment])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PullRequestReviewCommentEdge

An edge in a connection.

Fields for PullRequestReviewCommentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PullRequestReviewComment)

The item at the end of the edge.

PullRequestReviewConnection

The connection type for PullRequestReview.

Fields for PullRequestReviewConnection

NameDescription

edges ([PullRequestReviewEdge])

A list of edges.

nodes ([PullRequestReview])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PullRequestReviewContributionsByRepository

This aggregates pull request reviews made by a user within one repository.

Fields for PullRequestReviewContributionsByRepository

NameDescription

contributions (CreatedPullRequestReviewContributionConnection!)

The pull request review contributions.

Arguments for contributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

repository (Repository!)

The repository in which the pull request reviews were made.

PullRequestReviewEdge

An edge in a connection.

Fields for PullRequestReviewEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PullRequestReview)

The item at the end of the edge.

PullRequestReviewThread

A threaded list of comments for a given pull request.

PullRequestReviewThread Implements

Fields for PullRequestReviewThread

NameDescription

comments (PullRequestReviewCommentConnection!)

A list of pull request comments associated with the thread.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • skip (Int)

    Skips the first n elements in the list.

diffSide (DiffSide!)

The side of the diff on which this thread was placed.

id (ID!)

The Node ID of the PullRequestReviewThread object.

isCollapsed (Boolean!)

Whether or not the thread has been collapsed (resolved).

isOutdated (Boolean!)

Indicates whether this thread was outdated by newer changes.

isResolved (Boolean!)

Whether this thread has been resolved.

line (Int)

The line in the file to which this thread refers.

originalLine (Int)

The original line in the file to which this thread refers.

originalStartLine (Int)

The original start line in the file to which this thread refers (multi-line only).

path (String!)

Identifies the file path of this thread.

pullRequest (PullRequest!)

Identifies the pull request associated with this thread.

repository (Repository!)

Identifies the repository associated with this thread.

resolvedBy (User)

The user who resolved this thread.

startDiffSide (DiffSide)

The side of the diff that the first line of the thread starts on (multi-line only).

startLine (Int)

The start line in the file to which this thread refers (multi-line only).

subjectType (PullRequestReviewThreadSubjectType!)

The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.

viewerCanReply (Boolean!)

Indicates whether the current viewer can reply to this thread.

viewerCanResolve (Boolean!)

Whether or not the viewer can resolve this thread.

viewerCanUnresolve (Boolean!)

Whether or not the viewer can unresolve this thread.

PullRequestReviewThreadConnection

Review comment threads for a pull request review.

Fields for PullRequestReviewThreadConnection

NameDescription

edges ([PullRequestReviewThreadEdge])

A list of edges.

nodes ([PullRequestReviewThread])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PullRequestReviewThreadEdge

An edge in a connection.

Fields for PullRequestReviewThreadEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PullRequestReviewThread)

The item at the end of the edge.

PullRequestRevisionMarker

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

Fields for PullRequestRevisionMarker

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

lastSeenCommit (Commit!)

The last commit the viewer has seen.

pullRequest (PullRequest!)

The pull request to which the marker belongs.

PullRequestTemplate

A repository pull request template.

Fields for PullRequestTemplate

NameDescription

body (String)

The body of the template.

filename (String)

The filename of the template.

repository (Repository!)

The repository the template belongs to.

PullRequestThread

A threaded list of comments for a given pull request.

PullRequestThread Implements

Fields for PullRequestThread

NameDescription

comments (PullRequestReviewCommentConnection!)

A list of pull request comments associated with the thread.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • skip (Int)

    Skips the first n elements in the list.

diffSide (DiffSide!)

The side of the diff on which this thread was placed.

id (ID!)

The Node ID of the PullRequestThread object.

isCollapsed (Boolean!)

Whether or not the thread has been collapsed (resolved).

isOutdated (Boolean!)

Indicates whether this thread was outdated by newer changes.

isResolved (Boolean!)

Whether this thread has been resolved.

line (Int)

The line in the file to which this thread refers.

path (String!)

Identifies the file path of this thread.

pullRequest (PullRequest!)

Identifies the pull request associated with this thread.

repository (Repository!)

Identifies the repository associated with this thread.

resolvedBy (User)

The user who resolved this thread.

startDiffSide (DiffSide)

The side of the diff that the first line of the thread starts on (multi-line only).

startLine (Int)

The line of the first file diff in the thread.

subjectType (PullRequestReviewThreadSubjectType!)

The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.

viewerCanReply (Boolean!)

Indicates whether the current viewer can reply to this thread.

viewerCanResolve (Boolean!)

Whether or not the viewer can resolve this thread.

viewerCanUnresolve (Boolean!)

Whether or not the viewer can unresolve this thread.

PullRequestTimelineConnection

The connection type for PullRequestTimelineItem.

Fields for PullRequestTimelineConnection

NameDescription

edges ([PullRequestTimelineItemEdge])

A list of edges.

nodes ([PullRequestTimelineItem])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PullRequestTimelineItemEdge

An edge in a connection.

Fields for PullRequestTimelineItemEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PullRequestTimelineItem)

The item at the end of the edge.

PullRequestTimelineItemsConnection

The connection type for PullRequestTimelineItems.

Fields for PullRequestTimelineItemsConnection

NameDescription

edges ([PullRequestTimelineItemsEdge])

A list of edges.

filteredCount (Int!)

Identifies the count of items after applying before and after filters.

nodes ([PullRequestTimelineItems])

A list of nodes.

pageCount (Int!)

Identifies the count of items after applying before/after filters and first/last/skip slicing.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

updatedAt (DateTime!)

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

PullRequestTimelineItemsEdge

An edge in a connection.

Fields for PullRequestTimelineItemsEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PullRequestTimelineItems)

The item at the end of the edge.

Push

A Git push.

Push Implements

Fields for Push

NameDescription

id (ID!)

The Node ID of the Push object.

nextSha (GitObjectID)

The SHA after the push.

permalink (URI!)

The permalink for this push.

previousSha (GitObjectID)

The SHA before the push.

pusher (Actor!)

The actor who pushed.

repository (Repository!)

The repository that was pushed to.

PushAllowance

A team, user, or app who has the ability to push to a protected branch.

PushAllowance Implements

Fields for PushAllowance

NameDescription

actor (PushAllowanceActor)

The actor that can push.

branchProtectionRule (BranchProtectionRule)

Identifies the branch protection rule associated with the allowed user, team, or app.

id (ID!)

The Node ID of the PushAllowance object.

PushAllowanceConnection

The connection type for PushAllowance.

Fields for PushAllowanceConnection

NameDescription

edges ([PushAllowanceEdge])

A list of edges.

nodes ([PushAllowance])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PushAllowanceEdge

An edge in a connection.

Fields for PushAllowanceEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PushAllowance)

The item at the end of the edge.

RateLimit

Represents the client's rate limit.

Fields for RateLimit

NameDescription

cost (Int!)

The point cost for the current query counting against the rate limit.

limit (Int!)

The maximum number of points the client is permitted to consume in a 60 minute window.

nodeCount (Int!)

The maximum number of nodes this query may return.

remaining (Int!)

The number of points remaining in the current rate limit window.

resetAt (DateTime!)

The time at which the current rate limit window resets in UTC epoch seconds.

used (Int!)

The number of points used in the current rate limit window.

ReactingUserConnection

The connection type for User.

Fields for ReactingUserConnection

NameDescription

edges ([ReactingUserEdge])

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.

ReactingUserEdge

Represents a user that's made a reaction.

Fields for ReactingUserEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (User!)

N/A

reactedAt (DateTime!)

The moment when the user made the reaction.

Reaction

An emoji reaction to a particular piece of content.

Reaction Implements

Fields for Reaction

NameDescription

content (ReactionContent!)

Identifies the emoji reaction.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the Reaction object.

reactable (Reactable!)

The reactable piece of content.

user (User)

Identifies the user who created this reaction.

ReactionConnection

A list of reactions that have been left on the subject.

Fields for ReactionConnection

NameDescription

edges ([ReactionEdge])

A list of edges.

nodes ([Reaction])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

viewerHasReacted (Boolean!)

Whether or not the authenticated user has left a reaction on the subject.

ReactionEdge

An edge in a connection.

Fields for ReactionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Reaction)

The item at the end of the edge.

ReactionGroup

A group of emoji reactions to a particular piece of content.

Fields for ReactionGroup

NameDescription

content (ReactionContent!)

Identifies the emoji reaction.

createdAt (DateTime)

Identifies when the reaction was created.

reactors (ReactorConnection!)

Reactors to the reaction subject with the emotion represented by this reaction group.

Arguments for reactors

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

subject (Reactable!)

The subject that was reacted to.

users (ReactingUserConnection!)

Users who have reacted to the reaction subject with the emotion represented by this reaction group.

Warning

users is deprecated.

Reactors can now be mannequins, bots, and organizations. Use the reactors field instead. Removal on 2021-10-01 UTC.

Arguments for users

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerHasReacted (Boolean!)

Whether or not the authenticated user has left a reaction on the subject.

ReactorConnection

The connection type for Reactor.

Fields for ReactorConnection

NameDescription

edges ([ReactorEdge])

A list of edges.

nodes ([Reactor])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ReactorEdge

Represents an author of a reaction.

Fields for ReactorEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Reactor!)

The author of the reaction.

reactedAt (DateTime!)

The moment when the user made the reaction.

ReadyForReviewEvent

Represents aready_for_reviewevent on a given pull request.

ReadyForReviewEvent Implements

Fields for ReadyForReviewEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ReadyForReviewEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

resourcePath (URI!)

The HTTP path for this ready for review event.

url (URI!)

The HTTP URL for this ready for review event.

Ref

Represents a Git reference.

Ref Implements

Fields for Ref

NameDescription

associatedPullRequests (PullRequestConnection!)

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

Arguments for associatedPullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

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.

Arguments for compare

  • headRef (String!)

    The head ref to compare against.

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.

rules (RepositoryRuleConnection)

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

Arguments for rules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

target (GitObject)

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

RefConnection

The connection type for Ref.

Fields for RefConnection

NameDescription

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.

RefEdge

An edge in a connection.

Fields for RefEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Ref)

The item at the end of the edge.

RefNameConditionTarget

Parameters to be used for the ref_name condition.

Fields for RefNameConditionTarget

NameDescription

exclude ([String!]!)

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

include ([String!]!)

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

RefUpdateRule

Branch protection rules that are enforced on the viewer.

Fields for RefUpdateRule

NameDescription

allowsDeletions (Boolean!)

Can this branch be deleted.

allowsForcePushes (Boolean!)

Are force pushes allowed on this branch.

blocksCreations (Boolean!)

Can matching branches be created.

pattern (String!)

Identifies the protection rule pattern.

requiredApprovingReviewCount (Int)

Number of approving reviews required to update matching branches.

requiredStatusCheckContexts ([String])

List of required status check contexts that must pass for commits to be accepted to matching branches.

requiresCodeOwnerReviews (Boolean!)

Are reviews from code owners required to update matching branches.

requiresConversationResolution (Boolean!)

Are conversations required to be resolved before merging.

requiresLinearHistory (Boolean!)

Are merge commits prohibited from being pushed to this branch.

requiresSignatures (Boolean!)

Are commits required to be signed.

viewerAllowedToDismissReviews (Boolean!)

Is the viewer allowed to dismiss reviews.

viewerCanPush (Boolean!)

Can the viewer push to the branch.

ReferencedEvent

Represents areferencedevent on a given ReferencedSubject.

ReferencedEvent Implements

Fields for ReferencedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

commit (Commit)

Identifies the commit associated with thereferencedevent.

commitRepository (Repository!)

Identifies the repository associated with thereferencedevent.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ReferencedEvent object.

isCrossRepository (Boolean!)

Reference originated in a different repository.

isDirectReference (Boolean!)

Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.

subject (ReferencedSubject!)

Object referenced by event.

Release

A release contains the content for a release.

Release Implements

Fields for Release

NameDescription

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.

Arguments for mentions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

releaseAssets (ReleaseAssetConnection!)

List of releases assets which are dependent on this release.

Arguments for releaseAssets

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • name (String)

    A name to filter the assets by.

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.

Arguments for shortDescriptionHTML

  • limit (Int)

    How many characters to return.

    The default value is 200.

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.

ReleaseAsset

A release asset contains the content for a release asset.

ReleaseAsset Implements

Fields for ReleaseAsset

NameDescription

contentType (String!)

The asset's content-type.

createdAt (DateTime!)

Identifies the date and time when the object was created.

downloadCount (Int!)

The number of times this asset was downloaded.

downloadUrl (URI!)

Identifies the URL where you can download the release asset via the browser.

id (ID!)

The Node ID of the ReleaseAsset object.

name (String!)

Identifies the title of the release asset.

release (Release)

Release that the asset is associated with.

size (Int!)

The size (in bytes) of the asset.

updatedAt (DateTime!)

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

uploadedBy (User!)

The user that performed the upload.

url (URI!)

Identifies the URL of the release asset.

ReleaseAssetConnection

The connection type for ReleaseAsset.

Fields for ReleaseAssetConnection

NameDescription

edges ([ReleaseAssetEdge])

A list of edges.

nodes ([ReleaseAsset])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ReleaseAssetEdge

An edge in a connection.

Fields for ReleaseAssetEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ReleaseAsset)

The item at the end of the edge.

ReleaseConnection

The connection type for Release.

Fields for ReleaseConnection

NameDescription

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.

ReleaseEdge

An edge in a connection.

Fields for ReleaseEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Release)

The item at the end of the edge.

RemovedFromMergeQueueEvent

Represents aremoved_from_merge_queueevent on a given pull request.

RemovedFromMergeQueueEvent Implements

Fields for RemovedFromMergeQueueEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

beforeCommit (Commit)

Identifies the before commit SHA for theremoved_from_merge_queueevent.

createdAt (DateTime!)

Identifies the date and time when the object was created.

enqueuer (User)

The user who removed this Pull Request from the merge queue.

id (ID!)

The Node ID of the RemovedFromMergeQueueEvent object.

mergeQueue (MergeQueue)

The merge queue where this pull request was removed from.

pullRequest (PullRequest)

PullRequest referenced by event.

reason (String)

The reason this pull request was removed from the queue.

RemovedFromProjectEvent

Represents aremoved_from_projectevent on a given issue or pull request.

RemovedFromProjectEvent Implements

Fields for RemovedFromProjectEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the RemovedFromProjectEvent object.

project (Project)

Project referenced by event.

projectColumnName (String!)

Column name referenced by this project event.

RenamedTitleEvent

Represents arenamedevent on a given issue or pull request.

RenamedTitleEvent Implements

Fields for RenamedTitleEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

currentTitle (String!)

Identifies the current title of the issue or pull request.

id (ID!)

The Node ID of the RenamedTitleEvent object.

previousTitle (String!)

Identifies the previous title of the issue or pull request.

subject (RenamedTitleSubject!)

Subject that was renamed.

ReopenedEvent

Represents areopenedevent on any Closable.

ReopenedEvent Implements

Fields for ReopenedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

closable (Closable!)

Object that was reopened.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ReopenedEvent object.

stateReason (IssueStateReason)

The reason the issue state was changed to open.

RepoAccessAuditEntry

Audit log entry for a repo.access event.

RepoAccessAuditEntry Implements

Fields for RepoAccessAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoAccessAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

visibility (RepoAccessAuditEntryVisibility)

The visibility of the repository.

RepoAddMemberAuditEntry

Audit log entry for a repo.add_member event.

RepoAddMemberAuditEntry Implements

Fields for RepoAddMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoAddMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

visibility (RepoAddMemberAuditEntryVisibility)

The visibility of the repository.

RepoAddTopicAuditEntry

Audit log entry for a repo.add_topic event.

RepoAddTopicAuditEntry Implements

Fields for RepoAddTopicAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoAddTopicAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

topic (Topic)

The name of the topic added to the repository.

topicName (String)

The name of the topic added to the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoArchivedAuditEntry

Audit log entry for a repo.archived event.

RepoArchivedAuditEntry Implements

Fields for RepoArchivedAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoArchivedAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

visibility (RepoArchivedAuditEntryVisibility)

The visibility of the repository.

RepoChangeMergeSettingAuditEntry

Audit log entry for a repo.change_merge_setting event.

RepoChangeMergeSettingAuditEntry Implements

Fields for RepoChangeMergeSettingAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoChangeMergeSettingAuditEntry object.

isEnabled (Boolean)

Whether the change was to enable (true) or disable (false) the merge type.

mergeType (RepoChangeMergeSettingAuditEntryMergeType)

The merge method affected by the change.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigDisableAnonymousGitAccessAuditEntry

Audit log entry for a repo.config.disable_anonymous_git_access event.

RepoConfigDisableAnonymousGitAccessAuditEntry Implements

Fields for RepoConfigDisableAnonymousGitAccessAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigDisableAnonymousGitAccessAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigDisableCollaboratorsOnlyAuditEntry

Audit log entry for a repo.config.disable_collaborators_only event.

RepoConfigDisableCollaboratorsOnlyAuditEntry Implements

Fields for RepoConfigDisableCollaboratorsOnlyAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigDisableCollaboratorsOnlyAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigDisableContributorsOnlyAuditEntry

Audit log entry for a repo.config.disable_contributors_only event.

RepoConfigDisableContributorsOnlyAuditEntry Implements

Fields for RepoConfigDisableContributorsOnlyAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigDisableContributorsOnlyAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigDisableSockpuppetDisallowedAuditEntry

Audit log entry for a repo.config.disable_sockpuppet_disallowed event.

RepoConfigDisableSockpuppetDisallowedAuditEntry Implements

Fields for RepoConfigDisableSockpuppetDisallowedAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigDisableSockpuppetDisallowedAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigEnableAnonymousGitAccessAuditEntry

Audit log entry for a repo.config.enable_anonymous_git_access event.

RepoConfigEnableAnonymousGitAccessAuditEntry Implements

Fields for RepoConfigEnableAnonymousGitAccessAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigEnableAnonymousGitAccessAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigEnableCollaboratorsOnlyAuditEntry

Audit log entry for a repo.config.enable_collaborators_only event.

RepoConfigEnableCollaboratorsOnlyAuditEntry Implements

Fields for RepoConfigEnableCollaboratorsOnlyAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigEnableCollaboratorsOnlyAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigEnableContributorsOnlyAuditEntry

Audit log entry for a repo.config.enable_contributors_only event.

RepoConfigEnableContributorsOnlyAuditEntry Implements

Fields for RepoConfigEnableContributorsOnlyAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigEnableContributorsOnlyAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigEnableSockpuppetDisallowedAuditEntry

Audit log entry for a repo.config.enable_sockpuppet_disallowed event.

RepoConfigEnableSockpuppetDisallowedAuditEntry Implements

Fields for RepoConfigEnableSockpuppetDisallowedAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigEnableSockpuppetDisallowedAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigLockAnonymousGitAccessAuditEntry

Audit log entry for a repo.config.lock_anonymous_git_access event.

RepoConfigLockAnonymousGitAccessAuditEntry Implements

Fields for RepoConfigLockAnonymousGitAccessAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigLockAnonymousGitAccessAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoConfigUnlockAnonymousGitAccessAuditEntry

Audit log entry for a repo.config.unlock_anonymous_git_access event.

RepoConfigUnlockAnonymousGitAccessAuditEntry Implements

Fields for RepoConfigUnlockAnonymousGitAccessAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoConfigUnlockAnonymousGitAccessAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepoCreateAuditEntry

Audit log entry for a repo.create event.

RepoCreateAuditEntry Implements

Fields for RepoCreateAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

forkParentName (String)

The name of the parent repository for this forked repository.

forkSourceName (String)

The name of the root repository for this network.

id (ID!)

The Node ID of the RepoCreateAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

visibility (RepoCreateAuditEntryVisibility)

The visibility of the repository.

RepoDestroyAuditEntry

Audit log entry for a repo.destroy event.

RepoDestroyAuditEntry Implements

Fields for RepoDestroyAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoDestroyAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

visibility (RepoDestroyAuditEntryVisibility)

The visibility of the repository.

RepoRemoveMemberAuditEntry

Audit log entry for a repo.remove_member event.

RepoRemoveMemberAuditEntry Implements

Fields for RepoRemoveMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoRemoveMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

visibility (RepoRemoveMemberAuditEntryVisibility)

The visibility of the repository.

RepoRemoveTopicAuditEntry

Audit log entry for a repo.remove_topic event.

RepoRemoveTopicAuditEntry Implements

Fields for RepoRemoveTopicAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the RepoRemoveTopicAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

topic (Topic)

The name of the topic added to the repository.

topicName (String)

The name of the topic added to the repository.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

Repository

A repository contains the content for a project.

Repository Implements

Fields for Repository

NameDescription

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.

Arguments for assignableUsers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    Filters users with query on user name and login.

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.

Arguments for branchProtectionRules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

codeOfConduct (CodeOfConduct)

Returns the code of conduct for this repository.

codeowners (RepositoryCodeowners)

Information extracted from the repository's CODEOWNERS file.

Arguments for codeowners

  • refName (String)

    The ref name used to return the associated CODEOWNERS file.

collaborators (RepositoryCollaboratorConnection)

A list of collaborators associated with the repository.

Arguments for collaborators

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • login (String)

    The login of one specific collaborator.

  • query (String)

    Filters users with query on user name and login.

commitComments (CommitCommentConnection!)

A list of commit comments associated with the repository.

Arguments for commitComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

Arguments for dependencyGraphManifests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • dependenciesAfter (String)

    Cursor to paginate dependencies.

  • dependenciesFirst (Int)

    Number of dependencies to fetch.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • withDependencies (Boolean)

    Flag to scope to only manifests with dependencies.

deployKeys (DeployKeyConnection!)

A list of deploy keys that are on this repository.

Arguments for deployKeys

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

deployments (DeploymentConnection!)

Deployments associated with the repository.

Arguments for deployments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • environments ([String!])

    Environments to list deployments for.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DeploymentOrder)

    Ordering options for deployments returned from the connection.

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.

Arguments for discussion

  • number (Int!)

    The number for the discussion to be returned.

discussionCategories (DiscussionCategoryConnection!)

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

Arguments for discussionCategories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterByAssignable (Boolean)

    Filter by categories that are assignable by the viewer.

    The default value is false.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

discussionCategory (DiscussionCategory)

A discussion category by slug.

Arguments for discussionCategory

  • slug (String!)

    The slug of the discussion category to be returned.

discussions (DiscussionConnection!)

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

Arguments for discussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • answered (Boolean)

    Only show answered or unanswered discussions.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • categoryId (ID)

    Only include discussions that belong to the category with this ID.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DiscussionOrder)

    Ordering options for discussions returned from the connection.

diskUsage (Int)

The number of kilobytes this repository occupies on disk.

environment (Environment)

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

Arguments for environment

  • name (String!)

    The name of the environment to be returned.

environments (EnvironmentConnection!)

A list of environments that are in this repository.

Arguments for environments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • names ([String!])

    The names of the environments to be returned.

  • orderBy (Environments)

    Ordering options for the environments.

forkCount (Int!)

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

forkingAllowed (Boolean!)

Whether this repository allows forks.

forks (RepositoryConnection!)

A list of direct forked repositories.

Arguments for forks

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

hasAnonymousAccessEnabled (Boolean!)

Indicates if the repository has anonymous Git read access feature enabled.

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.

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.

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.

Arguments for issue

  • number (Int!)

    The number for the issue to be returned.

issueOrPullRequest (IssueOrPullRequest)

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

Arguments for issueOrPullRequest

  • number (Int!)

    The number for the issue to be returned.

issueTemplates ([IssueTemplate!])

Returns a list of issue templates associated to the repository.

issues (IssueConnection!)

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

Arguments for issues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

label (Label)

Returns a single label by name.

Arguments for label

labels (LabelConnection)

A list of labels associated with the repository.

Arguments for labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

  • query (String)

    If provided, searches labels by name and description.

languages (LanguageConnection)

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

Arguments for languages

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

latestRelease (Release)

Get the latest release for the repository if one exists.

licenseInfo (License)

The license associated with the repository.

lockReason (RepositoryLockReason)

The reason the repository has been locked.

mentionableUsers (UserConnection!)

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

Arguments for mentionableUsers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    Filters users with query on user name and login.

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.

Arguments for mergeQueue

  • branch (String)

    The name of the branch to get the merge queue for. Case sensitive.

milestone (Milestone)

Returns a single milestone from the current repository by number.

Arguments for milestone

  • number (Int!)

    The number for the milestone to be returned.

milestones (MilestoneConnection)

A list of milestones associated with the repository.

Arguments for milestones

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    Filters milestones with a query on the title.

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.

Arguments for object

  • expression (String)

    A Git revision expression suitable for rev-parse.

openGraphImageUrl (URI!)

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

owner (RepositoryOwner!)

The User owner of the repository.

packages (PackageConnection!)

A list of packages under the owner.

Arguments for packages

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • names ([String])

    Find packages by their names.

  • packageType (PackageType)

    Filter registry package by type.

  • repositoryId (ID)

    Find packages in a repository by ID.

parent (Repository)

The repository parent, if this is a fork.

pinnedDiscussions (PinnedDiscussionConnection!)

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

Arguments for pinnedDiscussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedEnvironments (PinnedEnvironmentConnection)

A list of pinned environments for this repository.

Arguments for pinnedEnvironments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedIssues (PinnedIssueConnection)

A list of pinned issues for this repository.

Arguments for pinnedIssues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

planFeatures (RepositoryPlanFeatures!)

Returns information about the availability of certain features and limits based on the repository's billing plan.

primaryLanguage (Language)

The primary language of the repository's code.

project (Project)

Find project by number.

Arguments for project

  • number (Int!)

    The project number to find.

projectV2 (ProjectV2)

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

Arguments for projectV2

  • number (Int!)

    The Project number.

projects (ProjectConnection!)

A list of projects under the owner.

Arguments for projects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectOrder)

    Ordering options for projects returned from the connection.

  • search (String)

    Query to search projects by, currently only searching by name.

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.

Arguments for projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for linked to the repo.

pullRequest (PullRequest)

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

Arguments for pullRequest

  • number (Int!)

    The number for the pull request to be returned.

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.

Arguments for pullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

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.

Arguments for recentProjects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ref (Ref)

Fetch a given ref from the repository.

Arguments for ref

  • qualifiedName (String!)

    The ref to retrieve. Fully qualified matches are checked in order (refs/heads/master) before falling back onto checks for short name matches (master).

refs (RefConnection)

Fetch a list of refs from the repository.

Arguments for refs

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • direction (OrderDirection)

    DEPRECATED: use orderBy. The ordering direction.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RefOrder)

    Ordering options for refs returned from the connection.

  • query (String)

    Filters refs with query on name.

  • refPrefix (String!)

    A ref name prefix like refs/heads/, refs/tags/, etc.

release (Release)

Lookup a single release given various criteria.

Arguments for release

  • tagName (String!)

    The name of the Tag the Release was created from.

releases (ReleaseConnection!)

List of releases which are dependent on this repository.

Arguments for releases

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repositoryTopics (RepositoryTopicConnection!)

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

Arguments for repositoryTopics

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

resourcePath (URI!)

The HTTP path for this repository.

ruleset (RepositoryRuleset)

Returns a single ruleset from the current repository by ID.

Arguments for ruleset

  • databaseId (Int!)

    The ID of the ruleset to be returned.

  • includeParents (Boolean)

    Include rulesets configured at higher levels that apply to this repository.

    The default value is true.

rulesets (RepositoryRulesetConnection)

A list of rulesets for this repository.

Arguments for rulesets

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • includeParents (Boolean)

    Return rulesets configured at higher levels that apply to this repository.

    The default value is true.

  • last (Int)

    Returns the last n elements from the list.

securityPolicyUrl (URI)

The security policy URL.

shortDescriptionHTML (HTML!)

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

Arguments for shortDescriptionHTML

  • limit (Int)

    How many characters to return.

    The default value is 200.

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.

Warning

squashPrTitleUsedAsDefault is 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.

Arguments for stargazers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

submodules (SubmoduleConnection!)

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

Arguments for submodules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

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.

visibility (RepositoryVisibility!)

Indicates the repository's visibility level.

vulnerabilityAlert (RepositoryVulnerabilityAlert)

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

Arguments for vulnerabilityAlert

  • number (Int!)

    The number for the vulnerability alert to be returned.

vulnerabilityAlerts (RepositoryVulnerabilityAlertConnection)

A list of vulnerability alerts that are on this repository.

Arguments for vulnerabilityAlerts

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

watchers (UserConnection!)

A list of users watching the repository.

Arguments for watchers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

webCommitSignoffRequired (Boolean!)

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

RepositoryCodeowners

Information extracted from a repository's CODEOWNERS file.

Fields for RepositoryCodeowners

NameDescription

errors ([RepositoryCodeownersError!]!)

Any problems that were encountered while parsing the CODEOWNERS file.

RepositoryCodeownersError

An error in a CODEOWNERS file.

Fields for RepositoryCodeownersError

NameDescription

column (Int!)

The column number where the error occurs.

kind (String!)

A short string describing the type of error.

line (Int!)

The line number where the error occurs.

message (String!)

A complete description of the error, combining information from other fields.

path (String!)

The path to the file when the error occurs.

source (String!)

The content of the line where the error occurs.

suggestion (String)

A suggestion of how to fix the error.

RepositoryCollaboratorConnection

The connection type for User.

Fields for RepositoryCollaboratorConnection

NameDescription

edges ([RepositoryCollaboratorEdge])

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.

RepositoryCollaboratorEdge

Represents a user who is a collaborator of a repository.

Fields for RepositoryCollaboratorEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (User!)

N/A

permission (RepositoryPermission!)

The permission the user has on the repository.

permissionSources ([PermissionSource!])

A list of sources for the user's access to the repository.

RepositoryConnection

A list of repositories owned by the subject.

Fields for RepositoryConnection

NameDescription

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.

A repository contact link.

Fields for RepositoryContactLink

NameDescription

about (String!)

The contact link purpose.

name (String!)

The contact link name.

url (URI!)

The contact link URL.

RepositoryEdge

An edge in a connection.

Fields for RepositoryEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Repository)

The item at the end of the edge.

RepositoryIdConditionTarget

Parameters to be used for the repository_id condition.

Fields for RepositoryIdConditionTarget

NameDescription

repositoryIds ([ID!]!)

One of these repo IDs must match the repo.

RepositoryInvitation

An invitation for a user to be added to a repository.

RepositoryInvitation Implements

Fields for RepositoryInvitation

NameDescription

email (String)

The email address that received the invitation.

id (ID!)

The Node ID of the RepositoryInvitation object.

invitee (User)

The user who received the invitation.

inviter (User!)

The user who created the invitation.

permalink (URI!)

The permalink for this repository invitation.

permission (RepositoryPermission!)

The permission granted on this repository by this invitation.

repository (RepositoryInfo)

The Repository the user is invited to.

RepositoryInvitationConnection

A list of repository invitations.

Fields for RepositoryInvitationConnection

NameDescription

edges ([RepositoryInvitationEdge])

A list of edges.

nodes ([RepositoryInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryInvitationEdge

An edge in a connection.

Fields for RepositoryInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (RepositoryInvitation)

The item at the end of the edge.

RepositoryMigration

A GitHub Enterprise Importer (GEI) repository migration.

RepositoryMigration Implements

Fields for RepositoryMigration

NameDescription

continueOnError (Boolean!)

The migration flag to continue on error.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (String)

Identifies the primary key from the database.

failureReason (String)

The reason the migration failed.

id (ID!)

The Node ID of the RepositoryMigration object.

migrationLogUrl (URI)

The URL for the migration log (expires 1 day after migration completes).

migrationSource (MigrationSource!)

The migration source.

repositoryName (String!)

The target repository name.

sourceUrl (URI!)

The migration source URL, for example https://github.com or https://monalisa.ghe.com.

state (MigrationState!)

The migration state.

warningsCount (Int!)

The number of warnings encountered for this migration. To review the warnings, check the Migration Log.

RepositoryMigrationConnection

A list of migrations.

Fields for RepositoryMigrationConnection

NameDescription

edges ([RepositoryMigrationEdge])

A list of edges.

nodes ([RepositoryMigration])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryMigrationEdge

Represents a repository migration.

Fields for RepositoryMigrationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (RepositoryMigration)

The item at the end of the edge.

RepositoryNameConditionTarget

Parameters to be used for the repository_name condition.

Fields for RepositoryNameConditionTarget

NameDescription

exclude ([String!]!)

Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

include ([String!]!)

Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~ALL to include all repositories.

protected (Boolean!)

Target changes that match these patterns will be prevented except by those with bypass permissions.

RepositoryPlanFeatures

Information about the availability of features and limits for a repository based on its billing plan.

Fields for RepositoryPlanFeatures

NameDescription

codeowners (Boolean!)

Whether reviews can be automatically requested and enforced with a CODEOWNERS file.

draftPullRequests (Boolean!)

Whether pull requests can be created as or converted to draft.

maximumAssignees (Int!)

Maximum number of users that can be assigned to an issue or pull request.

maximumManualReviewRequests (Int!)

Maximum number of manually-requested reviews on a pull request.

teamReviewRequests (Boolean!)

Whether teams can be requested to review pull requests.

RepositoryPropertyConditionTarget

Parameters to be used for the repository_property condition.

Fields for RepositoryPropertyConditionTarget

NameDescription

exclude ([PropertyTargetDefinition!]!)

Array of repository properties that must not match.

include ([PropertyTargetDefinition!]!)

Array of repository properties that must match.

RepositoryRule

A repository rule.

RepositoryRule Implements

Fields for RepositoryRule

NameDescription

id (ID!)

The Node ID of the RepositoryRule object.

parameters (RuleParameters)

The parameters for this rule.

repositoryRuleset (RepositoryRuleset)

The repository ruleset associated with this rule configuration.

type (RepositoryRuleType!)

The type of rule.

RepositoryRuleConditions

Set of conditions that determine if a ruleset will evaluate.

Fields for RepositoryRuleConditions

NameDescription

refName (RefNameConditionTarget)

Configuration for the ref_name condition.

repositoryId (RepositoryIdConditionTarget)

Configuration for the repository_id condition.

repositoryName (RepositoryNameConditionTarget)

Configuration for the repository_name condition.

repositoryProperty (RepositoryPropertyConditionTarget)

Configuration for the repository_property condition.

RepositoryRuleConnection

The connection type for RepositoryRule.

Fields for RepositoryRuleConnection

NameDescription

edges ([RepositoryRuleEdge])

A list of edges.

nodes ([RepositoryRule])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryRuleEdge

An edge in a connection.

Fields for RepositoryRuleEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (RepositoryRule)

The item at the end of the edge.

RepositoryRuleset

A repository ruleset.

RepositoryRuleset Implements

Fields for RepositoryRuleset

NameDescription

bypassActors (RepositoryRulesetBypassActorConnection)

The actors that can bypass this ruleset.

Arguments for bypassActors

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

conditions (RepositoryRuleConditions!)

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.

rules (RepositoryRuleConnection)

List of rules.

Arguments for rules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

source (RuleSource!)

Source of ruleset.

target (RepositoryRulesetTarget)

Target of the ruleset.

updatedAt (DateTime!)

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

RepositoryRulesetBypassActor

A team or app that has the ability to bypass a rules defined on a ruleset.

RepositoryRulesetBypassActor Implements

Fields for RepositoryRulesetBypassActor

NameDescription

actor (BypassActor)

The actor that can bypass rules.

bypassMode (RepositoryRulesetBypassActorBypassMode)

The mode for the bypass actor.

deployKey (Boolean!)

This actor represents the ability for a deploy key to bypass.

id (ID!)

The Node ID of the RepositoryRulesetBypassActor object.

organizationAdmin (Boolean!)

This actor represents the ability for an organization owner to bypass.

repositoryRoleDatabaseId (Int)

If the actor is a repository role, the repository role's ID that can bypass.

repositoryRoleName (String)

If the actor is a repository role, the repository role's name that can bypass.

repositoryRuleset (RepositoryRuleset)

Identifies the ruleset associated with the allowed actor.

RepositoryRulesetBypassActorConnection

The connection type for RepositoryRulesetBypassActor.

Fields for RepositoryRulesetBypassActorConnection

NameDescription

edges ([RepositoryRulesetBypassActorEdge])

A list of edges.

nodes ([RepositoryRulesetBypassActor])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryRulesetBypassActorEdge

An edge in a connection.

Fields for RepositoryRulesetBypassActorEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (RepositoryRulesetBypassActor)

The item at the end of the edge.

RepositoryRulesetConnection

The connection type for RepositoryRuleset.

Fields for RepositoryRulesetConnection

NameDescription

edges ([RepositoryRulesetEdge])

A list of edges.

nodes ([RepositoryRuleset])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryRulesetEdge

An edge in a connection.

Fields for RepositoryRulesetEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (RepositoryRuleset)

The item at the end of the edge.

RepositoryTopic

A repository-topic connects a repository to a topic.

RepositoryTopic Implements

Fields for RepositoryTopic

NameDescription

id (ID!)

The Node ID of the RepositoryTopic object.

resourcePath (URI!)

The HTTP path for this repository-topic.

topic (Topic!)

The topic.

url (URI!)

The HTTP URL for this repository-topic.

RepositoryTopicConnection

The connection type for RepositoryTopic.

Fields for RepositoryTopicConnection

NameDescription

edges ([RepositoryTopicEdge])

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.

RepositoryTopicEdge

An edge in a connection.

Fields for RepositoryTopicEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (RepositoryTopic)

The item at the end of the edge.

RepositoryVisibilityChangeDisableAuditEntry

Audit log entry for a repository_visibility_change.disable event.

RepositoryVisibilityChangeDisableAuditEntry Implements

Fields for RepositoryVisibilityChangeDisableAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

The slug of the enterprise.

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

The Node ID of the RepositoryVisibilityChangeDisableAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepositoryVisibilityChangeEnableAuditEntry

Audit log entry for a repository_visibility_change.enable event.

RepositoryVisibilityChangeEnableAuditEntry Implements

Fields for RepositoryVisibilityChangeEnableAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

The slug of the enterprise.

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

The Node ID of the RepositoryVisibilityChangeEnableAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

RepositoryVulnerabilityAlert

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

RepositoryVulnerabilityAlert Implements

Fields for RepositoryVulnerabilityAlert

NameDescription

autoDismissedAt (DateTime)

When was the alert auto-dismissed?.

createdAt (DateTime!)

When was the alert created?.

dependabotUpdate (DependabotUpdate)

The associated Dependabot update.

dependencyScope (RepositoryVulnerabilityAlertDependencyScope)

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.

state (RepositoryVulnerabilityAlertState!)

Identifies the state of the alert.

vulnerableManifestFilename (String!)

The vulnerable manifest filename.

vulnerableManifestPath (String!)

The vulnerable manifest path.

vulnerableRequirements (String)

The vulnerable requirements.

RepositoryVulnerabilityAlertConnection

The connection type for RepositoryVulnerabilityAlert.

Fields for RepositoryVulnerabilityAlertConnection

NameDescription

edges ([RepositoryVulnerabilityAlertEdge])

A list of edges.

nodes ([RepositoryVulnerabilityAlert])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryVulnerabilityAlertEdge

An edge in a connection.

Fields for RepositoryVulnerabilityAlertEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (RepositoryVulnerabilityAlert)

The item at the end of the edge.

RequestedReviewerConnection

The connection type for RequestedReviewer.

Fields for RequestedReviewerConnection

NameDescription

edges ([RequestedReviewerEdge])

A list of edges.

nodes ([RequestedReviewer])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RequestedReviewerEdge

An edge in a connection.

Fields for RequestedReviewerEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (RequestedReviewer)

The item at the end of the edge.

RequiredDeploymentsParameters

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

Fields for RequiredDeploymentsParameters

NameDescription

requiredDeploymentEnvironments ([String!]!)

The environments that must be successfully deployed to before branches can be merged.

RequiredStatusCheckDescription

Represents a required status check for a protected branch, but not any specific run of that check.

Fields for RequiredStatusCheckDescription

NameDescription

app (App)

The App that must provide this status in order for it to be accepted.

context (String!)

The name of this status.

RequiredStatusChecksParameters

Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.

Fields for RequiredStatusChecksParameters

NameDescription

doNotEnforceOnCreate (Boolean!)

Allow repositories and branches to be created if a check would otherwise prohibit it.

requiredStatusChecks ([StatusCheckConfiguration!]!)

Status checks that are required.

strictRequiredStatusChecksPolicy (Boolean!)

Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled.

RestrictedContribution

Represents a private contribution a user made on GitHub.

RestrictedContribution Implements

Fields for RestrictedContribution

NameDescription

isRestricted (Boolean!)

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

occurredAt (DateTime!)

When this contribution was made.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

ReviewDismissalAllowance

A user, team, or app who has the ability to dismiss a review on a protected branch.

ReviewDismissalAllowance Implements

Fields for ReviewDismissalAllowance

NameDescription

actor (ReviewDismissalAllowanceActor)

The actor that can dismiss.

branchProtectionRule (BranchProtectionRule)

Identifies the branch protection rule associated with the allowed user, team, or app.

id (ID!)

The Node ID of the ReviewDismissalAllowance object.

ReviewDismissalAllowanceConnection

The connection type for ReviewDismissalAllowance.

Fields for ReviewDismissalAllowanceConnection

NameDescription

edges ([ReviewDismissalAllowanceEdge])

A list of edges.

nodes ([ReviewDismissalAllowance])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ReviewDismissalAllowanceEdge

An edge in a connection.

Fields for ReviewDismissalAllowanceEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ReviewDismissalAllowance)

The item at the end of the edge.

ReviewDismissedEvent

Represents areview_dismissedevent on a given issue or pull request.

ReviewDismissedEvent Implements

Fields for ReviewDismissedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

dismissalMessage (String)

Identifies the optional message associated with thereview_dismissedevent.

dismissalMessageHTML (String)

Identifies the optional message associated with the event, rendered to HTML.

id (ID!)

The Node ID of the ReviewDismissedEvent object.

previousReviewState (PullRequestReviewState!)

Identifies the previous state of the review with thereview_dismissedevent.

pullRequest (PullRequest!)

PullRequest referenced by event.

pullRequestCommit (PullRequestCommit)

Identifies the commit which caused the review to become stale.

resourcePath (URI!)

The HTTP path for this review dismissed event.

review (PullRequestReview)

Identifies the review associated with thereview_dismissedevent.

url (URI!)

The HTTP URL for this review dismissed event.

ReviewRequest

A request for a user to review a pull request.

ReviewRequest Implements

Fields for ReviewRequest

NameDescription

asCodeOwner (Boolean!)

Whether this request was created for a code owner.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ReviewRequest object.

pullRequest (PullRequest!)

Identifies the pull request associated with this review request.

requestedReviewer (RequestedReviewer)

The reviewer that is requested.

ReviewRequestConnection

The connection type for ReviewRequest.

Fields for ReviewRequestConnection

NameDescription

edges ([ReviewRequestEdge])

A list of edges.

nodes ([ReviewRequest])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ReviewRequestEdge

An edge in a connection.

Fields for ReviewRequestEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ReviewRequest)

The item at the end of the edge.

ReviewRequestRemovedEvent

Represents anreview_request_removedevent on a given pull request.

ReviewRequestRemovedEvent Implements

Fields for ReviewRequestRemovedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ReviewRequestRemovedEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

requestedReviewer (RequestedReviewer)

Identifies the reviewer whose review request was removed.

ReviewRequestedEvent

Represents anreview_requestedevent on a given pull request.

ReviewRequestedEvent Implements

Fields for ReviewRequestedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ReviewRequestedEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

requestedReviewer (RequestedReviewer)

Identifies the reviewer whose review was requested.

ReviewStatusHovercardContext

A hovercard context with a message describing the current code review state of the pull request.

ReviewStatusHovercardContext Implements

Fields for ReviewStatusHovercardContext

NameDescription

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

reviewDecision (PullRequestReviewDecision)

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

SavedReply

A Saved Reply is text a user can use to reply quickly.

SavedReply Implements

Fields for SavedReply

NameDescription

body (String!)

The body of the saved reply.

bodyHTML (HTML!)

The saved reply body rendered to HTML.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the SavedReply object.

title (String!)

The title of the saved reply.

user (Actor)

The user that saved this reply.

SavedReplyConnection

The connection type for SavedReply.

Fields for SavedReplyConnection

NameDescription

edges ([SavedReplyEdge])

A list of edges.

nodes ([SavedReply])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

SavedReplyEdge

An edge in a connection.

Fields for SavedReplyEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (SavedReply)

The item at the end of the edge.

SearchResultItemConnection

A list of results that matched against a search query. Regardless of the number of matches, a maximum of 1,000 results will be available across all types, potentially split across many pages.

Fields for SearchResultItemConnection

NameDescription

codeCount (Int!)

The total number of pieces of code that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.

discussionCount (Int!)

The total number of discussions that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.

edges ([SearchResultItemEdge])

A list of edges.

issueCount (Int!)

The total number of issues that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.

nodes ([SearchResultItem])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

repositoryCount (Int!)

The total number of repositories that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.

userCount (Int!)

The total number of users that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.

wikiCount (Int!)

The total number of wiki pages that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.

SearchResultItemEdge

An edge in a connection.

Fields for SearchResultItemEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (SearchResultItem)

The item at the end of the edge.

textMatches ([TextMatch])

Text matches on the result found.

SecurityAdvisory

A GitHub Security Advisory.

SecurityAdvisory Implements

Fields for SecurityAdvisory

NameDescription

classification (SecurityAdvisoryClassification!)

The classification of the advisory.

cvss (CVSS!)

The CVSS associated with this advisory.

cwes (CWEConnection!)

CWEs associated with this Advisory.

Arguments for cwes

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

databaseId (Int)

Identifies the primary key from the database.

description (String!)

This is a long plaintext description of the advisory.

ghsaId (String!)

The GitHub Security Advisory ID.

id (ID!)

The Node ID of the SecurityAdvisory object.

identifiers ([SecurityAdvisoryIdentifier!]!)

A list of identifiers for this advisory.

notificationsPermalink (URI)

The permalink for the advisory's dependabot alerts page.

origin (String!)

The organization that originated the advisory.

permalink (URI)

The permalink for the advisory.

publishedAt (DateTime!)

When the advisory was published.

references ([SecurityAdvisoryReference!]!)

A list of references for this advisory.

severity (SecurityAdvisorySeverity!)

The severity of the advisory.

summary (String!)

A short plaintext summary of the advisory.

updatedAt (DateTime!)

When the advisory was last updated.

vulnerabilities (SecurityVulnerabilityConnection!)

Vulnerabilities associated with this Advisory.

Arguments for vulnerabilities

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • package (String)

    A package name to filter vulnerabilities by.

withdrawnAt (DateTime)

When the advisory was withdrawn, if it has been withdrawn.

SecurityAdvisoryConnection

The connection type for SecurityAdvisory.

Fields for SecurityAdvisoryConnection

NameDescription

edges ([SecurityAdvisoryEdge])

A list of edges.

nodes ([SecurityAdvisory])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

SecurityAdvisoryEdge

An edge in a connection.

Fields for SecurityAdvisoryEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (SecurityAdvisory)

The item at the end of the edge.

SecurityAdvisoryIdentifier

A GitHub Security Advisory Identifier.

Fields for SecurityAdvisoryIdentifier

NameDescription

type (String!)

The identifier type, e.g. GHSA, CVE.

value (String!)

The identifier.

SecurityAdvisoryPackage

An individual package.

Fields for SecurityAdvisoryPackage

NameDescription

ecosystem (SecurityAdvisoryEcosystem!)

The ecosystem the package belongs to, e.g. RUBYGEMS, NPM.

name (String!)

The package name.

SecurityAdvisoryPackageVersion

An individual package version.

Fields for SecurityAdvisoryPackageVersion

NameDescription

identifier (String!)

The package name or version.

SecurityAdvisoryReference

A GitHub Security Advisory Reference.

Fields for SecurityAdvisoryReference

NameDescription

url (URI!)

A publicly accessible reference.

SecurityVulnerability

An individual vulnerability within an Advisory.

Fields for SecurityVulnerability

NameDescription

advisory (SecurityAdvisory!)

The Advisory associated with this Vulnerability.

firstPatchedVersion (SecurityAdvisoryPackageVersion)

The first version containing a fix for the vulnerability.

package (SecurityAdvisoryPackage!)

A description of the vulnerable package.

severity (SecurityAdvisorySeverity!)

The severity of the vulnerability within this package.

updatedAt (DateTime!)

When the vulnerability was last updated.

vulnerableVersionRange (String!)

A string that describes the vulnerable package versions. This string follows a basic syntax with a few forms.

  • = 0.2.0 denotes a single vulnerable version.
  • <= 1.0.8 denotes a version range up to and including the specified version
  • < 0.1.11 denotes a version range up to, but excluding, the specified version
  • >= 4.3.0, < 4.3.5 denotes a version range with a known minimum and maximum version.
  • >= 0.0.1 denotes a version range with a known minimum, but no known maximum.

SecurityVulnerabilityConnection

The connection type for SecurityVulnerability.

Fields for SecurityVulnerabilityConnection

NameDescription

edges ([SecurityVulnerabilityEdge])

A list of edges.

nodes ([SecurityVulnerability])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

SecurityVulnerabilityEdge

An edge in a connection.

Fields for SecurityVulnerabilityEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (SecurityVulnerability)

The item at the end of the edge.

SmimeSignature

Represents an S/MIME signature on a Commit or Tag.

SmimeSignature Implements

Fields for SmimeSignature

NameDescription

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.

state (GitSignatureState!)

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.

SocialAccount

Social media profile associated with a user.

Fields for SocialAccount

NameDescription

displayName (String!)

Name of the social media account as it appears on the profile.

provider (SocialAccountProvider!)

Software or company that hosts the social media account.

url (URI!)

URL of the social media account.

SocialAccountConnection

The connection type for SocialAccount.

Fields for SocialAccountConnection

NameDescription

edges ([SocialAccountEdge])

A list of edges.

nodes ([SocialAccount])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

SocialAccountEdge

An edge in a connection.

Fields for SocialAccountEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (SocialAccount)

The item at the end of the edge.

SshSignature

Represents an SSH signature on a Commit or Tag.

SshSignature Implements

Fields for SshSignature

NameDescription

email (String!)

Email used to sign this object.

isValid (Boolean!)

True if the signature is valid and verified by GitHub.

keyFingerprint (String)

Hex-encoded fingerprint of the key that signed this object.

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.

state (GitSignatureState!)

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.

StargazerConnection

The connection type for User.

Fields for StargazerConnection

NameDescription

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.

StargazerEdge

Represents a user that's starred a repository.

Fields for StargazerEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (User!)

N/A

starredAt (DateTime!)

Identifies when the item was starred.

StarredRepositoryConnection

The connection type for Repository.

Fields for StarredRepositoryConnection

NameDescription

edges ([StarredRepositoryEdge])

A list of edges.

isOverLimit (Boolean!)

Is the list of stars for this user truncated? This is true for users that have many stars.

nodes ([Repository])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

StarredRepositoryEdge

Represents a starred repository.

Fields for StarredRepositoryEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Repository!)

N/A

starredAt (DateTime!)

Identifies when the item was starred.

Status

Represents a commit status.

Status Implements

Fields for Status

NameDescription

combinedContexts (StatusCheckRollupContextConnection!)

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

Arguments for combinedContexts

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

commit (Commit)

The commit this status is attached to.

context (StatusContext)

Looks up an individual status context by context name.

Arguments for context

contexts ([StatusContext!]!)

The individual status contexts for this commit.

id (ID!)

The Node ID of the Status object.

state (StatusState!)

The combined commit status.

StatusCheckConfiguration

Required status check.

Fields for StatusCheckConfiguration

NameDescription

context (String!)

The status check context name that must be present on the commit.

integrationId (Int)

The optional integration ID that this status check must originate from.

StatusCheckRollup

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

StatusCheckRollup Implements

Fields for StatusCheckRollup

NameDescription

commit (Commit)

The commit the status and check runs are attached to.

contexts (StatusCheckRollupContextConnection!)

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

Arguments for contexts

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

id (ID!)

The Node ID of the StatusCheckRollup object.

state (StatusState!)

The combined status for the commit.

StatusCheckRollupContextConnection

The connection type for StatusCheckRollupContext.

Fields for StatusCheckRollupContextConnection

NameDescription

checkRunCount (Int!)

The number of check runs in this rollup.

checkRunCountsByState ([CheckRunStateCount!])

Counts of check runs by state.

edges ([StatusCheckRollupContextEdge])

A list of edges.

nodes ([StatusCheckRollupContext])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

statusContextCount (Int!)

The number of status contexts in this rollup.

statusContextCountsByState ([StatusContextStateCount!])

Counts of status contexts by state.

totalCount (Int!)

Identifies the total count of items in the connection.

StatusCheckRollupContextEdge

An edge in a connection.

Fields for StatusCheckRollupContextEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (StatusCheckRollupContext)

The item at the end of the edge.

StatusContext

Represents an individual commit status context.

StatusContext Implements

Fields for StatusContext

NameDescription

avatarUrl (URI)

The avatar of the OAuth application or the user that created the status.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

    The default value is 40.

commit (Commit)

This commit this status context is attached to.

context (String!)

The name of this status context.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created this status context.

description (String)

The description for this status context.

id (ID!)

The Node ID of the StatusContext object.

isRequired (Boolean!)

Whether this is required to pass before merging for a specific pull request.

Arguments for isRequired

  • pullRequestId (ID)

    The id of the pull request this is required for.

  • pullRequestNumber (Int)

    The number of the pull request this is required for.

state (StatusState!)

The state of this status context.

targetUrl (URI)

The URL for this status context.

StatusContextStateCount

Represents a count of the state of a status context.

Fields for StatusContextStateCount

NameDescription

count (Int!)

The number of statuses with this state.

state (StatusState!)

The state of a status context.

Submodule

A pointer to a repository at a specific revision embedded inside another repository.

Fields for Submodule

NameDescription

branch (String)

The branch of the upstream submodule for tracking updates.

gitUrl (URI!)

The git URL of the submodule repository.

name (String!)

The name of the submodule in .gitmodules.

nameRaw (Base64String!)

The name of the submodule in .gitmodules (Base64-encoded).

path (String!)

The path in the superproject that this submodule is located in.

pathRaw (Base64String!)

The path in the superproject that this submodule is located in (Base64-encoded).

subprojectCommitOid (GitObjectID)

The commit revision of the subproject repository being tracked by the submodule.

SubmoduleConnection

The connection type for Submodule.

Fields for SubmoduleConnection

NameDescription

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.

SubmoduleEdge

An edge in a connection.

Fields for SubmoduleEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Submodule)

The item at the end of the edge.

SubscribedEvent

Represents asubscribedevent on a given Subscribable.

SubscribedEvent Implements

Fields for SubscribedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the SubscribedEvent object.

subscribable (Subscribable!)

Object referenced by event.

SuggestedReviewer

A suggestion to review a pull request based on a user's commit history and review comments.

Fields for SuggestedReviewer

NameDescription

isAuthor (Boolean!)

Is this suggestion based on past commits?.

isCommenter (Boolean!)

Is this suggestion based on past review comments?.

reviewer (User!)

Identifies the user suggested to review the pull request.

Tag

Represents a Git tag.

Tag Implements

Fields for Tag

NameDescription

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 Tag object.

message (String)

The Git tag message.

name (String!)

The Git tag name.

oid (GitObjectID!)

The Git object ID.

repository (Repository!)

The Repository the Git object belongs to.

tagger (GitActor)

Details about the tag author.

target (GitObject!)

The Git object the tag points to.

TagNamePatternParameters

Parameters to be used for the tag_name_pattern rule.

Fields for TagNamePatternParameters

NameDescription

name (String)

How this rule will appear to users.

negate (Boolean!)

If true, the rule will fail if the pattern matches.

operator (String!)

The operator to use for matching.

pattern (String!)

The pattern to match with.

Team

A team of users in an organization.

Team Implements

Fields for Team

NameDescription

ancestors (TeamConnection!)

A list of teams that are ancestors of this team.

Arguments for ancestors

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

avatarUrl (URI)

A URL pointing to the team's avatar.

Arguments for avatarUrl

  • size (Int)

    The size in pixels of the resulting square image.

    The default value is 400.

childTeams (TeamConnection!)

List of child teams belonging to this team.

Arguments for childTeams

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • immediateOnly (Boolean)

    Whether to list immediate child teams or all descendant child teams.

    The default value is true.

  • last (Int)

    Returns the last n elements from the list.

  • userLogins ([String!])

    User logins to filter by.

combinedSlug (String!)

The slug corresponding to the organization and team.

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 team.

discussion (TeamDiscussion)

Find a team discussion by its number.

Arguments for discussion

  • number (Int!)

    The sequence number of the discussion to find.

discussions (TeamDiscussionConnection!)

A list of team discussions.

Arguments for discussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • isPinned (Boolean)

    If provided, filters discussions according to whether or not they are pinned.

  • last (Int)

    Returns the last n elements from the list.

discussionsResourcePath (URI!)

The HTTP path for team discussions.

discussionsUrl (URI!)

The HTTP URL for team discussions.

editTeamResourcePath (URI!)

The HTTP path for editing this team.

editTeamUrl (URI!)

The HTTP URL for editing this team.

id (ID!)

The Node ID of the Team object.

invitations (OrganizationInvitationConnection)

A list of pending invitations for users to this team.

Arguments for invitations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

memberStatuses (UserStatusConnection!)

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

Arguments for memberStatuses

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (UserStatusOrder)

    Ordering options for user statuses returned from the connection.

members (TeamMemberConnection!)

A list of users who are members of this team.

Arguments for members

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    The search string to look for.

membersResourcePath (URI!)

The HTTP path for the team' members.

membersUrl (URI!)

The HTTP URL for the team' members.

name (String!)

The name of the team.

newTeamResourcePath (URI!)

The HTTP path creating a new team.

newTeamUrl (URI!)

The HTTP URL creating a new team.

notificationSetting (TeamNotificationSetting!)

The notification setting that the team has set.

organization (Organization!)

The organization that owns this team.

parentTeam (Team)

The parent team of the team.

privacy (TeamPrivacy!)

The level of privacy the team has.

projectV2 (ProjectV2)

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

Arguments for projectV2

  • number (Int!)

    The Project number.

projectsV2 (ProjectV2Connection!)

List of projects this team has collaborator access to.

Arguments for projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterBy (ProjectV2Filters)

    Filtering options for projects returned from this connection.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    The query to search projects by.

    The default value is .

repositories (TeamRepositoryConnection!)

A list of repositories this team has access to.

Arguments for repositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    The search string to look for. Repositories will be returned where the name contains your search string.

repositoriesResourcePath (URI!)

The HTTP path for this team's repositories.

repositoriesUrl (URI!)

The HTTP URL for this team's repositories.

resourcePath (URI!)

The HTTP path for this team.

reviewRequestDelegationAlgorithm (TeamReviewAssignmentAlgorithm)

What algorithm is used for review assignment for this team.

reviewRequestDelegationEnabled (Boolean!)

True if review assignment is enabled for this team.

reviewRequestDelegationMemberCount (Int)

How many team members are required for review assignment for this team.

reviewRequestDelegationNotifyTeam (Boolean!)

When assigning team members via delegation, whether the entire team should be notified as well.

slug (String!)

The slug corresponding to the team.

teamsResourcePath (URI!)

The HTTP path for this team's teams.

teamsUrl (URI!)

The HTTP URL for this team's teams.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this team.

viewerCanAdminister (Boolean!)

Team is adminable by the viewer.

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.

TeamAddMemberAuditEntry

Audit log entry for a team.add_member event.

TeamAddMemberAuditEntry Implements

Fields for TeamAddMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the TeamAddMemberAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

team (Team)

The team associated with the action.

teamName (String)

The name of the team.

teamResourcePath (URI)

The HTTP path for this team.

teamUrl (URI)

The HTTP URL for this team.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

TeamAddRepositoryAuditEntry

Audit log entry for a team.add_repository event.

TeamAddRepositoryAuditEntry Implements

Fields for TeamAddRepositoryAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the TeamAddRepositoryAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

team (Team)

The team associated with the action.

teamName (String)

The name of the team.

teamResourcePath (URI)

The HTTP path for this team.

teamUrl (URI)

The HTTP URL for this team.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

TeamChangeParentTeamAuditEntry

Audit log entry for a team.change_parent_team event.

TeamChangeParentTeamAuditEntry Implements

Fields for TeamChangeParentTeamAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the TeamChangeParentTeamAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

parentTeam (Team)

The new parent team.

parentTeamName (String)

The name of the new parent team.

parentTeamNameWas (String)

The name of the former parent team.

parentTeamResourcePath (URI)

The HTTP path for the parent team.

parentTeamUrl (URI)

The HTTP URL for the parent team.

parentTeamWas (Team)

The former parent team.

parentTeamWasResourcePath (URI)

The HTTP path for the previous parent team.

parentTeamWasUrl (URI)

The HTTP URL for the previous parent team.

team (Team)

The team associated with the action.

teamName (String)

The name of the team.

teamResourcePath (URI)

The HTTP path for this team.

teamUrl (URI)

The HTTP URL for this team.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

TeamConnection

The connection type for Team.

Fields for TeamConnection

NameDescription

edges ([TeamEdge])

A list of edges.

nodes ([Team])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

TeamDiscussion

A team discussion.

TeamDiscussion Implements

Fields for TeamDiscussion

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the discussion's team.

Warning

authorAssociation is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

body (String!)

The body as Markdown.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

bodyVersion (String!)

Identifies the discussion body hash.

Warning

bodyVersion is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

comments (TeamDiscussionCommentConnection!)

A list of comments on this discussion.

Warning

comments is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • fromComment (Int)

    When provided, filters the connection such that results begin with the comment with this number.

  • last (Int)

    Returns the last n elements from the list.

commentsResourcePath (URI!)

The HTTP path for discussion comments.

Warning

commentsResourcePath is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

commentsUrl (URI!)

The HTTP URL for discussion comments.

Warning

commentsUrl is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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 TeamDiscussion object.

includesCreatedEdit (Boolean!)

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

isPinned (Boolean!)

Whether or not the discussion is pinned.

Warning

isPinned is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

isPrivate (Boolean!)

Whether or not the discussion is only visible to team members and organization owners.

Warning

isPrivate is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

lastEditedAt (DateTime)

The moment the editor made the last edit.

number (Int!)

Identifies the discussion within its team.

Warning

number is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

resourcePath (URI!)

The HTTP path for this discussion.

Warning

resourcePath is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

team (Team!)

The team that defines the context of this discussion.

Warning

team is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

title (String!)

The title of the discussion.

Warning

title is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this discussion.

Warning

url is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanPin (Boolean!)

Whether or not the current viewer can pin this discussion.

Warning

viewerCanPin is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

viewerCanReact (Boolean!)

Can user react to this subject.

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.

TeamDiscussionComment

A comment on a team discussion.

TeamDiscussionComment Implements

Fields for TeamDiscussionComment

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the comment's team.

Warning

authorAssociation is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

body (String!)

The body as Markdown.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

bodyVersion (String!)

The current version of the body content.

Warning

bodyVersion is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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.

discussion (TeamDiscussion!)

The discussion this comment is about.

Warning

discussion is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

editor (Actor)

The actor who edited the comment.

id (ID!)

The Node ID of the TeamDiscussionComment object.

includesCreatedEdit (Boolean!)

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

lastEditedAt (DateTime)

The moment the editor made the last edit.

number (Int!)

Identifies the comment number.

Warning

number is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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.

Arguments for reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

resourcePath (URI!)

The HTTP path for this comment.

Warning

resourcePath is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this comment.

Warning

url is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanReact (Boolean!)

Can user react to this subject.

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.

TeamDiscussionCommentConnection

The connection type for TeamDiscussionComment.

Fields for TeamDiscussionCommentConnection

NameDescription

edges ([TeamDiscussionCommentEdge])

A list of edges.

nodes ([TeamDiscussionComment])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

TeamDiscussionCommentEdge

An edge in a connection.

Fields for TeamDiscussionCommentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (TeamDiscussionComment)

The item at the end of the edge.

TeamDiscussionConnection

The connection type for TeamDiscussion.

Fields for TeamDiscussionConnection

NameDescription

edges ([TeamDiscussionEdge])

A list of edges.

nodes ([TeamDiscussion])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

TeamDiscussionEdge

An edge in a connection.

Fields for TeamDiscussionEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (TeamDiscussion)

The item at the end of the edge.

TeamEdge

An edge in a connection.

Fields for TeamEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Team)

The item at the end of the edge.

TeamMemberConnection

The connection type for User.

Fields for TeamMemberConnection

NameDescription

edges ([TeamMemberEdge])

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.

TeamMemberEdge

Represents a user who is a member of a team.

Fields for TeamMemberEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

memberAccessResourcePath (URI!)

The HTTP path to the organization's member access page.

memberAccessUrl (URI!)

The HTTP URL to the organization's member access page.

node (User!)

N/A

role (TeamMemberRole!)

The role the member has on the team.

TeamRemoveMemberAuditEntry

Audit log entry for a team.remove_member event.

TeamRemoveMemberAuditEntry Implements

Fields for TeamRemoveMemberAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the TeamRemoveMemberAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

team (Team)

The team associated with the action.

teamName (String)

The name of the team.

teamResourcePath (URI)

The HTTP path for this team.

teamUrl (URI)

The HTTP URL for this team.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

TeamRemoveRepositoryAuditEntry

Audit log entry for a team.remove_repository event.

TeamRemoveRepositoryAuditEntry Implements

Fields for TeamRemoveRepositoryAuditEntry

NameDescription

action (String!)

The action name.

actor (AuditEntryActor)

The user who initiated the action.

actorIp (String)

The IP address of the actor.

actorLocation (ActorLocation)

A readable representation of the actor's location.

actorLogin (String)

The username of the user who initiated the action.

actorResourcePath (URI)

The HTTP path for the actor.

actorUrl (URI)

The HTTP URL for the actor.

createdAt (PreciseDateTime!)

The time the action was initiated.

id (ID!)

The Node ID of the TeamRemoveRepositoryAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

operationType (OperationType)

The corresponding operation type for the action.

organization (Organization)

The Organization associated with the Audit Entry.

organizationName (String)

The name of the Organization.

organizationResourcePath (URI)

The HTTP path for the organization.

organizationUrl (URI)

The HTTP URL for the organization.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

team (Team)

The team associated with the action.

teamName (String)

The name of the team.

teamResourcePath (URI)

The HTTP path for this team.

teamUrl (URI)

The HTTP URL for this team.

user (User)

The user affected by the action.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

userResourcePath (URI)

The HTTP path for the user.

userUrl (URI)

The HTTP URL for the user.

TeamRepositoryConnection

The connection type for Repository.

Fields for TeamRepositoryConnection

NameDescription

edges ([TeamRepositoryEdge])

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.

TeamRepositoryEdge

Represents a team repository.

Fields for TeamRepositoryEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Repository!)

N/A

permission (RepositoryPermission!)

The permission level the team has on the repository.

TextMatch

A text match within a search result.

Fields for TextMatch

NameDescription

fragment (String!)

The specific text fragment within the property matched on.

highlights ([TextMatchHighlight!]!)

Highlights within the matched fragment.

property (String!)

The property matched on.

TextMatchHighlight

Represents a single highlight in a search result match.

Fields for TextMatchHighlight

NameDescription

beginIndice (Int!)

The indice in the fragment where the matched text begins.

endIndice (Int!)

The indice in the fragment where the matched text ends.

text (String!)

The text matched.

Topic

A topic aggregates entities that are related to a subject.

Topic Implements

Fields for Topic

NameDescription

id (ID!)

The Node ID of the Topic object.

name (String!)

The topic's name.

relatedTopics ([Topic!]!)

A list of related topics, including aliases of this topic, sorted with the most relevant first. Returns up to 10 Topics.

Arguments for relatedTopics

  • first (Int)

    How many topics to return.

    The default value is 3.

repositories (RepositoryConnection!)

A list of repositories.

Arguments for repositories

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

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.

Arguments for stargazers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerHasStarred (Boolean!)

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

TransferredEvent

Represents atransferredevent on a given issue or pull request.

TransferredEvent Implements

Fields for TransferredEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

fromRepository (Repository)

The repository this came from.

id (ID!)

The Node ID of the TransferredEvent object.

issue (Issue!)

Identifies the issue associated with the event.

Tree

Represents a Git tree.

Tree Implements

Fields for Tree

NameDescription

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.

oid (GitObjectID!)

The Git object ID.

repository (Repository!)

The Repository the Git object belongs to.

TreeEntry

Represents a Git tree entry.

Fields for TreeEntry

NameDescription

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.

oid (GitObjectID!)

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.

UnassignedEvent

Represents anunassignedevent on any assignable object.

UnassignedEvent Implements

Fields for UnassignedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

assignable (Assignable!)

Identifies the assignable associated with the event.

assignee (Assignee)

Identifies the user or mannequin that was unassigned.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnassignedEvent object.

user (User)

Identifies the subject (user) who was unassigned.

Warning

user is deprecated.

Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

UnknownSignature

Represents an unknown signature on a Commit or Tag.

UnknownSignature Implements

Fields for UnknownSignature

NameDescription

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.

state (GitSignatureState!)

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.

UnlabeledEvent

Represents anunlabeledevent on a given issue or pull request.

UnlabeledEvent Implements

Fields for UnlabeledEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnlabeledEvent object.

label (Label!)

Identifies the label associated with theunlabeledevent.

labelable (Labelable!)

Identifies the Labelable associated with the event.

UnlockedEvent

Represents anunlockedevent on a given issue or pull request.

UnlockedEvent Implements

Fields for UnlockedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnlockedEvent object.

lockable (Lockable!)

Object that was unlocked.

UnmarkedAsDuplicateEvent

Represents anunmarked_as_duplicateevent on a given issue or pull request.

UnmarkedAsDuplicateEvent Implements

Fields for UnmarkedAsDuplicateEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

canonical (IssueOrPullRequest)

The authoritative issue or pull request which has been duplicated by another.

createdAt (DateTime!)

Identifies the date and time when the object was created.

duplicate (IssueOrPullRequest)

The issue or pull request which has been marked as a duplicate of another.

id (ID!)

The Node ID of the UnmarkedAsDuplicateEvent object.

isCrossRepository (Boolean!)

Canonical and duplicate belong to different repositories.

UnpinnedEvent

Represents anunpinnedevent on a given issue or pull request.

UnpinnedEvent Implements

Fields for UnpinnedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnpinnedEvent object.

issue (Issue!)

Identifies the issue associated with the event.

UnsubscribedEvent

Represents anunsubscribedevent on a given Subscribable.

UnsubscribedEvent Implements

Fields for UnsubscribedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnsubscribedEvent object.

subscribable (Subscribable!)

Object referenced by event.

UpdateParameters

Only allow users with bypass permission to update matching refs.

Fields for UpdateParameters

NameDescription

updateAllowsFetchAndMerge (Boolean!)

Branch can pull changes from its upstream repository.

User

A user is an individual's account on GitHub that owns repositories and can make new content.

User Implements

Fields for User

NameDescription

anyPinnableItems (Boolean!)

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

Arguments for anyPinnableItems

avatarUrl (URI!)

A URL pointing to the user's public avatar.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

bio (String)

The user's public profile bio.

bioHTML (HTML!)

The user's public profile bio as HTML.

canReceiveOrganizationEmailsWhenNotificationsRestricted (Boolean!)

Could this user receive email notifications, if the organization had notification restrictions enabled?.

Arguments for canReceiveOrganizationEmailsWhenNotificationsRestricted

  • login (String!)

    The login of the organization to check.

commitComments (CommitCommentConnection!)

A list of commit comments made by this user.

Arguments for commitComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

company (String)

The user's public profile company.

companyHTML (HTML!)

The user's public profile company as HTML.

contributionsCollection (ContributionsCollection!)

The collection of contributions this user has made to different repositories.

Arguments for contributionsCollection

  • from (DateTime)

    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.

  • organizationID (ID)

    The ID of the organization used to filter contributions.

  • to (DateTime)

    Only contributions made before and up to (including) this time will be counted. If omitted, defaults to the current time or one year from the provided from argument.

copilotEndpoints (CopilotEndpoints)

The user's Copilot endpoint information.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

email (String!)

The user's publicly visible profile email.

enterprises (EnterpriseConnection)

A list of enterprises that the user belongs to.

Arguments for enterprises

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • membershipType (EnterpriseMembershipType)

    Filter enterprises returned based on the user's membership type.

    The default value is ALL.

followers (FollowerConnection!)

A list of users the given user is followed by.

Arguments for followers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

following (FollowingConnection!)

A list of users the given user is following.

Arguments for following

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

gist (Gist)

Find gist by repo name.

Arguments for gist

  • name (String!)

    The gist name to find.

gistComments (GistCommentConnection!)

A list of gist comments made by this user.

Arguments for gistComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

gists (GistConnection!)

A list of the Gists the user has created.

Arguments for gists

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (GistOrder)

    Ordering options for gists returned from the connection.

  • privacy (GistPrivacy)

    Filters Gists according to privacy.

hovercard (Hovercard!)

The hovercard information for this user in a given context.

Arguments for hovercard

  • primarySubjectId (ID)

    The ID of the subject to get the hovercard in the context of.

id (ID!)

The Node ID of the User object.

isBountyHunter (Boolean!)

Whether or not this user is a participant in the GitHub Security Bug Bounty.

isCampusExpert (Boolean!)

Whether or not this user is a participant in the GitHub Campus Experts Program.

isDeveloperProgramMember (Boolean!)

Whether or not this user is a GitHub Developer Program member.

isEmployee (Boolean!)

Whether or not this user is a GitHub employee.

isFollowingViewer (Boolean!)

Whether or not this user is following the viewer. Inverse of viewerIsFollowing.

isGitHubStar (Boolean!)

Whether or not this user is a member of the GitHub Stars Program.

isHireable (Boolean!)

Whether or not the user has marked themselves as for hire.

isSiteAdmin (Boolean!)

Whether or not this user is a site administrator.

isViewer (Boolean!)

Whether or not this user is the viewing user.

issueComments (IssueCommentConnection!)

A list of issue comments made by this user.

Arguments for issueComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueCommentOrder)

    Ordering options for issue comments returned from the connection.

issues (IssueConnection!)

A list of issues associated with this user.

Arguments for issues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

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.

lists (UserListConnection!)

A user-curated list of repositories.

Arguments for lists

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

location (String)

The user's public profile location.

login (String!)

The username used to login.

name (String)

The user's public profile name.

organization (Organization)

Find an organization by its login that the user belongs to.

Arguments for organization

  • login (String!)

    The login of the organization to find.

organizationVerifiedDomainEmails ([String!]!)

Verified email addresses that match verified domains for a specified organization the user is a member of.

Arguments for organizationVerifiedDomainEmails

  • login (String!)

    The login of the organization to match verified domains from.

organizations (OrganizationConnection!)

A list of organizations the user belongs to.

Arguments for organizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

packages (PackageConnection!)

A list of packages under the owner.

Arguments for packages

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • names ([String])

    Find packages by their names.

  • packageType (PackageType)

    Filter registry package by type.

  • repositoryId (ID)

    Find packages in a repository by ID.

pinnableItems (PinnableItemConnection!)

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

Arguments for pinnableItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItems (PinnableItemConnection!)

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

Arguments for pinnedItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItemsRemaining (Int!)

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

project (Project)

Find project by number.

Arguments for project

  • number (Int!)

    The project number to find.

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projects (ProjectConnection!)

A list of projects under the owner.

Arguments for projects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectOrder)

    Ordering options for projects returned from the connection.

  • search (String)

    Query to search projects by, currently only searching by name.

projectsResourcePath (URI!)

The HTTP path listing user's projects.

projectsUrl (URI!)

The HTTP URL listing user's projects.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for under the the owner.

pronouns (String)

The user's profile pronouns.

publicKeys (PublicKeyConnection!)

A list of public keys associated with this user.

Arguments for publicKeys

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pullRequests (PullRequestConnection!)

A list of pull requests associated with this user.

Arguments for pullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

recentProjects (ProjectV2Connection!)

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

Arguments for recentProjects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repositories (RepositoryConnection!)

A list of repositories that the user owns.

Arguments for repositories

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isArchived (Boolean)

    If non-null, filters repositories according to whether they are archived and not maintained.

  • isFork (Boolean)

    If non-null, filters repositories according to whether they are forks of another repository.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

repositoriesContributedTo (RepositoryConnection!)

A list of repositories that the user recently contributed to.

Arguments for repositoriesContributedTo

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • contributionTypes ([RepositoryContributionType])

    If non-null, include only the specified types of contributions. The GitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY].

  • first (Int)

    Returns the first n elements from the list.

  • hasIssues (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • includeUserRepositories (Boolean)

    If true, include user repositories.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

repository (Repository)

Find Repository.

Arguments for repository

  • followRenames (Boolean)

    Follow repository renames. If disabled, a repository referenced by its old name will return an error.

    The default value is true.

  • name (String!)

    Name of Repository to find.

repositoryDiscussionComments (DiscussionCommentConnection!)

Discussion comments this user has authored.

Arguments for repositoryDiscussionComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • onlyAnswers (Boolean)

    Filter discussion comments to only those that were marked as the answer.

    The default value is false.

  • repositoryId (ID)

    Filter discussion comments to only those in a specific repository.

repositoryDiscussions (DiscussionConnection!)

Discussions this user has started.

Arguments for repositoryDiscussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • answered (Boolean)

    Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DiscussionOrder)

    Ordering options for discussions returned from the connection.

  • repositoryId (ID)

    Filter discussions to only those in a specific repository.

resourcePath (URI!)

The HTTP path for this user.

savedReplies (SavedReplyConnection)

Replies this user has saved.

Arguments for savedReplies

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

socialAccounts (SocialAccountConnection!)

The user's social media accounts, ordered as they appear on the user's profile.

Arguments for socialAccounts

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

starredRepositories (StarredRepositoryConnection!)

Repositories the user has starred.

Arguments for starredRepositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • ownedByViewer (Boolean)

    Filters starred repositories to only return repositories owned by the viewer.

status (UserStatus)

The user's description of what they're currently doing.

suggestedListNames ([UserListSuggestion!]!)

Suggested names for user lists.

suspendedAt (DateTime)

Identifies the date and time when the user was suspended.

topRepositories (RepositoryConnection!)

Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created.

Arguments for topRepositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder!)

    Ordering options for repositories returned from the connection.

  • since (DateTime)

    How far back in time to fetch contributed repositories.

twitterUsername (String)

The user's Twitter username.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this user.

viewerCanChangePinnedItems (Boolean!)

Can the viewer pin repositories and gists to the profile?.

viewerCanCreateProjects (Boolean!)

Can the current viewer create new projects on this owner.

viewerCanFollow (Boolean!)

Whether or not the viewer is able to follow the user.

viewerIsFollowing (Boolean!)

Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.

watching (RepositoryConnection!)

A list of repositories the given user is watching.

Arguments for watching

  • affiliations ([RepositoryAffiliation])

    Affiliation options for repositories returned from the connection. If none specified, the results will include repositories for which the current viewer is an owner or collaborator, or member.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

websiteUrl (URI)

A URL pointing to the user's public website/blog.

UserBlockedEvent

Represents auser_blockedevent on a given user.

UserBlockedEvent Implements

Fields for UserBlockedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

blockDuration (UserBlockDuration!)

Number of days that the user was blocked for.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UserBlockedEvent object.

subject (User)

The user who was blocked.

UserConnection

A list of users.

Fields for UserConnection

NameDescription

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.

UserContentEdit

An edit on user content.

UserContentEdit Implements

Fields for UserContentEdit

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

deletedAt (DateTime)

Identifies the date and time when the object was deleted.

deletedBy (Actor)

The actor who deleted this content.

diff (String)

A summary of the changes for this edit.

editedAt (DateTime!)

When this content was edited.

editor (Actor)

The actor who edited this content.

id (ID!)

The Node ID of the UserContentEdit object.

updatedAt (DateTime!)

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

UserContentEditConnection

A list of edits to content.

Fields for UserContentEditConnection

NameDescription

edges ([UserContentEditEdge])

A list of edges.

nodes ([UserContentEdit])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserContentEditEdge

An edge in a connection.

Fields for UserContentEditEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (UserContentEdit)

The item at the end of the edge.

UserEdge

Represents a user.

Fields for UserEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (User)

The item at the end of the edge.

UserEmailMetadata

Email attributes from External Identity.

Fields for UserEmailMetadata

NameDescription

primary (Boolean)

Boolean to identify primary emails.

type (String)

Type of email.

value (String!)

Email id.

UserList

A user-curated list of repositories.

UserList Implements

Fields for UserList

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

description (String)

The description of this list.

id (ID!)

The Node ID of the UserList object.

isPrivate (Boolean!)

Whether or not this list is private.

items (UserListItemsConnection!)

The items associated with this list.

Arguments for items

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

lastAddedAt (DateTime!)

The date and time at which this list was created or last had items added to it.

name (String!)

The name of this list.

slug (String!)

The slug of this list.

updatedAt (DateTime!)

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

user (User!)

The user to which this list belongs.

UserListConnection

The connection type for UserList.

Fields for UserListConnection

NameDescription

edges ([UserListEdge])

A list of edges.

nodes ([UserList])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserListEdge

An edge in a connection.

Fields for UserListEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (UserList)

The item at the end of the edge.

UserListItemsConnection

The connection type for UserListItems.

Fields for UserListItemsConnection

NameDescription

edges ([UserListItemsEdge])

A list of edges.

nodes ([UserListItems])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserListItemsEdge

An edge in a connection.

Fields for UserListItemsEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (UserListItems)

The item at the end of the edge.

UserListSuggestion

Represents a suggested user list.

Fields for UserListSuggestion

NameDescription

id (ID)

The ID of the suggested user list.

name (String)

The name of the suggested user list.

UserStatus

The user's description of what they're currently doing.

UserStatus Implements

Fields for UserStatus

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

emoji (String)

An emoji summarizing the user's status.

emojiHTML (HTML)

The status emoji as HTML.

expiresAt (DateTime)

If set, the status will not be shown after this date.

id (ID!)

The Node ID of the UserStatus object.

indicatesLimitedAvailability (Boolean!)

Whether this status indicates the user is not fully available on GitHub.

message (String)

A brief message describing what the user is doing.

organization (Organization)

The organization whose members can see this status. If null, this status is publicly visible.

updatedAt (DateTime!)

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

user (User!)

The user who has this status.

UserStatusConnection

The connection type for UserStatus.

Fields for UserStatusConnection

NameDescription

edges ([UserStatusEdge])

A list of edges.

nodes ([UserStatus])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserStatusEdge

An edge in a connection.

Fields for UserStatusEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (UserStatus)

The item at the end of the edge.

VerifiableDomain

A domain that can be verified or approved for an organization or an enterprise.

VerifiableDomain Implements

Fields for VerifiableDomain

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

dnsHostName (URI)

The DNS host name that should be used for verification.

domain (URI!)

The unicode encoded domain.

hasFoundHostName (Boolean!)

Whether a TXT record for verification with the expected host name was found.

hasFoundVerificationToken (Boolean!)

Whether a TXT record for verification with the expected verification token was found.

id (ID!)

The Node ID of the VerifiableDomain object.

isApproved (Boolean!)

Whether or not the domain is approved.

isRequiredForPolicyEnforcement (Boolean!)

Whether this domain is required to exist for an organization or enterprise policy to be enforced.

isVerified (Boolean!)

Whether or not the domain is verified.

owner (VerifiableDomainOwner!)

The owner of the domain.

punycodeEncodedDomain (URI!)

The punycode encoded domain.

tokenExpirationTime (DateTime)

The time that the current verification token will expire.

updatedAt (DateTime!)

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

verificationToken (String)

The current verification token for the domain.

VerifiableDomainConnection

The connection type for VerifiableDomain.

Fields for VerifiableDomainConnection

NameDescription

edges ([VerifiableDomainEdge])

A list of edges.

nodes ([VerifiableDomain])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

VerifiableDomainEdge

An edge in a connection.

Fields for VerifiableDomainEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (VerifiableDomain)

The item at the end of the edge.

ViewerHovercardContext

A hovercard context with a message describing how the viewer is related.

ViewerHovercardContext Implements

Fields for ViewerHovercardContext

NameDescription

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

viewer (User!)

Identifies the user who is related to this context.

Workflow

A workflow contains meta information about an Actions workflow file.

Workflow Implements

Fields for Workflow

NameDescription

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the Workflow object.

name (String!)

The name of the workflow.

resourcePath (URI!)

The HTTP path for this workflow.

runs (WorkflowRunConnection!)

The runs of the workflow.

Arguments for runs

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

state (WorkflowState!)

The state of the workflow.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this workflow.

WorkflowFileReference

A workflow that must run for this rule to pass.

Fields for WorkflowFileReference

NameDescription

path (String!)

The path to the workflow file.

ref (String)

The ref (branch or tag) of the workflow file to use.

repositoryId (Int!)

The ID of the repository where the workflow is defined.

sha (String)

The commit SHA of the workflow file to use.

WorkflowRun

A workflow run.

WorkflowRun Implements

Fields for WorkflowRun

NameDescription

checkSuite (CheckSuite!)

The check suite this workflow run belongs to.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

deploymentReviews (DeploymentReviewConnection!)

The log of deployment reviews.

Arguments for deploymentReviews

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

event (String!)

The event that triggered the workflow run.

file (WorkflowRunFile)

The workflow file.

id (ID!)

The Node ID of the WorkflowRun object.

pendingDeploymentRequests (DeploymentRequestConnection!)

The pending deployment requests of all check runs in this workflow run.

Arguments for pendingDeploymentRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

resourcePath (URI!)

The HTTP path for this workflow run.

runNumber (Int!)

A number that uniquely identifies this workflow run in its parent workflow.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this workflow run.

workflow (Workflow!)

The workflow executed in this workflow run.

WorkflowRunConnection

The connection type for WorkflowRun.

Fields for WorkflowRunConnection

NameDescription

edges ([WorkflowRunEdge])

A list of edges.

nodes ([WorkflowRun])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

WorkflowRunEdge

An edge in a connection.

Fields for WorkflowRunEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (WorkflowRun)

The item at the end of the edge.

WorkflowRunFile

An executed workflow file for a workflow run.

WorkflowRunFile Implements

Fields for WorkflowRunFile

NameDescription

id (ID!)

The Node ID of the WorkflowRunFile object.

path (String!)

The path of the workflow file relative to its repository.

repositoryFileUrl (URI!)

The direct link to the file in the repository which stores the workflow file.

repositoryName (URI!)

The repository name and owner which stores the workflow file.

resourcePath (URI!)

The HTTP path for this workflow run file.

run (WorkflowRun!)

The parent workflow run execution for this file.

url (URI!)

The HTTP URL for this workflow run file.

viewerCanPushRepository (Boolean!)

If the viewer has permissions to push to the repository which stores the workflow.

viewerCanReadRepository (Boolean!)

If the viewer has permissions to read the repository which stores the workflow.

WorkflowsParameters

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

Fields for WorkflowsParameters

NameDescription

doNotEnforceOnCreate (Boolean!)

Allow repositories and branches to be created if a check would otherwise prohibit it.

workflows ([WorkflowFileReference!]!)

Workflows that must pass for this rule to pass.