Object GitHub::Mutation
The root query for implementing GraphQL mutations.
Fields
acceptEnterpriseAdministratorInvitation(input: AcceptEnterpriseAdministratorInvitationInput!): AcceptEnterpriseAdministratorInvitationPayload
Accepts a pending invitation for a user to become an administrator of an enterprise.
acceptTopicSuggestion(input: AcceptTopicSuggestionInput!): AcceptTopicSuggestionPayload
Applies a suggested topic to the repository.
addAssigneesToAssignable(input: AddAssigneesToAssignableInput!): AddAssigneesToAssignablePayload
Adds assignees to an assignable object.
addComment(input: AddCommentInput!): AddCommentPayload
Adds a comment to an Issue or Pull Request.
addLabelsToLabelable(input: AddLabelsToLabelableInput!): AddLabelsToLabelablePayload
Adds labels to a labelable object.
addProjectCard(input: AddProjectCardInput!): AddProjectCardPayload
Adds a card to a ProjectColumn. Either contentId
or note
must be provided but not both.
addProjectColumn(input: AddProjectColumnInput!): AddProjectColumnPayload
Adds a column to a Project.
addPullRequestReview(input: AddPullRequestReviewInput!): AddPullRequestReviewPayload
Adds a review to a Pull Request.
addPullRequestReviewComment(input: AddPullRequestReviewCommentInput!): AddPullRequestReviewCommentPayload
Adds a comment to a review.
addPullRequestReviewThread(input: AddPullRequestReviewThreadInput!): AddPullRequestReviewThreadPayload
Adds a new thread to a pending Pull Request Review.
addReaction(input: AddReactionInput!): AddReactionPayload
Adds a reaction to a subject.
addStar(input: AddStarInput!): AddStarPayload
Adds a star to a Starrable.
archiveRepository(input: ArchiveRepositoryInput!): ArchiveRepositoryPayload
Marks a repository as archived.
cancelEnterpriseAdminInvitation(input: CancelEnterpriseAdminInvitationInput!): CancelEnterpriseAdminInvitationPayload
Cancels a pending invitation for an administrator to join an enterprise.
changeUserStatus(input: ChangeUserStatusInput!): ChangeUserStatusPayload
Update your status on GitHub.
clearLabelsFromLabelable(input: ClearLabelsFromLabelableInput!): ClearLabelsFromLabelablePayload
Clears all labels from a labelable object.
cloneProject(input: CloneProjectInput!): CloneProjectPayload
Creates a new project by cloning configuration from an existing project.
cloneTemplateRepository(input: CloneTemplateRepositoryInput!): CloneTemplateRepositoryPayload
Create a new repository with the same files and directory structure as a template repository.
closeIssue(input: CloseIssueInput!): CloseIssuePayload
Close an issue.
closePullRequest(input: ClosePullRequestInput!): ClosePullRequestPayload
Close a pull request.
convertProjectCardNoteToIssue(input: ConvertProjectCardNoteToIssueInput!): ConvertProjectCardNoteToIssuePayload
Convert a project note card to one associated with a newly created issue.
createBranchProtectionRule(input: CreateBranchProtectionRuleInput!): CreateBranchProtectionRulePayload
Create a new branch protection rule
createEnterpriseOrganization(input: CreateEnterpriseOrganizationInput!): CreateEnterpriseOrganizationPayload
Creates an organization as part of an enterprise account.
createIpAllowListEntry(input: CreateIpAllowListEntryInput!): CreateIpAllowListEntryPayload
Creates a new IP allow list entry.
createIssue(input: CreateIssueInput!): CreateIssuePayload
Creates a new issue.
createProject(input: CreateProjectInput!): CreateProjectPayload
Creates a new project.
createPullRequest(input: CreatePullRequestInput!): CreatePullRequestPayload
Create a new pull request
createRef(input: CreateRefInput!): CreateRefPayload
Create a new Git Ref.
createRepository(input: CreateRepositoryInput!): CreateRepositoryPayload
Create a new repository.
createTeamDiscussion(input: CreateTeamDiscussionInput!): CreateTeamDiscussionPayload
Creates a new team discussion.
createTeamDiscussionComment(input: CreateTeamDiscussionCommentInput!): CreateTeamDiscussionCommentPayload
Creates a new team discussion comment.
declineTopicSuggestion(input: DeclineTopicSuggestionInput!): DeclineTopicSuggestionPayload
Rejects a suggested topic for the repository.
deleteBranchProtectionRule(input: DeleteBranchProtectionRuleInput!): DeleteBranchProtectionRulePayload
Delete a branch protection rule
deleteDeployment(input: DeleteDeploymentInput!): DeleteDeploymentPayload
Deletes a deployment.
deleteIpAllowListEntry(input: DeleteIpAllowListEntryInput!): DeleteIpAllowListEntryPayload
Deletes an IP allow list entry.
deleteIssue(input: DeleteIssueInput!): DeleteIssuePayload
Deletes an Issue object.
deleteIssueComment(input: DeleteIssueCommentInput!): DeleteIssueCommentPayload
Deletes an IssueComment object.
deleteProject(input: DeleteProjectInput!): DeleteProjectPayload
Deletes a project.
deleteProjectCard(input: DeleteProjectCardInput!): DeleteProjectCardPayload
Deletes a project card.
deleteProjectColumn(input: DeleteProjectColumnInput!): DeleteProjectColumnPayload
Deletes a project column.
deletePullRequestReview(input: DeletePullRequestReviewInput!): DeletePullRequestReviewPayload
Deletes a pull request review.
deletePullRequestReviewComment(input: DeletePullRequestReviewCommentInput!): DeletePullRequestReviewCommentPayload
Deletes a pull request review comment.
deleteRef(input: DeleteRefInput!): DeleteRefPayload
Delete a Git Ref.
deleteTeamDiscussion(input: DeleteTeamDiscussionInput!): DeleteTeamDiscussionPayload
Deletes a team discussion.
deleteTeamDiscussionComment(input: DeleteTeamDiscussionCommentInput!): DeleteTeamDiscussionCommentPayload
Deletes a team discussion comment.
dismissPullRequestReview(input: DismissPullRequestReviewInput!): DismissPullRequestReviewPayload
Dismisses an approved or rejected pull request review.
followUser(input: FollowUserInput!): FollowUserPayload
Follow a user.
inviteEnterpriseAdmin(input: InviteEnterpriseAdminInput!): InviteEnterpriseAdminPayload
Invite someone to become an administrator of the enterprise.
linkRepositoryToProject(input: LinkRepositoryToProjectInput!): LinkRepositoryToProjectPayload
Creates a repository link for a project.
lockLockable(input: LockLockableInput!): LockLockablePayload
Lock a lockable object
markPullRequestReadyForReview(input: MarkPullRequestReadyForReviewInput!): MarkPullRequestReadyForReviewPayload
Marks a pull request ready for review.
mergeBranch(input: MergeBranchInput!): MergeBranchPayload
Merge a head into a branch.
mergePullRequest(input: MergePullRequestInput!): MergePullRequestPayload
Merge a pull request.
minimizeComment(input: MinimizeCommentInput!): MinimizeCommentPayload
Minimizes a comment on an Issue, Commit, Pull Request, or Gist
moveProjectCard(input: MoveProjectCardInput!): MoveProjectCardPayload
Moves a project card to another place.
moveProjectColumn(input: MoveProjectColumnInput!): MoveProjectColumnPayload
Moves a project column to another place.
regenerateEnterpriseIdentityProviderRecoveryCodes(input: RegenerateEnterpriseIdentityProviderRecoveryCodesInput!): RegenerateEnterpriseIdentityProviderRecoveryCodesPayload
Regenerates the identity provider recovery codes for an enterprise
removeAssigneesFromAssignable(input: RemoveAssigneesFromAssignableInput!): RemoveAssigneesFromAssignablePayload
Removes assignees from an assignable object.
removeEnterpriseAdmin(input: RemoveEnterpriseAdminInput!): RemoveEnterpriseAdminPayload
Removes an administrator from the enterprise.
removeEnterpriseIdentityProvider(input: RemoveEnterpriseIdentityProviderInput!): RemoveEnterpriseIdentityProviderPayload
Removes the identity provider from an enterprise
removeEnterpriseOrganization(input: RemoveEnterpriseOrganizationInput!): RemoveEnterpriseOrganizationPayload
Removes an organization from the enterprise
removeLabelsFromLabelable(input: RemoveLabelsFromLabelableInput!): RemoveLabelsFromLabelablePayload
Removes labels from a Labelable object.
removeOutsideCollaborator(input: RemoveOutsideCollaboratorInput!): RemoveOutsideCollaboratorPayload
Removes outside collaborator from all repositories in an organization.
removeReaction(input: RemoveReactionInput!): RemoveReactionPayload
Removes a reaction from a subject.
removeStar(input: RemoveStarInput!): RemoveStarPayload
Removes a star from a Starrable.
reopenIssue(input: ReopenIssueInput!): ReopenIssuePayload
Reopen a issue.
reopenPullRequest(input: ReopenPullRequestInput!): ReopenPullRequestPayload
Reopen a pull request.
requestReviews(input: RequestReviewsInput!): RequestReviewsPayload
Set review requests on a pull request.
resolveReviewThread(input: ResolveReviewThreadInput!): ResolveReviewThreadPayload
Marks a review thread as resolved.
setEnterpriseIdentityProvider(input: SetEnterpriseIdentityProviderInput!): SetEnterpriseIdentityProviderPayload
Creates or updates the identity provider for an enterprise.
submitPullRequestReview(input: SubmitPullRequestReviewInput!): SubmitPullRequestReviewPayload
Submits a pending pull request review.
transferIssue(input: TransferIssueInput!): TransferIssuePayload
Transfer an issue to a different repository
unarchiveRepository(input: UnarchiveRepositoryInput!): UnarchiveRepositoryPayload
Unarchives a repository.
unfollowUser(input: UnfollowUserInput!): UnfollowUserPayload
Unfollow a user.
unlinkRepositoryFromProject(input: UnlinkRepositoryFromProjectInput!): UnlinkRepositoryFromProjectPayload
Deletes a repository link from a project.
unlockLockable(input: UnlockLockableInput!): UnlockLockablePayload
Unlock a lockable object
unmarkIssueAsDuplicate(input: UnmarkIssueAsDuplicateInput!): UnmarkIssueAsDuplicatePayload
Unmark an issue as a duplicate of another issue.
unminimizeComment(input: UnminimizeCommentInput!): UnminimizeCommentPayload
Unminimizes a comment on an Issue, Commit, Pull Request, or Gist
unresolveReviewThread(input: UnresolveReviewThreadInput!): UnresolveReviewThreadPayload
Marks a review thread as unresolved.
updateBranchProtectionRule(input: UpdateBranchProtectionRuleInput!): UpdateBranchProtectionRulePayload
Create a new branch protection rule
updateEnterpriseActionExecutionCapabilitySetting(input: UpdateEnterpriseActionExecutionCapabilitySettingInput!): UpdateEnterpriseActionExecutionCapabilitySettingPayload
Sets the action execution capability setting for an enterprise.
updateEnterpriseAdministratorRole(input: UpdateEnterpriseAdministratorRoleInput!): UpdateEnterpriseAdministratorRolePayload
Updates the role of an enterprise administrator.
updateEnterpriseAllowPrivateRepositoryForkingSetting(input: UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput!): UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload
Sets whether private repository forks are enabled for an enterprise.
updateEnterpriseDefaultRepositoryPermissionSetting(input: UpdateEnterpriseDefaultRepositoryPermissionSettingInput!): UpdateEnterpriseDefaultRepositoryPermissionSettingPayload
Sets the default repository permission for organizations in an enterprise.
updateEnterpriseMembersCanChangeRepositoryVisibilitySetting(input: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput!): UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload
Sets whether organization members with admin permissions on a repository can change repository visibility.
updateEnterpriseMembersCanCreateRepositoriesSetting(input: UpdateEnterpriseMembersCanCreateRepositoriesSettingInput!): UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload
Sets the members can create repositories setting for an enterprise.
updateEnterpriseMembersCanDeleteIssuesSetting(input: UpdateEnterpriseMembersCanDeleteIssuesSettingInput!): UpdateEnterpriseMembersCanDeleteIssuesSettingPayload
Sets the members can delete issues setting for an enterprise.
updateEnterpriseMembersCanDeleteRepositoriesSetting(input: UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput!): UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload
Sets the members can delete repositories setting for an enterprise.
updateEnterpriseMembersCanInviteCollaboratorsSetting(input: UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput!): UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload
Sets whether members can invite collaborators are enabled for an enterprise.
updateEnterpriseMembersCanMakePurchasesSetting(input: UpdateEnterpriseMembersCanMakePurchasesSettingInput!): UpdateEnterpriseMembersCanMakePurchasesSettingPayload
Sets whether or not an organization admin can make purchases.
updateEnterpriseMembersCanUpdateProtectedBranchesSetting(input: UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput!): UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload
Sets the members can update protected branches setting for an enterprise.
updateEnterpriseMembersCanViewDependencyInsightsSetting(input: UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput!): UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload
Sets the members can view dependency insights for an enterprise.
updateEnterpriseOrganizationProjectsSetting(input: UpdateEnterpriseOrganizationProjectsSettingInput!): UpdateEnterpriseOrganizationProjectsSettingPayload
Sets whether organization projects are enabled for an enterprise.
updateEnterpriseProfile(input: UpdateEnterpriseProfileInput!): UpdateEnterpriseProfilePayload
Updates an enterprise's profile.
updateEnterpriseRepositoryProjectsSetting(input: UpdateEnterpriseRepositoryProjectsSettingInput!): UpdateEnterpriseRepositoryProjectsSettingPayload
Sets whether repository projects are enabled for a enterprise.
updateEnterpriseTeamDiscussionsSetting(input: UpdateEnterpriseTeamDiscussionsSettingInput!): UpdateEnterpriseTeamDiscussionsSettingPayload
Sets whether team discussions are enabled for an enterprise.
updateEnterpriseTwoFactorAuthenticationRequiredSetting(input: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput!): UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload
Sets whether two factor authentication is required for all users in an enterprise.
updateIpAllowListEnabledSetting(input: UpdateIpAllowListEnabledSettingInput!): UpdateIpAllowListEnabledSettingPayload
Sets whether an IP allow list is enabled on an owner.
updateIpAllowListEntry(input: UpdateIpAllowListEntryInput!): UpdateIpAllowListEntryPayload
Updates an IP allow list entry.
updateIssue(input: UpdateIssueInput!): UpdateIssuePayload
Updates an Issue.
updateIssueComment(input: UpdateIssueCommentInput!): UpdateIssueCommentPayload
Updates an IssueComment object.
updateProject(input: UpdateProjectInput!): UpdateProjectPayload
Updates an existing project.
updateProjectCard(input: UpdateProjectCardInput!): UpdateProjectCardPayload
Updates an existing project card.
updateProjectColumn(input: UpdateProjectColumnInput!): UpdateProjectColumnPayload
Updates an existing project column.
updatePullRequest(input: UpdatePullRequestInput!): UpdatePullRequestPayload
Update a pull request
updatePullRequestReview(input: UpdatePullRequestReviewInput!): UpdatePullRequestReviewPayload
Updates the body of a pull request review.
updatePullRequestReviewComment(input: UpdatePullRequestReviewCommentInput!): UpdatePullRequestReviewCommentPayload
Updates a pull request review comment.
updateRef(input: UpdateRefInput!): UpdateRefPayload
Update a Git Ref.
updateRepository(input: UpdateRepositoryInput!): UpdateRepositoryPayload
Update information about a repository.
updateSubscription(input: UpdateSubscriptionInput!): UpdateSubscriptionPayload
Updates the state for subscribable subjects.
updateTeamDiscussion(input: UpdateTeamDiscussionInput!): UpdateTeamDiscussionPayload
Updates a team discussion.
updateTeamDiscussionComment(input: UpdateTeamDiscussionCommentInput!): UpdateTeamDiscussionCommentPayload
Updates a discussion comment.
updateTopics(input: UpdateTopicsInput!): UpdateTopicsPayload
Replaces the repository's topics with the given topics.