Input objects can be described as "composable objects" because they include a set of input fields that define the object.
Autogenerated input type of AbortQueuedMigrations
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
ownerId (ID!) | The ID of the organization that is running the migrations. |
Autogenerated input type of AcceptEnterpriseAdministratorInvitation
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
invitationId (ID!) | The id of the invitation being accepted |
Autogenerated input type of AcceptTopicSuggestion
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
name (String!) | The name of the suggested topic. |
repositoryId (ID!) | The Node ID of the repository. |
Autogenerated input type of AddAssigneesToAssignable
Name | Description |
---|---|
assignableId (ID!) | The id of the assignable object to add assignees to. |
assigneeIds ([ID!]!) | The id of users to add as assignees. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
Autogenerated input type of AddComment
Name | Description |
---|---|
body (String!) | The contents of the comment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
subjectId (ID!) | The Node ID of the subject to modify. |
Autogenerated input type of AddDiscussionComment
Name | Description |
---|---|
body (String!) | The contents of the comment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
discussionId (ID!) | The Node ID of the discussion to comment on. |
replyToId (ID) | The Node ID of the discussion comment within this discussion to reply to. |
Autogenerated input type of AddEnterpriseSupportEntitlement
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the Enterprise which the admin belongs to. |
login (String!) | The login of a member who will receive the support entitlement. |
Autogenerated input type of AddLabelsToLabelable
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
labelIds ([ID!]!) | The ids of the labels to add. |
labelableId (ID!) | The id of the labelable object to add labels to. |
Autogenerated input type of AddProjectCard
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
contentId (ID) | The content of the card. Must be a member of the ProjectCardItem union |
note (String) | The note on the card. |
projectColumnId (ID!) | The Node ID of the ProjectColumn. |
Autogenerated input type of AddProjectColumn
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
name (String!) | The name of the column. |
projectId (ID!) | The Node ID of the project. |
Autogenerated input type of AddProjectNextItem
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
contentId (ID!) | The content id of the item (Issue or PullRequest). |
projectId (ID!) | The ID of the Project to add the item to. |
Autogenerated input type of AddPullRequestReviewComment
Name | Description |
---|---|
body (String!) | The text of the comment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
commitOID (GitObjectID) | The SHA of the commit to comment on. |
inReplyTo (ID) | The comment id to reply to. |
path (String) | The relative path of the file to comment on. |
position (Int) | The line index in the diff to comment on. |
pullRequestId (ID) | The node ID of the pull request reviewing |
pullRequestReviewId (ID) | The Node ID of the review to modify. |
Autogenerated input type of AddPullRequestReview
Name | Description |
---|---|
body (String) | The contents of the review body comment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
comments ([DraftPullRequestReviewComment]) | The review line comments. |
commitOID (GitObjectID) | The commit OID the review pertains to. |
event (PullRequestReviewEvent) | The event to perform on the pull request review. |
pullRequestId (ID!) | The Node ID of the pull request to modify. |
threads ([DraftPullRequestReviewThread]) | The review line comment threads. |
Autogenerated input type of AddPullRequestReviewThread
Name | Description |
---|---|
body (String!) | Body of the thread’s first comment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
line (Int!) | The line of the blob to which the thread refers. The end of the line range for multi-line comments. |
path (String!) | Path to the file being commented on. |
pullRequestId (ID) | The node ID of the pull request reviewing |
pullRequestReviewId (ID) | The Node ID of the review to modify. |
side (DiffSide) | The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. |
startLine (Int) | The first line of the range to which the comment refers. |
startSide (DiffSide) | The side of the diff on which the start line resides. |
Autogenerated input type of AddReaction
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
content (ReactionContent!) | The name of the emoji to react with. |
subjectId (ID!) | The Node ID of the subject to modify. |
Autogenerated input type of AddStar
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
starrableId (ID!) | The Starrable ID to star. |
Autogenerated input type of AddUpvote
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
subjectId (ID!) | The Node ID of the discussion or comment to upvote. |
Autogenerated input type of AddVerifiableDomain
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
domain (URI!) | The URL of the domain |
ownerId (ID!) | The ID of the owner to add the domain to |
Autogenerated input type of ApproveDeployments
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
comment (String) | Optional comment for approving deployments |
environmentIds ([ID!]!) | The ids of environments to reject deployments |
workflowRunId (ID!) | The node ID of the workflow run containing the pending deployments. |
Autogenerated input type of ApproveVerifiableDomain
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the verifiable domain to approve. |
Autogenerated input type of ArchiveRepository
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
repositoryId (ID!) | The ID of the repository to mark as archived. |
Ordering options for Audit Log connections.
Name | Description |
---|---|
direction (OrderDirection) | The ordering direction. |
field (AuditLogOrderField) | The field to order Audit Logs by. |
Autogenerated input type of CancelEnterpriseAdminInvitation
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
invitationId (ID!) | The Node ID of the pending enterprise administrator invitation. |
Autogenerated input type of CancelSponsorship
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
sponsorId (ID) | The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. |
sponsorLogin (String) | The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. |
sponsorableId (ID) | The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. |
sponsorableLogin (String) | The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. |
Autogenerated input type of ChangeUserStatus
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
emoji (String) | The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., 😀. |
expiresAt (DateTime) | If set, the user status will not be shown after this date. |
limitedAvailability (Boolean) | Whether this status should indicate you are not fully available on GitHub, e.g., you are away. |
message (String) | A short description of your current status. |
organizationId (ID) | The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. |
Information from a check run analysis to specific lines of code.
Name | Description |
---|---|
annotationLevel (CheckAnnotationLevel!) | Represents an annotation’s information level |
location (CheckAnnotationRange!) | The location of the annotation |
message (String!) | A short description of the feedback for these lines of code. |
path (String!) | The path of the file to add an annotation to. |
rawDetails (String) | Details about this annotation. |
title (String) | The title that represents the annotation. |
Information from a check run analysis to specific lines of code.
Name | Description |
---|---|
endColumn (Int) | The ending column of the range. |
endLine (Int!) | The ending line of the range. |
startColumn (Int) | The starting column of the range. |
startLine (Int!) | The starting line of the range. |
Possible further actions the integrator can perform.
Name | Description |
---|---|
description (String!) | A short explanation of what this action would do. |
identifier (String!) | A reference for the action on the integrator’s system. |
label (String!) | The text to be displayed on a button in the web UI. |
The filters that are available when fetching check runs.
Name | Description |
---|---|
appId (Int) | Filters the check runs created by this application ID. |
checkName (String) | Filters the check runs by this name. |
checkType (CheckRunType) | Filters the check runs by this type. |
status (CheckStatusState) | Filters the check runs by this status. |
Descriptive details about the check run.
Name | Description |
---|---|
annotations ([CheckAnnotationData!]) | The annotations that are made as part of the check run. |
images ([CheckRunOutputImage!]) | Images attached to the check run output displayed in the GitHub pull request UI. |
summary (String!) | The summary of the check run (supports Commonmark). |
text (String) | The details of the check run (supports Commonmark). |
title (String!) | A title to provide for this check run. |
Images attached to the check run output displayed in the GitHub pull request UI.
Name | Description |
---|---|
alt (String!) | The alternative text for the image. |
caption (String) | A short image description. |
imageUrl (URI!) | The full URL of the image. |
The auto-trigger preferences that are available for check suites.
Name | Description |
---|---|
appId (ID!) | The node ID of the application that owns the check suite. |
setting (Boolean!) | Set to |
The filters that are available when fetching check suites.
Name | Description |
---|---|
appId (Int) | Filters the check suites created by this application ID. |
checkName (String) | Filters the check suites by this name. |
Autogenerated input type of ClearLabelsFromLabelable
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
labelableId (ID!) | The id of the labelable object to clear the labels from. |
Autogenerated input type of CloneProject
Name | Description |
---|---|
body (String) | The description of the project. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
includeWorkflows (Boolean!) | Whether or not to clone the source project’s workflows. |
name (String!) | The name of the project. |
public (Boolean) | The visibility of the project, defaults to false (private). |
sourceId (ID!) | The source project to clone. |
targetOwnerId (ID!) | The owner ID to create the project under. |
Autogenerated input type of CloneTemplateRepository
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
description (String) | A short description of the new repository. |
includeAllBranches (Boolean) | Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. |
name (String!) | The name of the new repository. |
ownerId (ID!) | The ID of the owner for the new repository. |
repositoryId (ID!) | The Node ID of the template repository. |
visibility (RepositoryVisibility!) | Indicates the repository’s visibility level. |
Autogenerated input type of CloseIssue
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
issueId (ID!) | ID of the issue to be closed. |
Autogenerated input type of ClosePullRequest
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestId (ID!) | ID of the pull request to be closed. |
Specifies an author for filtering Git commits.
Name | Description |
---|---|
emails ([String!]) | Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. |
id (ID) | ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails. |
Ordering options for commit contribution connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (CommitContributionOrderField!) | The field by which to order commit contributions. |
A message to include with a new commit
Name | Description |
---|---|
body (String) | The body of the message. |
headline (String!) | The headline of the message. |
A git ref for a commit to be appended to.
The ref must be a branch, i.e. its fully qualified name must start
with refs/heads/
(although the input is not required to be fully
qualified).
The Ref may be specified by its global node ID or by the repository nameWithOwner and branch name.
Specify a branch using a global node ID:
{ "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" }
Specify a branch using nameWithOwner and branch name:
{
"nameWithOwner": "github/graphql-client",
"branchName": "main"
}
Name | Description |
---|---|
branchName (String) | The unqualified name of the branch to append the commit to. |
id (ID) | The Node ID of the Ref to be updated. |
repositoryNameWithOwner (String) | The nameWithOwner of the repository to commit to. |
Ordering options for contribution connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
Autogenerated input type of ConvertProjectCardNoteToIssue
Name | Description |
---|---|
body (String) | The body of the newly created issue. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
projectCardId (ID!) | The ProjectCard ID to convert. |
repositoryId (ID!) | The ID of the repository to create the issue in. |
title (String) | The title of the newly created issue. Defaults to the card’s note text. |
Autogenerated input type of ConvertPullRequestToDraft
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestId (ID!) | ID of the pull request to convert to draft |
Autogenerated input type of CreateBranchProtectionRule
Name | Description |
---|---|
allowsDeletions (Boolean) | Can this branch be deleted. |
allowsForcePushes (Boolean) | Are force pushes allowed on this branch. |
bypassForcePushActorIds ([ID!]) | A list of User or Team IDs allowed to bypass force push targeting matching branches. |
bypassPullRequestActorIds ([ID!]) | A list of User or Team IDs allowed to bypass pull requests targeting matching branches. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
dismissesStaleReviews (Boolean) | Will new commits pushed to matching branches dismiss pull request review approvals. |
isAdminEnforced (Boolean) | Can admins overwrite branch protection. |
pattern (String!) | The glob-like pattern used to determine matching branches. |
pushActorIds ([ID!]) | A list of User, Team or App IDs allowed to push to matching branches. |
repositoryId (ID!) | The global relay id of the repository in which a new branch protection rule should be created in. |
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. |
requiredStatusChecks ([RequiredStatusCheckInput!]) | The list of required status checks |
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. |
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. |
reviewDismissalActorIds ([ID!]) | A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. |
Autogenerated input type of CreateCheckRun
Name | Description |
---|---|
actions ([CheckRunAction!]) | Possible further actions the integrator can perform, which a user may trigger. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
completedAt (DateTime) | The time that the check run finished. |
conclusion (CheckConclusionState) | The final conclusion of the check. |
detailsUrl (URI) | The URL of the integrator’s site that has the full details of the check. |
externalId (String) | A reference for the run on the integrator’s system. |
headSha (GitObjectID!) | The SHA of the head commit. |
name (String!) | The name of the check. |
output (CheckRunOutput) | Descriptive details about the run. |
repositoryId (ID!) | The node ID of the repository. |
startedAt (DateTime) | The time that the check run began. |
status (RequestableCheckStatusState) | The current status. |
Autogenerated input type of CreateCheckSuite
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
headSha (GitObjectID!) | The SHA of the head commit. |
repositoryId (ID!) | The Node ID of the repository. |
Autogenerated input type of CreateCommitOnBranch
Name | Description |
---|---|
branch (CommittableBranch!) | The Ref to be updated. Must be a branch. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
expectedHeadOid (GitObjectID!) | The git commit oid expected at the head of the branch prior to the commit |
fileChanges (FileChanges) | A description of changes to files in this commit. |
message (CommitMessage!) | The commit message the be included with the commit. |
Autogenerated input type of CreateDeployment
Name | Description |
---|---|
autoMerge (Boolean) | Attempt to automatically merge the default branch into the requested ref, defaults to true. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
description (String) | Short description of the deployment. |
environment (String) | Name for the target deployment environment. |
payload (String) | JSON payload with extra information about the deployment. |
refId (ID!) | The node ID of the ref to be deployed. |
repositoryId (ID!) | The node ID of the repository. |
requiredContexts ([String!]) | The status contexts to verify against commit status checks. To bypass required contexts, pass an empty array. Defaults to all unique contexts. |
task (String) | Specifies a task to execute. |
Autogenerated input type of CreateDeploymentStatus
Name | Description |
---|---|
autoInactive (Boolean) | Adds a new inactive status to all non-transient, non-production environment deployments with the same repository and environment name as the created status’s deployment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
deploymentId (ID!) | The node ID of the deployment. |
description (String) | A short description of the status. Maximum length of 140 characters. |
environment (String) | If provided, updates the environment of the deploy. Otherwise, does not modify the environment. |
environmentUrl (String) | Sets the URL for accessing your environment. |
logUrl (String) | The log URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. |
state (DeploymentStatusState!) | The state of the deployment. |
Autogenerated input type of CreateDiscussion
Name | Description |
---|---|
body (String!) | The body of the discussion. |
categoryId (ID!) | The id of the discussion category to associate with this discussion. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
repositoryId (ID!) | The id of the repository on which to create the discussion. |
title (String!) | The title of the discussion. |
Autogenerated input type of CreateEnterpriseOrganization
Name | Description |
---|---|
adminLogins ([String!]!) | The logins for the administrators of the new organization. |
billingEmail (String!) | The email used for sending billing receipts. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise owning the new organization. |
login (String!) | The login of the new organization. |
profileName (String!) | The profile name of the new organization. |
Autogenerated input type of CreateEnvironment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
name (String!) | The name of the environment. |
repositoryId (ID!) | The node ID of the repository. |
Autogenerated input type of CreateIpAllowListEntry
Name | Description |
---|---|
allowListValue (String!) | An IP address or range of addresses in CIDR notation. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
isActive (Boolean!) | Whether the IP allow list entry is active when an IP allow list is enabled. |
name (String) | An optional name for the IP allow list entry. |
ownerId (ID!) | The ID of the owner for which to create the new IP allow list entry. |
Autogenerated input type of CreateIssue
Name | Description |
---|---|
assigneeIds ([ID!]) | The Node ID for the user assignee for this issue. |
body (String) | The body for the issue description. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
issueTemplate (String) | The name of an issue template in the repository, assigns labels and assignees from the template to the issue |
labelIds ([ID!]) | An array of Node IDs of labels for this issue. |
milestoneId (ID) | The Node ID of the milestone for this issue. |
projectIds ([ID!]) | An array of Node IDs for projects associated with this issue. |
repositoryId (ID!) | The Node ID of the repository. |
title (String!) | The title for the issue. |
Autogenerated input type of CreateLabel
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
color (String!) | A 6 character hex code, without the leading #, identifying the color of the label. |
description (String) | A brief description of the label, such as its purpose. |
name (String!) | The name of the label. |
repositoryId (ID!) | The Node ID of the repository. |
Autogenerated input type of CreateMigrationSource
Name | Description |
---|---|
accessToken (String!) | The Octoshift migration source access token. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
githubPat (String) | The GitHub personal access token of the user importing to the target repository. |
name (String!) | The Octoshift migration source name. |
ownerId (ID!) | The ID of the organization that will own the Octoshift migration source. |
type (MigrationSourceType!) | The Octoshift migration source type. |
url (String!) | The Octoshift migration source URL. |
Autogenerated input type of CreateProject
Name | Description |
---|---|
body (String) | The description of project. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
name (String!) | The name of project. |
ownerId (ID!) | The owner ID to create the project under. |
repositoryIds ([ID!]) | A list of repository IDs to create as linked repositories for the project |
template (ProjectTemplate) | The name of the GitHub-provided template. |
Autogenerated input type of CreatePullRequest
Name | Description |
---|---|
baseRefName (String!) | The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. |
body (String) | The contents of the pull request. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
draft (Boolean) | Indicates whether this pull request should be a draft. |
headRefName (String!) | The name of the branch where your changes are implemented. For cross-repository pull requests
in the same network, namespace |
maintainerCanModify (Boolean) | Indicates whether maintainers can modify the pull request. |
repositoryId (ID!) | The Node ID of the repository. |
title (String!) | The title of the pull request. |
Autogenerated input type of CreateRef
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
name (String!) | The fully qualified name of the new Ref (ie: |
oid (GitObjectID!) | The GitObjectID that the new Ref shall target. Must point to a commit. |
repositoryId (ID!) | The Node ID of the Repository to create the Ref in. |
Autogenerated input type of CreateRepository
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
description (String) | A short description of the new repository. |
hasIssuesEnabled (Boolean) | Indicates if the repository should have the issues feature enabled. |
hasWikiEnabled (Boolean) | Indicates if the repository should have the wiki feature enabled. |
homepageUrl (URI) | The URL for a web page about this repository. |
name (String!) | The name of the new repository. |
ownerId (ID) | The ID of the owner for the new repository. |
teamId (ID) | When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. |
template (Boolean) | Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. |
visibility (RepositoryVisibility!) | Indicates the repository’s visibility level. |
Autogenerated input type of CreateSponsorship
Name | Description |
---|---|
amount (Int) | The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
isRecurring (Boolean) | Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified. |
privacyLevel (SponsorshipPrivacy) | Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. |
receiveEmails (Boolean) | Whether the sponsor should receive email updates from the sponsorable. |
sponsorId (ID) | The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. |
sponsorLogin (String) | The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. |
sponsorableId (ID) | The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. |
sponsorableLogin (String) | The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. |
tierId (ID) | The ID of one of sponsorable’s existing tiers to sponsor at. Required if amount is not specified. |
Autogenerated input type of CreateTeamDiscussionComment
Name | Description |
---|---|
body (String!) | The content of the comment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
discussionId (ID!) | The ID of the discussion to which the comment belongs. |
Autogenerated input type of CreateTeamDiscussion
Name | Description |
---|---|
body (String!) | The content of the discussion. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
private (Boolean) | If true, restricts the visibility of this discussion to team members and organization admins. If false or not specified, allows any organization member to view this discussion. |
teamId (ID!) | The ID of the team to which the discussion belongs. |
title (String!) | The title of the discussion. |
Autogenerated input type of DeclineTopicSuggestion
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
name (String!) | The name of the suggested topic. |
reason (TopicSuggestionDeclineReason!) | The reason why the suggested topic is declined. |
repositoryId (ID!) | The Node ID of the repository. |
Autogenerated input type of DeleteBranchProtectionRule
Name | Description |
---|---|
branchProtectionRuleId (ID!) | The global relay id of the branch protection rule to be deleted. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
Autogenerated input type of DeleteDeployment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The Node ID of the deployment to be deleted. |
Autogenerated input type of DeleteDiscussionComment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The Node id of the discussion comment to delete. |
Autogenerated input type of DeleteDiscussion
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The id of the discussion to delete. |
Autogenerated input type of DeleteEnvironment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The Node ID of the environment to be deleted. |
Autogenerated input type of DeleteIpAllowListEntry
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
ipAllowListEntryId (ID!) | The ID of the IP allow list entry to delete. |
Autogenerated input type of DeleteIssueComment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the comment to delete. |
Autogenerated input type of DeleteIssue
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
issueId (ID!) | The ID of the issue to delete. |
Autogenerated input type of DeleteLabel
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The Node ID of the label to be deleted. |
Autogenerated input type of DeletePackageVersion
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
packageVersionId (ID!) | The ID of the package version to be deleted. |
Autogenerated input type of DeleteProjectCard
Name | Description |
---|---|
cardId (ID!) | The id of the card to delete. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
Autogenerated input type of DeleteProjectColumn
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
columnId (ID!) | The id of the column to delete. |
Autogenerated input type of DeleteProject
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
projectId (ID!) | The Project ID to update. |
Autogenerated input type of DeleteProjectNextItem
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
itemId (ID!) | The ID of the item to be removed. |
projectId (ID!) | The ID of the Project from which the item should be removed. |
Autogenerated input type of DeletePullRequestReviewComment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the comment to delete. |
Autogenerated input type of DeletePullRequestReview
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestReviewId (ID!) | The Node ID of the pull request review to delete. |
Autogenerated input type of DeleteRef
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
refId (ID!) | The Node ID of the Ref to be deleted. |
Autogenerated input type of DeleteTeamDiscussionComment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the comment to delete. |
Autogenerated input type of DeleteTeamDiscussion
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The discussion ID to delete. |
Autogenerated input type of DeleteVerifiableDomain
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the verifiable domain to delete. |
Ordering options for deployment connections
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (DeploymentOrderField!) | The field to order deployments by. |
Autogenerated input type of DisablePullRequestAutoMerge
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestId (ID!) | ID of the pull request to disable auto merge on. |
Ways in which lists of discussions can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order discussions by the specified field. |
field (DiscussionOrderField!) | The field by which to order discussions. |
Autogenerated input type of DismissPullRequestReview
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
message (String!) | The contents of the pull request review dismissal message. |
pullRequestReviewId (ID!) | The Node ID of the pull request review to modify. |
Autogenerated input type of DismissRepositoryVulnerabilityAlert
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
dismissReason (DismissReason!) | The reason the Dependabot alert is being dismissed. |
repositoryVulnerabilityAlertId (ID!) | The Dependabot alert ID to dismiss. |
Specifies a review comment to be left with a Pull Request Review.
Name | Description |
---|---|
body (String!) | Body of the comment to leave. |
path (String!) | Path to the file being commented on. |
position (Int!) | Position in the file to leave a comment on. |
Specifies a review comment thread to be left with a Pull Request Review.
Name | Description |
---|---|
body (String!) | Body of the comment to leave. |
line (Int!) | The line of the blob to which the thread refers. The end of the line range for multi-line comments. |
path (String!) | Path to the file being commented on. |
side (DiffSide) | The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. |
startLine (Int) | The first line of the range to which the comment refers. |
startSide (DiffSide) | The side of the diff on which the start line resides. |
Autogenerated input type of EnablePullRequestAutoMerge
Name | Description |
---|---|
authorEmail (String) | The email address to associate with this merge. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
commitBody (String) | Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. |
commitHeadline (String) | Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. |
mergeMethod (PullRequestMergeMethod) | The merge method to use. If omitted, defaults to ‘MERGE’ |
pullRequestId (ID!) | ID of the pull request to enable auto-merge on. |
Ordering options for enterprise administrator invitation connections
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (EnterpriseAdministratorInvitationOrderField!) | The field to order enterprise administrator invitations by. |
Ordering options for enterprise member connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (EnterpriseMemberOrderField!) | The field to order enterprise members by. |
Ordering options for Enterprise Server installation connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (EnterpriseServerInstallationOrderField!) | The field to order Enterprise Server installations by. |
Ordering options for Enterprise Server user account email connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (EnterpriseServerUserAccountEmailOrderField!) | The field to order emails by. |
Ordering options for Enterprise Server user account connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (EnterpriseServerUserAccountOrderField!) | The field to order user accounts by. |
Ordering options for Enterprise Server user accounts upload connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (EnterpriseServerUserAccountsUploadOrderField!) | The field to order user accounts uploads by. |
A command to add a file at the given path with the given contents as part of a commit. Any existing file at that that path will be replaced.
Name | Description |
---|---|
contents (Base64String!) | The base64 encoded contents of the file |
path (String!) | The path in the repository where the file will be located |
A description of a set of changes to a file tree to be made as part of
a git commit, modeled as zero or more file additions
and zero or more
file deletions
.
Both fields are optional; omitting both will produce a commit with no file changes.
deletions
and additions
describe changes to files identified
by their path in the git tree using unix-style path separators, i.e.
/
. The root of a git tree is an empty string, so paths are not
slash-prefixed.
path
values must be unique across all additions
and deletions
provided. Any duplication will result in a validation error.
File contents must be provided in full for each FileAddition
.
The contents
of a FileAddition
must be encoded using RFC 4648
compliant base64, i.e. correct padding is required and no characters
outside the standard alphabet may be used. Invalid base64
encoding will be rejected with a validation error.
The encoded contents may be binary.
For text files, no assumptions are made about the character encoding of
the file contents (after base64 decoding). No charset transcoding or
line-ending normalization will be performed; it is the client’s
responsibility to manage the character encoding of files they provide.
However, for maximum compatibility we recommend using UTF-8 encoding
and ensuring that all files in a repository use a consistent
line-ending convention (\n
or \r\n
), and that all files end
with a newline.
Each of the the five types of conceptual changes that can be made in a
git commit can be described using the FileChanges
type as follows:
New file addition: create file
hello world\n
at pathdocs/README.txt
:{ “additions” [ { “path”: “docs/README.txt”, “contents”: base64encode(“hello world\n”) } ] }
Existing file modification: change existing
docs/README.txt
to have new contentnew content here\n
:{ “additions” [ { “path”: “docs/README.txt”, “contents”: base64encode(“new content here\n”) } ] }
Existing file deletion: remove existing file
docs/README.txt
. Note that the path is required to exist – specifying a path that does not exist on the given branch will abort the commit and return an error.{ “deletions” [ { “path”: “docs/README.txt” } ] }
File rename with no changes: rename
docs/README.txt
with previous contenthello world\n
to the same content atnewdocs/README.txt
:{ “deletions” [ { “path”: “docs/README.txt”, } ], “additions” [ { “path”: “newdocs/README.txt”, “contents”: base64encode(“hello world\n”) } ] }
File rename with changes: rename
docs/README.txt
with previous contenthello world\n
to a file at pathnewdocs/README.txt
with contentnew contents\n
:{ “deletions” [ { “path”: “docs/README.txt”, } ], “additions” [ { “path”: “newdocs/README.txt”, “contents”: base64encode(“new contents\n”) } ] }
Name | Description |
---|---|
additions ([FileAddition!]) | File to add or change. |
deletions ([FileDeletion!]) | Files to delete. |
A command to delete the file at the given path as part of a commit.
Name | Description |
---|---|
path (String!) | The path to delete |
Autogenerated input type of FollowUser
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
userId (ID!) | ID of the user to follow. |
Ordering options for gist connections
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (GistOrderField!) | The field to order repositories by. |
Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise to which all organizations managed by it will be granted the migrator role. |
login (String!) | The login of the user to grant the migrator role |
Autogenerated input type of GrantMigratorRole
Name | Description |
---|---|
actor (String!) | The user login or Team slug to grant the migrator role. |
actorType (ActorType!) | Specifies the type of the actor, can be either USER or TEAM. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
organizationId (ID!) | The ID of the organization that the user/team belongs to. |
Autogenerated input type of ImportProject
Name | Description |
---|---|
body (String) | The description of Project. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
columnImports ([ProjectColumnImport!]!) | A list of columns containing issues and pull requests. |
name (String!) | The name of Project. |
ownerName (String!) | The name of the Organization or User to create the Project under. |
public (Boolean) | Whether the Project is public or not. |
Autogenerated input type of InviteEnterpriseAdmin
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
email (String) | The email of the person to invite as an administrator. |
enterpriseId (ID!) | The ID of the enterprise to which you want to invite an administrator. |
invitee (String) | The login of a user to invite as an administrator. |
role (EnterpriseAdministratorRole) | The role of the administrator. |
Ordering options for IP allow list entry connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (IpAllowListEntryOrderField!) | The field to order IP allow list entries by. |
Ways in which lists of issue comments can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order issue comments by the specified field. |
field (IssueCommentOrderField!) | The field in which to order issue comments by. |
Ways in which to filter lists of issues.
Name | Description |
---|---|
assignee (String) | List issues assigned to given name. Pass in |
createdBy (String) | List issues created by given name. |
labels ([String!]) | List issues where the list of label names exist on the issue. |
mentioned (String) | List issues where the given name is mentioned in the issue. |
milestone (String) | List issues by given milestone argument. If an string representation of an
integer is passed, it should refer to a milestone by its database ID. Pass in
|
milestoneNumber (String) | List issues by given milestone argument. If an string representation of an
integer is passed, it should refer to a milestone by its number field. Pass in
|
since (DateTime) | List issues that have been updated at or after the given date. |
states ([IssueState!]) | List issues filtered by the list of states given. |
viewerSubscribed (Boolean) | List issues subscribed to by viewer. |
Ways in which lists of issues can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order issues by the specified field. |
field (IssueOrderField!) | The field in which to order issues by. |
Ways in which lists of labels can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order labels by the specified field. |
field (LabelOrderField!) | The field in which to order labels by. |
Ordering options for language connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (LanguageOrderField!) | The field to order languages by. |
Autogenerated input type of LinkRepositoryToProject
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
projectId (ID!) | The ID of the Project to link to a Repository |
repositoryId (ID!) | The ID of the Repository to link to a Project. |
Autogenerated input type of LockLockable
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
lockReason (LockReason) | A reason for why the item will be locked. |
lockableId (ID!) | ID of the item to be locked. |
Autogenerated input type of MarkDiscussionCommentAsAnswer
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The Node ID of the discussion comment to mark as an answer. |
Autogenerated input type of MarkFileAsViewed
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
path (String!) | The path of the file to mark as viewed |
pullRequestId (ID!) | The Node ID of the pull request. |
Autogenerated input type of MarkPullRequestReadyForReview
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestId (ID!) | ID of the pull request to be marked as ready for review. |
Autogenerated input type of MergeBranch
Name | Description |
---|---|
authorEmail (String) | The email address to associate with this commit. |
base (String!) | The name of the base branch that the provided head will be merged into. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
commitMessage (String) | Message to use for the merge commit. If omitted, a default will be used. |
head (String!) | The head to merge into the base branch. This can be a branch name or a commit GitObjectID. |
repositoryId (ID!) | The Node ID of the Repository containing the base branch that will be modified. |
Autogenerated input type of MergePullRequest
Name | Description |
---|---|
authorEmail (String) | The email address to associate with this merge. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
commitBody (String) | Commit body to use for the merge commit; if omitted, a default message will be used |
commitHeadline (String) | Commit headline to use for the merge commit; if omitted, a default message will be used. |
expectedHeadOid (GitObjectID) | OID that the pull request head ref must match to allow merge; if omitted, no check is performed. |
mergeMethod (PullRequestMergeMethod) | The merge method to use. If omitted, defaults to ‘MERGE’ |
pullRequestId (ID!) | ID of the pull request to be merged. |
Ordering options for milestone connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (MilestoneOrderField!) | The field to order milestones by. |
Autogenerated input type of MinimizeComment
Name | Description |
---|---|
classifier (ReportedContentClassifiers!) | The classification of comment |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
subjectId (ID!) | The Node ID of the subject to modify. |
Autogenerated input type of MoveProjectCard
Name | Description |
---|---|
afterCardId (ID) | Place the new card after the card with this id. Pass null to place it at the top. |
cardId (ID!) | The id of the card to move. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
columnId (ID!) | The id of the column to move it into. |
Autogenerated input type of MoveProjectColumn
Name | Description |
---|---|
afterColumnId (ID) | Place the new column after the column with this id. Pass null to place it at the front. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
columnId (ID!) | The id of the column to move. |
Ordering options for an organization’s enterprise owner connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (OrgEnterpriseOwnerOrderField!) | The field to order enterprise owners by. |
Ordering options for organization connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (OrganizationOrderField!) | The field to order organizations by. |
Ways in which lists of package files can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection) | The direction in which to order package files by the specified field. |
field (PackageFileOrderField) | The field in which to order package files by. |
Ways in which lists of packages can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection) | The direction in which to order packages by the specified field. |
field (PackageOrderField) | The field in which to order packages by. |
Ways in which lists of package versions can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection) | The direction in which to order package versions by the specified field. |
field (PackageVersionOrderField) | The field in which to order package versions by. |
Autogenerated input type of PinIssue
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
issueId (ID!) | The ID of the issue to be pinned |
An issue or PR and its owning repository to be used in a project card.
Name | Description |
---|---|
number (Int!) | The issue or pull request number. |
repository (String!) | Repository name with owner (owner/repository). |
A project column and a list of its issues and PRs.
Name | Description |
---|---|
columnName (String!) | The name of the column. |
issues ([ProjectCardImport!]) | A list of issues and pull requests in the column. |
position (Int!) | The position of the column, starting from 0. |
Ways in which lists of projects can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order projects by the specified field. |
field (ProjectOrderField!) | The field in which to order projects by. |
Ways in which lists of issues can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order pull requests by the specified field. |
field (PullRequestOrderField!) | The field in which to order pull requests by. |
Ways in which lists of reactions can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order reactions by the specified field. |
field (ReactionOrderField!) | The field in which to order reactions by. |
Ways in which lists of git refs can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order refs by the specified field. |
field (RefOrderField!) | The field in which to order refs by. |
A ref update
Name | Description |
---|---|
afterOid (GitObjectID!) | The value this ref should be updated to. |
beforeOid (GitObjectID) | The value this ref needs to point to before the update. |
force (Boolean) | Force a non fast-forward update. |
name (GitRefname!) | The fully qualified name of the ref to be update. For example |
Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set an identity provider. |
Autogenerated input type of RegenerateVerifiableDomainToken
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the verifiable domain to regenerate the verification token of. |
Autogenerated input type of RejectDeployments
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
comment (String) | Optional comment for rejecting deployments |
environmentIds ([ID!]!) | The ids of environments to reject deployments |
workflowRunId (ID!) | The node ID of the workflow run containing the pending deployments. |
Ways in which lists of releases can be ordered upon return.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order releases by the specified field. |
field (ReleaseOrderField!) | The field in which to order releases by. |
Autogenerated input type of RemoveAssigneesFromAssignable
Name | Description |
---|---|
assignableId (ID!) | The id of the assignable object to remove assignees from. |
assigneeIds ([ID!]!) | The id of users to remove as assignees. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
Autogenerated input type of RemoveEnterpriseAdmin
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The Enterprise ID from which to remove the administrator. |
login (String!) | The login of the user to remove as an administrator. |
Autogenerated input type of RemoveEnterpriseIdentityProvider
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise from which to remove the identity provider. |
Autogenerated input type of RemoveEnterpriseOrganization
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise from which the organization should be removed. |
organizationId (ID!) | The ID of the organization to remove from the enterprise. |
Autogenerated input type of RemoveEnterpriseSupportEntitlement
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the Enterprise which the admin belongs to. |
login (String!) | The login of a member who will lose the support entitlement. |
Autogenerated input type of RemoveLabelsFromLabelable
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
labelIds ([ID!]!) | The ids of labels to remove. |
labelableId (ID!) | The id of the Labelable to remove labels from. |
Autogenerated input type of RemoveOutsideCollaborator
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
organizationId (ID!) | The ID of the organization to remove the outside collaborator from. |
userId (ID!) | The ID of the outside collaborator to remove. |
Autogenerated input type of RemoveReaction
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
content (ReactionContent!) | The name of the emoji reaction to remove. |
subjectId (ID!) | The Node ID of the subject to modify. |
Autogenerated input type of RemoveStar
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
starrableId (ID!) | The Starrable ID to unstar. |
Autogenerated input type of RemoveUpvote
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
subjectId (ID!) | The Node ID of the discussion or comment to remove upvote. |
Autogenerated input type of ReopenIssue
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
issueId (ID!) | ID of the issue to be opened. |
Autogenerated input type of ReopenPullRequest
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestId (ID!) | ID of the pull request to be reopened. |
Ordering options for repository invitation connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (RepositoryInvitationOrderField!) | The field to order repository invitations by. |
Ordering options for repository migrations.
Name | Description |
---|---|
direction (RepositoryMigrationOrderDirection!) | The ordering direction. |
field (RepositoryMigrationOrderField!) | The field to order repository migrations by. |
Ordering options for repository connections
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (RepositoryOrderField!) | The field to order repositories by. |
Autogenerated input type of RequestReviews
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestId (ID!) | The Node ID of the pull request to modify. |
teamIds ([ID!]) | The Node IDs of the team to request. |
union (Boolean) | Add users to the set rather than replace. |
userIds ([ID!]) | The Node IDs of the user to request. |
Specifies the attributes for a new or updated required status check.
Name | Description |
---|---|
appId (ID) | The ID of the App that must set the status in order for it to be accepted. Omit this value to use whichever app has recently been setting this status, or use “any” to allow any app to set the status. |
context (String!) | Status check context that must pass for commits to be accepted to the matching branch. |
Autogenerated input type of RerequestCheckSuite
Name | Description |
---|---|
checkSuiteId (ID!) | The Node ID of the check suite. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
repositoryId (ID!) | The Node ID of the repository. |
Autogenerated input type of ResolveReviewThread
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
threadId (ID!) | The ID of the thread to resolve |
Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise to which all organizations managed by it will be granted the migrator role. |
login (String!) | The login of the user to revoke the migrator role |
Autogenerated input type of RevokeMigratorRole
Name | Description |
---|---|
actor (String!) | The user login or Team slug to revoke the migrator role from. |
actorType (ActorType!) | Specifies the type of the actor, can be either USER or TEAM. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
organizationId (ID!) | The ID of the organization that the user/team belongs to. |
Ordering options for saved reply connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SavedReplyOrderField!) | The field to order saved replies by. |
An advisory identifier to filter results on.
Name | Description |
---|---|
type (SecurityAdvisoryIdentifierType!) | The identifier type. |
value (String!) | The identifier string. Supports exact or partial matching. |
Ordering options for security advisory connections
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SecurityAdvisoryOrderField!) | The field to order security advisories by. |
Ordering options for security vulnerability connections
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SecurityVulnerabilityOrderField!) | The field to order security vulnerabilities by. |
Autogenerated input type of SetEnterpriseIdentityProvider
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
digestMethod (SamlDigestAlgorithm!) | The digest algorithm used to sign SAML requests for the identity provider. |
enterpriseId (ID!) | The ID of the enterprise on which to set an identity provider. |
idpCertificate (String!) | The x509 certificate used by the identity provider to sign assertions and responses. |
issuer (String) | The Issuer Entity ID for the SAML identity provider |
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. |
Autogenerated input type of SetOrganizationInteractionLimit
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
expiry (RepositoryInteractionLimitExpiry) | When this limit should expire. |
limit (RepositoryInteractionLimit!) | The limit to set. |
organizationId (ID!) | The ID of the organization to set a limit for. |
Autogenerated input type of SetRepositoryInteractionLimit
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
expiry (RepositoryInteractionLimitExpiry) | When this limit should expire. |
limit (RepositoryInteractionLimit!) | The limit to set. |
repositoryId (ID!) | The ID of the repository to set a limit for. |
Autogenerated input type of SetUserInteractionLimit
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
expiry (RepositoryInteractionLimitExpiry) | When this limit should expire. |
limit (RepositoryInteractionLimit!) | The limit to set. |
userId (ID!) | The ID of the user to set a limit for. |
Ordering options for connections to get sponsor entities for GitHub Sponsors.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SponsorOrderField!) | The field to order sponsor entities by. |
Ordering options for connections to get sponsorable entities for GitHub Sponsors.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SponsorableOrderField!) | The field to order sponsorable entities by. |
Ordering options for GitHub Sponsors activity connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SponsorsActivityOrderField!) | The field to order activity by. |
Ordering options for Sponsors tiers connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SponsorsTierOrderField!) | The field to order tiers by. |
Ordering options for sponsorship newsletter connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SponsorshipNewsletterOrderField!) | The field to order sponsorship newsletters by. |
Ordering options for sponsorship connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (SponsorshipOrderField!) | The field to order sponsorship by. |
Ways in which star connections can be ordered.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order nodes. |
field (StarOrderField!) | The field in which to order nodes by. |
Autogenerated input type of StartRepositoryMigration
Name | Description |
---|---|
accessToken (String) | The Octoshift migration source access token. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
continueOnError (Boolean) | Whether to continue the migration on error |
gitArchiveUrl (String) | The signed URL to access the user-uploaded git archive |
githubPat (String) | The GitHub personal access token of the user importing to the target repository. |
metadataArchiveUrl (String) | The signed URL to access the user-uploaded metadata archive |
ownerId (ID!) | The ID of the organization that will own the imported repository. |
repositoryName (String!) | The name of the imported repository. |
sourceId (ID!) | The ID of the Octoshift migration source. |
sourceRepositoryUrl (URI!) | The Octoshift migration source repository URL. |
Autogenerated input type of SubmitPullRequestReview
Name | Description |
---|---|
body (String) | The text field to set on the Pull Request Review. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
event (PullRequestReviewEvent!) | The event to send to the Pull Request Review. |
pullRequestId (ID) | The Pull Request ID to submit any pending reviews. |
pullRequestReviewId (ID) | The Pull Request Review ID to submit. |
Ways in which team discussion comment connections can be ordered.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order nodes. |
field (TeamDiscussionCommentOrderField!) | The field by which to order nodes. |
Ways in which team discussion connections can be ordered.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order nodes. |
field (TeamDiscussionOrderField!) | The field by which to order nodes. |
Ordering options for team member connections
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (TeamMemberOrderField!) | The field to order team members by. |
Ways in which team connections can be ordered.
Name | Description |
---|---|
direction (OrderDirection!) | The direction in which to order nodes. |
field (TeamOrderField!) | The field in which to order nodes by. |
Ordering options for team repository connections
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (TeamRepositoryOrderField!) | The field to order repositories by. |
Autogenerated input type of TransferIssue
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
issueId (ID!) | The Node ID of the issue to be transferred |
repositoryId (ID!) | The Node ID of the repository the issue should be transferred to |
Autogenerated input type of UnarchiveRepository
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
repositoryId (ID!) | The ID of the repository to unarchive. |
Autogenerated input type of UnfollowUser
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
userId (ID!) | ID of the user to unfollow. |
Autogenerated input type of UnlinkRepositoryFromProject
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
projectId (ID!) | The ID of the Project linked to the Repository. |
repositoryId (ID!) | The ID of the Repository linked to the Project. |
Autogenerated input type of UnlockLockable
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
lockableId (ID!) | ID of the item to be unlocked. |
Autogenerated input type of UnmarkDiscussionCommentAsAnswer
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The Node ID of the discussion comment to unmark as an answer. |
Autogenerated input type of UnmarkFileAsViewed
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
path (String!) | The path of the file to mark as unviewed |
pullRequestId (ID!) | The Node ID of the pull request. |
Autogenerated input type of UnmarkIssueAsDuplicate
Name | Description |
---|---|
canonicalId (ID!) | ID of the issue or pull request currently considered canonical/authoritative/original. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
duplicateId (ID!) | ID of the issue or pull request currently marked as a duplicate. |
Autogenerated input type of UnminimizeComment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
subjectId (ID!) | The Node ID of the subject to modify. |
Autogenerated input type of UnpinIssue
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
issueId (ID!) | The ID of the issue to be unpinned |
Autogenerated input type of UnresolveReviewThread
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
threadId (ID!) | The ID of the thread to unresolve |
Autogenerated input type of UpdateBranchProtectionRule
Name | Description |
---|---|
allowsDeletions (Boolean) | Can this branch be deleted. |
allowsForcePushes (Boolean) | Are force pushes allowed on this branch. |
branchProtectionRuleId (ID!) | The global relay id of the branch protection rule to be updated. |
bypassForcePushActorIds ([ID!]) | A list of User or Team IDs allowed to bypass force push targeting matching branches. |
bypassPullRequestActorIds ([ID!]) | A list of User or Team IDs allowed to bypass pull requests targeting matching branches. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
dismissesStaleReviews (Boolean) | Will new commits pushed to matching branches dismiss pull request review approvals. |
isAdminEnforced (Boolean) | Can admins overwrite branch protection. |
pattern (String) | The glob-like pattern used to determine matching branches. |
pushActorIds ([ID!]) | A list of User, Team or App IDs allowed to push to matching branches. |
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. |
requiredStatusChecks ([RequiredStatusCheckInput!]) | The list of required status checks |
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. |
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. |
reviewDismissalActorIds ([ID!]) | A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. |
Autogenerated input type of UpdateCheckRun
Name | Description |
---|---|
actions ([CheckRunAction!]) | Possible further actions the integrator can perform, which a user may trigger. |
checkRunId (ID!) | The node of the check. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
completedAt (DateTime) | The time that the check run finished. |
conclusion (CheckConclusionState) | The final conclusion of the check. |
detailsUrl (URI) | The URL of the integrator’s site that has the full details of the check. |
externalId (String) | A reference for the run on the integrator’s system. |
name (String) | The name of the check. |
output (CheckRunOutput) | Descriptive details about the run. |
repositoryId (ID!) | The node ID of the repository. |
startedAt (DateTime) | The time that the check run began. |
status (RequestableCheckStatusState) | The current status. |
Autogenerated input type of UpdateCheckSuitePreferences
Name | Description |
---|---|
autoTriggerPreferences ([CheckSuiteAutoTriggerPreference!]!) | The check suite preferences to modify. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
repositoryId (ID!) | The Node ID of the repository. |
Autogenerated input type of UpdateDiscussionComment
Name | Description |
---|---|
body (String!) | The new contents of the comment body. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
commentId (ID!) | The Node ID of the discussion comment to update. |
Autogenerated input type of UpdateDiscussion
Name | Description |
---|---|
body (String) | The new contents of the discussion body. |
categoryId (ID) | The Node ID of a discussion category within the same repository to change this discussion to. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
discussionId (ID!) | The Node ID of the discussion to update. |
title (String) | The new discussion title. |
Autogenerated input type of UpdateEnterpriseAdministratorRole
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the Enterprise which the admin belongs to. |
login (String!) | The login of a administrator whose role is being changed. |
role (EnterpriseAdministratorRole!) | The new role for the Enterprise administrator. |
Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the allow private repository forking setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the allow private repository forking setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the base repository permission setting. |
settingValue (EnterpriseDefaultRepositoryPermissionSettingValue!) | The value for the base repository permission setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the members can change repository visibility setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the members can change repository visibility setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the members can create repositories setting. |
membersCanCreateInternalRepositories (Boolean) | Allow members to create internal repositories. Defaults to current value. |
membersCanCreatePrivateRepositories (Boolean) | Allow members to create private repositories. Defaults to current value. |
membersCanCreatePublicRepositories (Boolean) | Allow members to create public repositories. Defaults to current value. |
membersCanCreateRepositoriesPolicyEnabled (Boolean) | When false, allow member organizations to set their own repository creation member privileges. |
settingValue (EnterpriseMembersCanCreateRepositoriesSettingValue) | Value for the members can create repositories setting on the enterprise. This or the granular public/private/internal allowed fields (but not both) must be provided. |
Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the members can delete issues setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the members can delete issues setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the members can delete repositories setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the members can delete repositories setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the members can invite collaborators setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the members can invite collaborators setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the members can make purchases setting. |
settingValue (EnterpriseMembersCanMakePurchasesSettingValue!) | The value for the members can make purchases setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the members can update protected branches setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the members can update protected branches setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the members can view dependency insights setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the members can view dependency insights setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the organization projects setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the organization projects setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the Enterprise which the owner belongs to. |
organizationId (ID!) | The ID of the organization for membership change. |
organizationRole (RoleInOrganization!) | The role to assume in the organization. |
Autogenerated input type of UpdateEnterpriseProfile
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
description (String) | The description of the enterprise. |
enterpriseId (ID!) | The Enterprise ID to update. |
location (String) | The location of the enterprise. |
name (String) | The name of the enterprise. |
websiteUrl (String) | The URL of the enterprise’s website. |
Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the repository projects setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the repository projects setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the team discussions setting. |
settingValue (EnterpriseEnabledDisabledSettingValue!) | The value for the team discussions setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enterpriseId (ID!) | The ID of the enterprise on which to set the two factor authentication required setting. |
settingValue (EnterpriseEnabledSettingValue!) | The value for the two factor authentication required setting on the enterprise. |
Autogenerated input type of UpdateEnvironment
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
environmentId (ID!) | The node ID of the environment. |
reviewers ([ID!]) | The ids of users or teams that can approve deployments to this environment |
waitTimer (Int) | The wait timer in minutes. |
Autogenerated input type of UpdateIpAllowListEnabledSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
ownerId (ID!) | The ID of the owner on which to set the IP allow list enabled setting. |
settingValue (IpAllowListEnabledSettingValue!) | The value for the IP allow list enabled setting. |
Autogenerated input type of UpdateIpAllowListEntry
Name | Description |
---|---|
allowListValue (String!) | An IP address or range of addresses in CIDR notation. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
ipAllowListEntryId (ID!) | The ID of the IP allow list entry to update. |
isActive (Boolean!) | Whether the IP allow list entry is active when an IP allow list is enabled. |
name (String) | An optional name for the IP allow list entry. |
Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
ownerId (ID!) | The ID of the owner. |
settingValue (IpAllowListForInstalledAppsEnabledSettingValue!) | The value for the IP allow list configuration for installed GitHub Apps setting. |
Autogenerated input type of UpdateIssueComment
Name | Description |
---|---|
body (String!) | The updated text of the comment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the IssueComment to modify. |
Autogenerated input type of UpdateIssue
Name | Description |
---|---|
assigneeIds ([ID!]) | An array of Node IDs of users for this issue. |
body (String) | The body for the issue description. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the Issue to modify. |
labelIds ([ID!]) | An array of Node IDs of labels for this issue. |
milestoneId (ID) | The Node ID of the milestone for this issue. |
projectIds ([ID!]) | An array of Node IDs for projects associated with this issue. |
state (IssueState) | The desired issue state. |
title (String) | The title for the issue. |
Autogenerated input type of UpdateLabel
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
color (String) | A 6 character hex code, without the leading #, identifying the updated color of the label. |
description (String) | A brief description of the label, such as its purpose. |
id (ID!) | The Node ID of the label to be updated. |
name (String) | The updated name of the label. |
Autogenerated input type of UpdateNotificationRestrictionSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
ownerId (ID!) | The ID of the owner on which to set the restrict notifications setting. |
settingValue (NotificationRestrictionSettingValue!) | The value for the restrict notifications setting. |
Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
forkingEnabled (Boolean!) | Enable forking of private repositories in the organization? |
organizationId (ID!) | The ID of the organization on which to set the allow private repository forking setting. |
Autogenerated input type of UpdateProjectCard
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
isArchived (Boolean) | Whether or not the ProjectCard should be archived |
note (String) | The note of ProjectCard. |
projectCardId (ID!) | The ProjectCard ID to update. |
Autogenerated input type of UpdateProjectColumn
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
name (String!) | The name of project column. |
projectColumnId (ID!) | The ProjectColumn ID to update. |
Autogenerated input type of UpdateProject
Name | Description |
---|---|
body (String) | The description of project. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
name (String) | The name of project. |
projectId (ID!) | The Project ID to update. |
public (Boolean) | Whether the project is public or not. |
state (ProjectState) | Whether the project is open or closed. |
Autogenerated input type of UpdateProjectNext
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
closed (Boolean) | Set the project to closed or open. |
description (String) | Set the readme description of the project. |
projectId (ID!) | The ID of the Project to update. |
public (Boolean) | Set the project to public or private. |
shortDescription (String) | Set the short description of the project. |
title (String) | Set the title of the project. |
Autogenerated input type of UpdateProjectNextItemField
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
fieldId (ID!) | The id of the field to be updated. Only supports custom fields and status for now. |
itemId (ID!) | The id of the item to be updated. |
projectId (ID!) | The ID of the Project. |
value (String!) | The value which will be set on the field. |
Autogenerated input type of UpdatePullRequestBranch
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
expectedHeadOid (GitObjectID) | The head ref oid for the upstream branch. |
pullRequestId (ID!) | The Node ID of the pull request. |
Autogenerated input type of UpdatePullRequest
Name | Description |
---|---|
assigneeIds ([ID!]) | An array of Node IDs of users for this pull request. |
baseRefName (String) | The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. |
body (String) | The contents of the pull request. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
labelIds ([ID!]) | An array of Node IDs of labels for this pull request. |
maintainerCanModify (Boolean) | Indicates whether maintainers can modify the pull request. |
milestoneId (ID) | The Node ID of the milestone for this pull request. |
projectIds ([ID!]) | An array of Node IDs for projects associated with this pull request. |
pullRequestId (ID!) | The Node ID of the pull request. |
state (PullRequestUpdateState) | The target state of the pull request. |
title (String) | The title of the pull request. |
Autogenerated input type of UpdatePullRequestReviewComment
Name | Description |
---|---|
body (String!) | The text of the comment. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestReviewCommentId (ID!) | The Node ID of the comment to modify. |
Autogenerated input type of UpdatePullRequestReview
Name | Description |
---|---|
body (String!) | The contents of the pull request review body. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
pullRequestReviewId (ID!) | The Node ID of the pull request review to modify. |
Autogenerated input type of UpdateRef
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
force (Boolean) | Permit updates of branch Refs that are not fast-forwards? |
oid (GitObjectID!) | The GitObjectID that the Ref shall be updated to target. |
refId (ID!) | The Node ID of the Ref to be updated. |
Autogenerated input type of UpdateRefs
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
refUpdates ([RefUpdate!]!) | A list of ref updates. |
repositoryId (ID!) | The Node ID of the repository. |
Autogenerated input type of UpdateRepository
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
description (String) | A new description for the repository. Pass an empty string to erase the existing description. |
hasIssuesEnabled (Boolean) | Indicates if the repository should have the issues feature enabled. |
hasProjectsEnabled (Boolean) | Indicates if the repository should have the project boards feature enabled. |
hasWikiEnabled (Boolean) | Indicates if the repository should have the wiki feature enabled. |
homepageUrl (URI) | The URL for a web page about this repository. Pass an empty string to erase the existing URL. |
name (String) | The new name of the repository. |
repositoryId (ID!) | The ID of the repository to update. |
template (Boolean) | Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. |
Autogenerated input type of UpdateSponsorshipPreferences
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
privacyLevel (SponsorshipPrivacy) | Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. |
receiveEmails (Boolean) | Whether the sponsor should receive email updates from the sponsorable. |
sponsorId (ID) | The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. |
sponsorLogin (String) | The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. |
sponsorableId (ID) | The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. |
sponsorableLogin (String) | The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. |
Autogenerated input type of UpdateSubscription
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
state (SubscriptionState!) | The new state of the subscription. |
subscribableId (ID!) | The Node ID of the subscribable object to modify. |
Autogenerated input type of UpdateTeamDiscussionComment
Name | Description |
---|---|
body (String!) | The updated text of the comment. |
bodyVersion (String) | The current version of the body content. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the comment to modify. |
Autogenerated input type of UpdateTeamDiscussion
Name | Description |
---|---|
body (String) | The updated text of the discussion. |
bodyVersion (String) | The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server. |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The Node ID of the discussion to modify. |
pinned (Boolean) | If provided, sets the pinned state of the updated discussion. |
title (String) | The updated title of the discussion. |
Autogenerated input type of UpdateTeamReviewAssignment
Name | Description |
---|---|
algorithm (TeamReviewAssignmentAlgorithm) | The algorithm to use for review assignment |
clientMutationId (String) | A unique identifier for the client performing the mutation. |
enabled (Boolean!) | Turn on or off review assignment |
excludedTeamMemberIds ([ID!]) | An array of team member IDs to exclude |
id (ID!) | The Node ID of the team to update review assignments of |
notifyTeam (Boolean) | Notify the entire team of the PR if it is delegated |
teamMemberCount (Int) | The number of team members to assign |
Autogenerated input type of UpdateTopics
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
repositoryId (ID!) | The Node ID of the repository. |
topicNames ([String!]!) | An array of topic names. |
Ordering options for user status connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (UserStatusOrderField!) | The field to order user statuses by. |
Ordering options for verifiable domain connections.
Name | Description |
---|---|
direction (OrderDirection!) | The ordering direction. |
field (VerifiableDomainOrderField!) | The field to order verifiable domains by. |
Autogenerated input type of VerifyVerifiableDomain
Name | Description |
---|---|
clientMutationId (String) | A unique identifier for the client performing the mutation. |
id (ID!) | The ID of the verifiable domain to verify. |