输入对象可描述为“可组合对象”,因为它们包含一组用于定义对象的输入字段。
例如,CommitAuthor
采用 emails
字段。 为 emails
提供一个值后,可将 CommitAuthor
转换成包含电子邮件地址的 User
对象列表。 注意,对象可能包含输入对象,然而,变更需要输入对象 。
有关详细信息,请参阅“使用 GraphQL 建立调用”。
Autogenerated input type of AbortQueuedMigrations.
Autogenerated input type of AbortRepositoryMigration.
Autogenerated input type of AccessUserNamespaceRepository.
Autogenerated input type of AddAssigneesToAssignable.
Autogenerated input type of AddComment.
Autogenerated input type of AddDiscussionComment.
输入 AddDiscussionCommentInput
字段
名称 | 说明 |
---|---|
| The contents of the comment. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the discussion to comment on. |
| The Node ID of the discussion comment within this discussion to reply to. |
Autogenerated input type of AddDiscussionPollVote.
Autogenerated input type of AddEnterpriseAdmin.
Autogenerated input type of AddEnterpriseOrganizationMember.
输入 AddEnterpriseOrganizationMemberInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise which owns the organization. |
| The ID of the organization the users will be added to. |
| The role to assign the users in the organization. |
| The IDs of the enterprise members to add. |
Autogenerated input type of AddLabelsToLabelable.
Autogenerated input type of AddProjectCard.
Autogenerated input type of AddProjectColumn.
Autogenerated input type of AddProjectV2DraftIssue.
输入 AddProjectV2DraftIssueInput
字段
名称 | 说明 |
---|---|
| The IDs of the assignees of the draft issue. |
| The body of the draft issue. |
| A unique identifier for the client performing the mutation. |
| The ID of the Project to add the draft issue to. |
| The title of the draft issue. A project item can also be created by providing the URL of an Issue or Pull Request if you have access. |
Autogenerated input type of AddProjectV2ItemById.
Autogenerated input type of AddPullRequestReviewComment.
输入 AddPullRequestReviewCommentInput
字段
名称 | 说明 |
---|---|
| The text of the comment. This field is required Upcoming Change on 2023-10-01 UTC Description: |
| A unique identifier for the client performing the mutation. |
| The SHA of the commit to comment on. Upcoming Change on 2023-10-01 UTC Description: |
| The comment id to reply to. Upcoming Change on 2023-10-01 UTC Description: |
| The relative path of the file to comment on. Upcoming Change on 2023-10-01 UTC Description: |
| The line index in the diff to comment on. Upcoming Change on 2023-10-01 UTC Description: |
| The node ID of the pull request reviewing Upcoming Change on 2023-10-01 UTC Description: |
| The Node ID of the review to modify. Upcoming Change on 2023-10-01 UTC Description: |
Autogenerated input type of AddPullRequestReview.
输入 AddPullRequestReviewInput
字段
名称 | 说明 |
---|---|
| The contents of the review body comment. |
| A unique identifier for the client performing the mutation. |
| The review line comments. Upcoming Change on 2023-10-01 UTC Description: |
| The commit OID the review pertains to. |
| The event to perform on the pull request review. |
| The Node ID of the pull request to modify. |
| The review line comment threads. |
Autogenerated input type of AddPullRequestReviewThread.
输入 AddPullRequestReviewThreadInput
字段
名称 | 说明 |
---|---|
| Body of the thread's first comment. |
| A unique identifier for the client performing the mutation. |
| The line of the blob to which the thread refers, required for line-level threads. The end of the line range for multi-line comments. |
| Path to the file being commented on. |
| The node ID of the pull request reviewing. |
| The Node ID of the review to modify. |
| 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. |
| The first line of the range to which the comment refers. |
| The side of the diff on which the start line resides. |
| The level at which the comments in the corresponding thread are targeted, can be a diff line or a file. |
Autogenerated input type of AddPullRequestReviewThreadReply.
输入 AddPullRequestReviewThreadReplyInput
字段
名称 | 说明 |
---|---|
| The text of the reply. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the pending review to which the reply will belong. |
| The Node ID of the thread to which this reply is being written. |
Autogenerated input type of AddReaction.
输入 AddReactionInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The name of the emoji to react with. |
| The Node ID of the subject to modify. |
Autogenerated input type of AddStar.
Autogenerated input type of AddSubIssue.
输入 AddSubIssueInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The id of the issue. |
| Option to replace parent issue if one already exists. |
| The id of the sub-issue. |
| The url of the sub-issue. |
Autogenerated input type of AddUpvote.
Autogenerated input type of AddVerifiableDomain.
Autogenerated input type of ApproveDeployments.
输入 ApproveDeploymentsInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Optional comment for approving deployments. |
| The ids of environments to reject deployments. |
| The node ID of the workflow run containing the pending deployments. |
Autogenerated input type of ApproveVerifiableDomain.
Autogenerated input type of ArchiveProjectV2Item.
Autogenerated input type of ArchiveRepository.
Ordering options for Audit Log connections.
输入 AuditLogOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order Audit Logs by. |
Parameters to be used for the branch_name_pattern rule.
Autogenerated input type of ChangeUserStatus.
输入 ChangeUserStatusInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., 😀. |
| If set, the user status will not be shown after this date. |
| Whether this status should indicate you are not fully available on , e.g., you are away. |
| A short description of your current status. |
| 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.
输入 CheckAnnotationData
字段
名称 | 说明 |
---|---|
| Represents an annotation's information level. |
| The location of the annotation. |
| A short description of the feedback for these lines of code. |
| The path of the file to add an annotation to. |
| Details about this annotation. |
| The title that represents the annotation. |
Information from a check run analysis to specific lines of code.
Possible further actions the integrator can perform.
The filters that are available when fetching check runs.
输入 CheckRunFilter
字段
名称 | 说明 |
---|---|
| Filters the check runs created by this application ID. |
| Filters the check runs by this name. |
| Filters the check runs by this type. |
| Filters the check runs by these conclusions. |
| Filters the check runs by this status. Superceded by statuses. |
| Filters the check runs by this status. Overrides status. |
Descriptive details about the check run.
输入 CheckRunOutput
字段
名称 | 说明 |
---|---|
| The annotations that are made as part of the check run. |
| Images attached to the check run output displayed in the pull request UI. |
| The summary of the check run (supports Commonmark). |
| The details of the check run (supports Commonmark). |
| A title to provide for this check run. |
Images attached to the check run output displayed in the pull request UI.
The auto-trigger preferences that are available for check suites.
The filters that are available when fetching check suites.
Autogenerated input type of ClearLabelsFromLabelable.
Autogenerated input type of ClearProjectV2ItemFieldValue.
Autogenerated input type of CloneProject.
输入 CloneProjectInput
字段
名称 | 说明 |
---|---|
| The description of the project. |
| A unique identifier for the client performing the mutation. |
| Whether or not to clone the source project's workflows. |
| The name of the project. |
| The visibility of the project, defaults to false (private). |
| The source project to clone. |
| The owner ID to create the project under. |
Autogenerated input type of CloneTemplateRepository.
输入 CloneTemplateRepositoryInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| A short description of the new repository. |
| Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. |
| The name of the new repository. |
| The ID of the owner for the new repository. |
| The Node ID of the template repository. |
| Indicates the repository's visibility level. |
Autogenerated input type of CloseDiscussion.
输入 CloseDiscussionInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| ID of the discussion to be closed. |
| The reason why the discussion is being closed. |
Autogenerated input type of CloseIssue.
输入 CloseIssueInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| ID of the issue that this is a duplicate of. |
| ID of the issue to be closed. |
| The reason the issue is to be closed. |
Autogenerated input type of ClosePullRequest.
Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated.
输入 CodeScanningParametersInput
字段
名称 | 说明 |
---|---|
| Tools that must provide code scanning results for this rule to pass. |
A tool that must provide code scanning results for this rule to pass.
输入 CodeScanningToolInput
字段
名称 | 说明 |
---|---|
| The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see "About code scanning alerts.". |
| The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see "About code scanning alerts.". |
| The name of a code scanning tool. |
Specifies an author for filtering Git commits.
Parameters to be used for the commit_author_email_pattern rule.
Ordering options for commit contribution connections.
输入 CommitContributionOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field by which to order commit contributions. |
A message to include with a new commit.
Parameters to be used for the commit_message_pattern rule.
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 repositoryNameWithOwner
and branchName
.
Specify a branch using a global node ID:
{ "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" }
Specify a branch using repositoryNameWithOwner
and branchName
:
{
"repositoryNameWithOwner": "/graphql-client",
"branchName": "main"
}.
Parameters to be used for the committer_email_pattern rule.
Ordering options for contribution connections.
输入 ContributionOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
Autogenerated input type of ConvertProjectCardNoteToIssue.
输入 ConvertProjectCardNoteToIssueInput
字段
名称 | 说明 |
---|---|
| The body of the newly created issue. |
| A unique identifier for the client performing the mutation. |
| The ProjectCard ID to convert. |
| The ID of the repository to create the issue in. |
| The title of the newly created issue. Defaults to the card's note text. |
Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue.
Autogenerated input type of ConvertPullRequestToDraft.
Autogenerated input type of CopyProjectV2.
输入 CopyProjectV2Input
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Include draft issues in the new project. |
| The owner ID of the new project. |
| The ID of the source Project to copy. |
| The title of the project. |
Autogenerated input type of CreateAttributionInvitation.
输入 CreateAttributionInvitationInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The Node ID of the owner scoping the reattributable data. |
| The Node ID of the account owning the data to reattribute. |
| The Node ID of the account which may claim the data. |
Autogenerated input type of CreateBranchProtectionRule.
输入 CreateBranchProtectionRuleInput
字段
名称 | 说明 |
---|---|
| Can this branch be deleted. |
| Are force pushes allowed on this branch. |
| Is branch creation a protected operation. |
| A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. |
| A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. |
| A unique identifier for the client performing the mutation. |
| Will new commits pushed to matching branches dismiss pull request review approvals. |
| Can admins override branch protection. |
| Whether users can pull changes from upstream when the branch is locked. Set to |
| Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. |
| The glob-like pattern used to determine matching branches. |
| A list of User, Team, or App IDs allowed to push to matching branches. |
| The global relay id of the repository in which a new branch protection rule should be created in. |
| Whether the most recent push must be approved by someone other than the person who pushed it. |
| Number of approving reviews required to update matching branches. |
| The list of required deployment environments. |
| List of required status check contexts that must pass for commits to be accepted to matching branches. |
| The list of required status checks. |
| Are approving reviews required to update matching branches. |
| Are reviews from code owners required to update matching branches. |
| Are commits required to be signed. |
| Are conversations required to be resolved before merging. |
| Are successful deployments required before merging. |
| Are merge commits prohibited from being pushed to this branch. |
| Are status checks required to update matching branches. |
| Are branches required to be up to date before merging. |
| Is pushing to matching branches restricted. |
| Is dismissal of pull request reviews restricted. |
| A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. |
Autogenerated input type of CreateCheckRun.
输入 CreateCheckRunInput
字段
名称 | 说明 |
---|---|
| Possible further actions the integrator can perform, which a user may trigger. |
| A unique identifier for the client performing the mutation. |
| The time that the check run finished. |
| The final conclusion of the check. |
| The URL of the integrator's site that has the full details of the check. |
| A reference for the run on the integrator's system. |
| The SHA of the head commit. |
| The name of the check. |
| Descriptive details about the run. |
| The node ID of the repository. |
| The time that the check run began. |
| The current status. |
Autogenerated input type of CreateCheckSuite.
输入 CreateCheckSuiteInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The SHA of the head commit. |
| The Node ID of the repository. |
Autogenerated input type of CreateCommitOnBranch.
输入 CreateCommitOnBranchInput
字段
名称 | 说明 |
---|---|
| The Ref to be updated. Must be a branch. |
| A unique identifier for the client performing the mutation. |
| The git commit oid expected at the head of the branch prior to the commit. |
| A description of changes to files in this commit. |
| The commit message the be included with the commit. |
Autogenerated input type of CreateDeployment.
输入 CreateDeploymentInput
字段
名称 | 说明 |
---|---|
| Attempt to automatically merge the default branch into the requested ref, defaults to true. |
| A unique identifier for the client performing the mutation. |
| Short description of the deployment. |
| Name for the target deployment environment. |
| JSON payload with extra information about the deployment. |
| The node ID of the ref to be deployed. |
| The node ID of the repository. |
| The status contexts to verify against commit status checks. To bypass required contexts, pass an empty array. Defaults to all unique contexts. |
| Specifies a task to execute. |
Autogenerated input type of CreateDeploymentStatus.
输入 CreateDeploymentStatusInput
字段
名称 | 说明 |
---|---|
| 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. |
| A unique identifier for the client performing the mutation. |
| The node ID of the deployment. |
| A short description of the status. Maximum length of 140 characters. |
| If provided, updates the environment of the deploy. Otherwise, does not modify the environment. |
| Sets the URL for accessing your environment. |
| 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. |
| The state of the deployment. |
Autogenerated input type of CreateDiscussion.
输入 CreateDiscussionInput
字段
名称 | 说明 |
---|---|
| The body of the discussion. |
| The id of the discussion category to associate with this discussion. |
| A unique identifier for the client performing the mutation. |
| The id of the repository on which to create the discussion. |
| The title of the discussion. |
Autogenerated input type of CreateEnterpriseOrganization.
输入 CreateEnterpriseOrganizationInput
字段
名称 | 说明 |
---|---|
| The logins for the administrators of the new organization. |
| The email used for sending billing receipts. |
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise owning the new organization. |
| The login of the new organization. |
| The profile name of the new organization. |
Autogenerated input type of CreateEnvironment.
Autogenerated input type of CreateIpAllowListEntry.
输入 CreateIpAllowListEntryInput
字段
名称 | 说明 |
---|---|
| An IP address or range of addresses in CIDR notation. |
| A unique identifier for the client performing the mutation. |
| Whether the IP allow list entry is active when an IP allow list is enabled. |
| An optional name for the IP allow list entry. |
| The ID of the owner for which to create the new IP allow list entry. |
Autogenerated input type of CreateIssue.
输入 CreateIssueInput
字段
名称 | 说明 |
---|---|
| The Node ID for the user assignee for this issue. |
| The body for the issue description. |
| A unique identifier for the client performing the mutation. |
| The name of an issue template in the repository, assigns labels and assignees from the template to the issue. |
| The Node ID of the issue type for this issue. |
| An array of Node IDs of labels for this issue. |
| The Node ID of the milestone for this issue. |
| The Node ID of the parent issue to add this new issue to. |
| An array of Node IDs for projects associated with this issue. |
| The Node ID of the repository. |
| The title for the issue. |
Autogenerated input type of CreateIssueType.
输入 CreateIssueTypeInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Color for the issue type. |
| Description of the new issue type. |
| Whether or not the issue type is enabled on the org level. |
| Whether or not the issue type is restricted to issues in private repositories Upcoming Change on 2025-04-01 UTC Description: |
| Name of the new issue type. |
| The ID for the organization on which the issue type is created. |
Autogenerated input type of CreateLabel.
输入 CreateLabelInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| A 6 character hex code, without the leading #, identifying the color of the label. |
| A brief description of the label, such as its purpose. |
| The name of the label. |
| The Node ID of the repository. |
Autogenerated input type of CreateLinkedBranch.
输入 CreateLinkedBranchInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| ID of the issue to link to. |
| The name of the new branch. Defaults to issue number and title. |
| The commit SHA to base the new branch on. |
| ID of the repository to create the branch in. Defaults to the issue repository. |
Autogenerated input type of CreateMigrationSource.
输入 CreateMigrationSourceInput
字段
名称 | 说明 |
---|---|
| The migration source access token. |
| A unique identifier for the client performing the mutation. |
| The personal access token of the user importing to the target repository. |
| The migration source name. |
| The ID of the organization that will own the migration source. |
| The migration source type. |
| The migration source URL, for example |
Autogenerated input type of CreateProject.
输入 CreateProjectInput
字段
名称 | 说明 |
---|---|
| The description of project. |
| A unique identifier for the client performing the mutation. |
| The name of project. |
| The owner ID to create the project under. |
| A list of repository IDs to create as linked repositories for the project. |
| The name of the -provided template. |
Autogenerated input type of CreateProjectV2Field.
输入 CreateProjectV2FieldInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The data type of the field. |
| Configuration for an iteration field. |
| The name of the field. |
| The ID of the Project to create the field in. |
| Options for a single select field. At least one value is required if data_type is SINGLE_SELECT. |
Autogenerated input type of CreateProjectV2.
输入 CreateProjectV2Input
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The owner ID to create the project under. |
| The repository to link the project to. |
| The team to link the project to. The team will be granted read permissions. |
| The title of the project. |
Autogenerated input type of CreateProjectV2StatusUpdate.
输入 CreateProjectV2StatusUpdateInput
字段
名称 | 说明 |
---|---|
| The body of the status update. |
| A unique identifier for the client performing the mutation. |
| The ID of the Project to create the status update in. |
| The start date of the status update. |
| The status of the status update. |
| The target date of the status update. |
Autogenerated input type of CreatePullRequest.
输入 CreatePullRequestInput
字段
名称 | 说明 |
---|---|
| 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. |
| The contents of the pull request. |
| A unique identifier for the client performing the mutation. |
| Indicates whether this pull request should be a draft. |
| The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace |
| The Node ID of the head repository. |
| Indicates whether maintainers can modify the pull request. |
| The Node ID of the repository. |
| The title of the pull request. |
Autogenerated input type of CreateRef.
输入 CreateRefInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The fully qualified name of the new Ref (ie: |
| The GitObjectID that the new Ref shall target. Must point to a commit. |
| The Node ID of the Repository to create the Ref in. |
Autogenerated input type of CreateRepository.
输入 CreateRepositoryInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| A short description of the new repository. |
| Indicates if the repository should have the issues feature enabled. |
| Indicates if the repository should have the wiki feature enabled. |
| The URL for a web page about this repository. |
| The name of the new repository. |
| The ID of the owner for the new repository. |
| When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. |
| 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. |
| Indicates the repository's visibility level. |
Autogenerated input type of CreateRepositoryRuleset.
输入 CreateRepositoryRulesetInput
字段
名称 | 说明 |
---|---|
| A list of actors that are allowed to bypass rules in this ruleset. |
| A unique identifier for the client performing the mutation. |
| The set of conditions for this ruleset. |
| The enforcement level for this ruleset. |
| The name of the ruleset. |
| The list of rules for this ruleset. |
| The global relay id of the source in which a new ruleset should be created in. |
| The target of the ruleset. |
Autogenerated input type of CreateTeamDiscussionComment.
输入 CreateTeamDiscussionCommentInput
字段
名称 | 说明 |
---|---|
| The content of the comment. This field is required. Upcoming Change on 2024-07-01 UTC Description: |
| A unique identifier for the client performing the mutation. |
| The ID of the discussion to which the comment belongs. This field is required. Upcoming Change on 2024-07-01 UTC Description: |
Autogenerated input type of CreateTeamDiscussion.
输入 CreateTeamDiscussionInput
字段
名称 | 说明 |
---|---|
| The content of the discussion. This field is required. Upcoming Change on 2024-07-01 UTC Description: |
| A unique identifier for the client performing the mutation. |
| If true, restricts the visibility of this discussion to team members and organization owners. If false or not specified, allows any organization member to view this discussion. Upcoming Change on 2024-07-01 UTC Description: |
| The ID of the team to which the discussion belongs. This field is required. Upcoming Change on 2024-07-01 UTC Description: |
| The title of the discussion. This field is required. Upcoming Change on 2024-07-01 UTC Description: |
Autogenerated input type of CreateUserList.
Autogenerated input type of DeleteBranchProtectionRule.
Autogenerated input type of DeleteDeployment.
Autogenerated input type of DeleteDiscussionComment.
Autogenerated input type of DeleteDiscussion.
Autogenerated input type of DeleteEnvironment.
Autogenerated input type of DeleteIpAllowListEntry.
Autogenerated input type of DeleteIssueComment.
Autogenerated input type of DeleteIssue.
Autogenerated input type of DeleteIssueType.
Autogenerated input type of DeleteLabel.
Autogenerated input type of DeleteLinkedBranch.
Autogenerated input type of DeletePackageVersion.
Autogenerated input type of DeleteProjectCard.
Autogenerated input type of DeleteProjectColumn.
Autogenerated input type of DeleteProject.
Autogenerated input type of DeleteProjectV2Field.
Autogenerated input type of DeleteProjectV2.
Autogenerated input type of DeleteProjectV2Item.
Autogenerated input type of DeleteProjectV2StatusUpdate.
Autogenerated input type of DeleteProjectV2Workflow.
Autogenerated input type of DeletePullRequestReviewComment.
Autogenerated input type of DeletePullRequestReview.
Autogenerated input type of DeleteRef.
Autogenerated input type of DeleteRepositoryRuleset.
Autogenerated input type of DeleteTeamDiscussionComment.
Autogenerated input type of DeleteTeamDiscussion.
Autogenerated input type of DeleteUserList.
Autogenerated input type of DeleteVerifiableDomain.
Ordering options for deployment connections.
输入 DeploymentOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order deployments by. |
Autogenerated input type of DequeuePullRequest.
Autogenerated input type of DisablePullRequestAutoMerge.
Ways in which lists of discussions can be ordered upon return.
输入 DiscussionOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order discussions by the specified field. |
| The field by which to order discussions. |
Ordering options for discussion poll option connections.
输入 DiscussionPollOptionOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order poll options by. |
Autogenerated input type of DismissPullRequestReview.
Autogenerated input type of DismissRepositoryVulnerabilityAlert.
输入 DismissRepositoryVulnerabilityAlertInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The reason the Dependabot alert is being dismissed. |
| The Dependabot alert ID to dismiss. |
Specifies a review comment to be left with a Pull Request Review.
Specifies a review comment thread to be left with a Pull Request Review.
输入 DraftPullRequestReviewThread
字段
名称 | 说明 |
---|---|
| Body of the comment to leave. |
| The line of the blob to which the thread refers. The end of the line range for multi-line comments. |
| Path to the file being commented on. |
| 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. |
| The first line of the range to which the comment refers. |
| The side of the diff on which the start line resides. |
Autogenerated input type of EnablePullRequestAutoMerge.
输入 EnablePullRequestAutoMergeInput
字段
名称 | 说明 |
---|---|
| The email address to associate with this merge. |
| A unique identifier for the client performing the mutation. |
| Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit message is ignored. |
| Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit headline is ignored. |
| The expected head OID of the pull request. |
| The merge method to use. If omitted, defaults to |
| ID of the pull request to enable auto-merge on. |
Autogenerated input type of EnqueuePullRequest.
输入 EnqueuePullRequestInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The expected head OID of the pull request. |
| Add the pull request to the front of the queue. |
| The ID of the pull request to enqueue. |
Ordering options for enterprise administrator invitation connections.
输入 EnterpriseAdministratorInvitationOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
The field to order enterprise administrator invitations by. |
Ordering options for enterprise member connections.
输入 EnterpriseMemberOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order enterprise members by. |
Ordering options for enterprises.
输入 EnterpriseOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order enterprises by. |
Ordering options for Enterprise Server installation connections.
输入 EnterpriseServerInstallationOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
The field to order Enterprise Server installations by. |
Ordering options for Enterprise Server user account email connections.
输入 EnterpriseServerUserAccountEmailOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
The field to order emails by. |
Ordering options for Enterprise Server user account connections.
输入 EnterpriseServerUserAccountOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
The field to order user accounts by. |
Ordering options for Enterprise Server user accounts upload connections.
输入 EnterpriseServerUserAccountsUploadOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
The field to order user accounts uploads by. |
Ordering options for environments.
输入 Environments
字段
名称 | 说明 |
---|---|
| The direction in which to order environments by the specified field. |
| The field to order environments 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.
输入 FileAddition
字段
名称 | 说明 |
---|---|
| The base64 encoded contents of the file. |
| 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") } ] }.
输入 FileChanges
字段
名称 | 说明 |
---|---|
| File to add or change. |
| Files to delete. |
A command to delete the file at the given path as part of a commit.
输入 FileDeletion
字段
名称 | 说明 |
---|---|
| The path to delete. |
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
输入 FileExtensionRestrictionParametersInput
字段
名称 | 说明 |
---|---|
| The file extensions that are restricted from being pushed to the commit graph. |
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
输入 FilePathRestrictionParametersInput
字段
名称 | 说明 |
---|---|
| The file paths that are restricted from being pushed to the commit graph. |
Autogenerated input type of FollowOrganization.
Autogenerated input type of FollowUser.
Ordering options for gist connections.
输入 GistOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order repositories by. |
Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole.
输入 GrantEnterpriseOrganizationsMigratorRoleInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise to which all organizations managed by it will be granted the migrator role. |
| The login of the user to grant the migrator role. |
Autogenerated input type of GrantMigratorRole.
输入 GrantMigratorRoleInput
字段
名称 | 说明 |
---|---|
| The user login or Team slug to grant the migrator role. |
| Specifies the type of the actor, can be either USER or TEAM. |
| A unique identifier for the client performing the mutation. |
| The ID of the organization that the user/team belongs to. |
Autogenerated input type of ImportProject.
输入 ImportProjectInput
字段
名称 | 说明 |
---|---|
| The description of Project. |
| A unique identifier for the client performing the mutation. |
| A list of columns containing issues and pull requests. |
| The name of Project. |
| The name of the Organization or User to create the Project under. |
| Whether the Project is public or not. |
Ordering options for IP allow list entry connections.
输入 IpAllowListEntryOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order IP allow list entries by. |
Ways in which lists of issue comments can be ordered upon return.
输入 IssueCommentOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order issue comments by the specified field. |
| The field in which to order issue comments by. |
Ways in which to filter lists of issues.
输入 IssueFilters
字段
名称 | 说明 |
---|---|
| List issues assigned to given name. Pass in |
| List issues created by given name. |
| List issues where the list of label names exist on the issue. |
| List issues where the given name is mentioned in the issue. |
| 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 |
| 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 |
| List issues that have been updated at or after the given date. |
| List issues filtered by the list of states given. |
| List issues subscribed to by viewer. |
Ways in which lists of issues can be ordered upon return.
输入 IssueOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order issues by the specified field. |
| The field in which to order issues by. |
Ordering options for issue types connections.
输入 IssueTypeOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order issue types by. |
Ways in which lists of labels can be ordered upon return.
输入 LabelOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order labels by the specified field. |
| The field in which to order labels by. |
Ordering options for language connections.
输入 LanguageOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order languages by. |
Autogenerated input type of LinkProjectV2ToRepository.
Autogenerated input type of LinkProjectV2ToTeam.
Autogenerated input type of LinkRepositoryToProject.
Autogenerated input type of LockLockable.
输入 LockLockableInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| A reason for why the item will be locked. |
| ID of the item to be locked. |
Ordering options for mannequins.
输入 MannequinOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order mannequins by. |
Autogenerated input type of MarkDiscussionCommentAsAnswer.
Autogenerated input type of MarkFileAsViewed.
Autogenerated input type of MarkProjectV2AsTemplate.
Autogenerated input type of MarkPullRequestReadyForReview.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
输入 MaxFilePathLengthParametersInput
字段
名称 | 说明 |
---|---|
| The maximum amount of characters allowed in file paths. |
Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
输入 MaxFileSizeParametersInput
字段
名称 | 说明 |
---|---|
| The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). |
Autogenerated input type of MergeBranch.
输入 MergeBranchInput
字段
名称 | 说明 |
---|---|
| The name of the base branch that the provided head will be merged into. |
| A unique identifier for the client performing the mutation. |
| Message to use for the merge commit. If omitted, a default will be used. |
| The head to merge into the base branch. This can be a branch name or a commit GitObjectID. |
| The Node ID of the Repository containing the base branch that will be modified. |
Autogenerated input type of MergePullRequest.
输入 MergePullRequestInput
字段
名称 | 说明 |
---|---|
| The email address to associate with this merge. |
| A unique identifier for the client performing the mutation. |
| Commit body to use for the merge commit; if omitted, a default message will be used. |
| Commit headline to use for the merge commit; if omitted, a default message will be used. |
| OID that the pull request head ref must match to allow merge; if omitted, no check is performed. |
| The merge method to use. If omitted, defaults to 'MERGE'. |
| ID of the pull request to be merged. |
Merges must be performed via a merge queue.
输入 MergeQueueParametersInput
字段
名称 | 说明 |
---|---|
| Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed. |
| When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. |
| Limit the number of queued pull requests requesting checks and workflow runs at the same time. |
| The maximum number of PRs that will be merged together in a group. |
| Method to use when merging changes from queued pull requests. |
| The minimum number of PRs that will be merged together in a group. |
| The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. |
Ordering options for milestone connections.
输入 MilestoneOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order milestones by. |
Autogenerated input type of MinimizeComment.
输入 MinimizeCommentInput
字段
名称 | 说明 |
---|---|
| The classification of comment. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the subject to modify. |
Autogenerated input type of MoveProjectCard.
输入 MoveProjectCardInput
字段
名称 | 说明 |
---|---|
| Place the new card after the card with this id. Pass null to place it at the top. |
| The id of the card to move. |
| A unique identifier for the client performing the mutation. |
| The id of the column to move it into. |
Autogenerated input type of MoveProjectColumn.
Ordering options for an organization's enterprise owner connections.
输入 OrgEnterpriseOwnerOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order enterprise owners by. |
Ordering options for organization connections.
输入 OrganizationOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order organizations by. |
Ways in which lists of package files can be ordered upon return.
输入 PackageFileOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order package files by the specified field. |
| The field in which to order package files by. |
Ways in which lists of packages can be ordered upon return.
输入 PackageOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order packages by the specified field. |
| The field in which to order packages by. |
Ways in which lists of package versions can be ordered upon return.
输入 PackageVersionOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order package versions by the specified field. |
| The field in which to order package versions by. |
Autogenerated input type of PinEnvironment.
Autogenerated input type of PinIssue.
Ordering options for pinned environments.
输入 PinnedEnvironmentOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order pinned environments by the specified field. |
| The field to order pinned environments by. |
An issue or PR and its owning repository to be used in a project card.
A project column and a list of its issues and PRs.
输入 ProjectColumnImport
字段
名称 | 说明 |
---|---|
| The name of the column. |
| A list of issues and pull requests in the column. |
| The position of the column, starting from 0. |
Ways in which lists of projects can be ordered upon return.
输入 ProjectOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order projects by the specified field. |
| The field in which to order projects by. |
A collaborator to update on a project. Only one of the userId or teamId should be provided.
输入 ProjectV2Collaborator
字段
名称 | 说明 |
---|---|
| The role to grant the collaborator. |
| The ID of the team as a collaborator. |
| The ID of the user as a collaborator. |
Ordering options for project v2 field connections.
输入 ProjectV2FieldOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order the project v2 fields by. |
The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time.
输入 ProjectV2FieldValue
字段
名称 | 说明 |
---|---|
| The ISO 8601 date to set on the field. |
| The id of the iteration to set on the field. |
| The number to set on the field. |
| The id of the single select option to set on the field. |
| The text to set on the field. |
Ways in which to filter lists of projects.
输入 ProjectV2Filters
字段
名称 | 说明 |
---|---|
| List project v2 filtered by the state given. |
Ordering options for project v2 item field value connections.
输入 ProjectV2ItemFieldValueOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
The field to order the project v2 item field values by. |
Ordering options for project v2 item connections.
输入 ProjectV2ItemOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order the project v2 items by. |
Represents an iteration.
Represents an iteration field configuration.
输入 ProjectV2IterationFieldConfigurationInput
字段
名称 | 说明 |
---|---|
| The duration of each iteration, in days. |
| Zero or more iterations for the field. |
| The start date for the first iteration. |
Ways in which lists of projects can be ordered upon return.
输入 ProjectV2Order
字段
名称 | 说明 |
---|---|
| The direction in which to order projects by the specified field. |
| The field in which to order projects by. |
Represents a single select field option.
Ways in which project v2 status updates can be ordered.
输入 ProjectV2StatusOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order nodes. |
| The field by which to order nodes. |
Ordering options for project v2 view connections.
输入 ProjectV2ViewOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order the project v2 views by. |
Ordering options for project v2 workflows connections.
输入 ProjectV2WorkflowOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order the project v2 workflows by. |
A property that must match.
输入 PropertyTargetDefinitionInput
字段
名称 | 说明 |
---|---|
| The name of the property. |
| The values to match for. |
| The source of the property. Choose |
Ways in which lists of issues can be ordered upon return.
输入 PullRequestOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order pull requests by the specified field. |
| The field in which to order pull requests by. |
Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
输入 PullRequestParametersInput
字段
名称 | 说明 |
---|---|
| Array of allowed merge methods. Allowed values include |
| New, reviewable commits pushed will dismiss previous pull request review approvals. |
| Require an approving review in pull requests that modify files that have a designated code owner. |
| Whether the most recent reviewable push must be approved by someone other than the person who pushed it. |
| The number of approving reviews that are required before a pull request can be merged. |
| All conversations on code must be resolved before a pull request can be merged. |
Ways in which lists of reactions can be ordered upon return.
输入 ReactionOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order reactions by the specified field. |
| The field in which to order reactions by. |
Parameters to be used for the ref_name condition.
输入 RefNameConditionTargetInput
字段
名称 | 说明 |
---|---|
| Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. |
| Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts |
Ways in which lists of git refs can be ordered upon return.
输入 RefOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order refs by the specified field. |
| The field in which to order refs by. |
A ref update.
输入 RefUpdate
字段
名称 | 说明 |
---|---|
| The value this ref should be updated to. |
| The value this ref needs to point to before the update. |
| Force a non fast-forward update. |
| The fully qualified name of the ref to be update. For example |
Autogenerated input type of RegenerateVerifiableDomainToken.
Autogenerated input type of RejectDeployments.
输入 RejectDeploymentsInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Optional comment for rejecting deployments. |
| The ids of environments to reject deployments. |
| The node ID of the workflow run containing the pending deployments. |
Ways in which lists of releases can be ordered upon return.
输入 ReleaseOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order releases by the specified field. |
| The field in which to order releases by. |
Autogenerated input type of RemoveAssigneesFromAssignable.
Autogenerated input type of RemoveEnterpriseAdmin.
Autogenerated input type of RemoveLabelsFromLabelable.
Autogenerated input type of RemoveOutsideCollaborator.
Autogenerated input type of RemoveReaction.
输入 RemoveReactionInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The name of the emoji reaction to remove. |
| The Node ID of the subject to modify. |
Autogenerated input type of RemoveStar.
Autogenerated input type of RemoveSubIssue.
Autogenerated input type of RemoveUpvote.
Autogenerated input type of ReopenDiscussion.
Autogenerated input type of ReopenIssue.
Autogenerated input type of ReopenPullRequest.
Autogenerated input type of ReorderEnvironment.
Parameters to be used for the repository_id condition.
输入 RepositoryIdConditionTargetInput
字段
名称 | 说明 |
---|---|
| One of these repo IDs must match the repo. |
Ordering options for repository invitation connections.
输入 RepositoryInvitationOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order repository invitations by. |
Ordering options for repository migrations.
输入 RepositoryMigrationOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order repository migrations by. |
Parameters to be used for the repository_name condition.
输入 RepositoryNameConditionTargetInput
字段
名称 | 说明 |
---|---|
| Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. |
| Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts |
| Target changes that match these patterns will be prevented except by those with bypass permissions. |
Ordering options for repository connections.
输入 RepositoryOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order repositories by. |
Parameters to be used for the repository_property condition.
输入 RepositoryPropertyConditionTargetInput
字段
名称 | 说明 |
---|---|
| Array of repository properties that must not match. |
| Array of repository properties that must match. |
Specifies the conditions required for a ruleset to evaluate.
输入 RepositoryRuleConditionsInput
字段
名称 | 说明 |
---|---|
| Configuration for the ref_name condition. |
| Configuration for the repository_id condition. |
| Configuration for the repository_name condition. |
| Configuration for the repository_property condition. |
Specifies the attributes for a new or updated rule.
输入 RepositoryRuleInput
字段
名称 | 说明 |
---|---|
| Optional ID of this rule when updating. |
| The parameters for the rule. |
| The type of rule to create. |
Ordering options for repository rules.
输入 RepositoryRuleOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order repository rules by. |
Specifies the attributes for a new or updated ruleset bypass actor. Only one of actor_id
, repository_role_database_id
, organization_admin
, or deploy_key
should be specified.
输入 RepositoryRulesetBypassActorInput
字段
名称 | 说明 |
---|---|
| For Team and Integration bypasses, the Team or Integration ID. |
| The bypass mode for this actor. |
| For deploy key bypasses, true. Can only use ALWAYS as the bypass mode. |
| For enterprise owner bypasses, true. |
| For organization owner bypasses, true. |
| For role bypasses, the role database ID. |
Autogenerated input type of ReprioritizeSubIssue.
输入 ReprioritizeSubIssueInput
字段
名称 | 说明 |
---|---|
| The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). |
| The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). |
| A unique identifier for the client performing the mutation. |
| The id of the parent issue. |
| The id of the sub-issue to reprioritize. |
Autogenerated input type of RequestReviews.
输入 RequestReviewsInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The Node ID of the pull request to modify. |
| The Node IDs of the team to request. |
| Add users to the set rather than replace. |
| The Node IDs of the user to request. |
Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
输入 RequiredDeploymentsParametersInput
字段
名称 | 说明 |
---|---|
| The environments that must be successfully deployed to before branches can be merged. |
Specifies the attributes for a new or updated required status check.
输入 RequiredStatusCheckInput
字段
名称 | 说明 |
---|---|
| 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. |
| Status check context that must pass for commits to be accepted to the matching branch. |
Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.
输入 RequiredStatusChecksParametersInput
字段
名称 | 说明 |
---|---|
| Allow repositories and branches to be created if a check would otherwise prohibit it. |
| Status checks that are required. |
| Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. |
Autogenerated input type of RerequestCheckSuite.
Autogenerated input type of ResolveReviewThread.
Autogenerated input type of RevertPullRequest.
输入 RevertPullRequestInput
字段
名称 | 说明 |
---|---|
| The description of the revert pull request. |
| A unique identifier for the client performing the mutation. |
| Indicates whether the revert pull request should be a draft. |
| The ID of the pull request to revert. |
| The title of the revert pull request. |
Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole.
输入 RevokeEnterpriseOrganizationsMigratorRoleInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise to which all organizations managed by it will be granted the migrator role. |
| The login of the user to revoke the migrator role. |
Autogenerated input type of RevokeMigratorRole.
输入 RevokeMigratorRoleInput
字段
名称 | 说明 |
---|---|
| The user login or Team slug to revoke the migrator role from. |
| Specifies the type of the actor, can be either USER or TEAM. |
| A unique identifier for the client performing the mutation. |
| The ID of the organization that the user/team belongs to. |
Specifies the parameters for a RepositoryRule
object. Only one of the fields should be specified.
输入 RuleParametersInput
字段
名称 | 说明 |
---|---|
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
| Parameters used for the |
Ordering options for saved reply connections.
输入 SavedReplyOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order saved replies by. |
Ways in which star connections can be ordered.
输入 StarOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order nodes. |
| The field in which to order nodes by. |
Autogenerated input type of StartOrganizationMigration.
输入 StartOrganizationMigrationInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The migration source access token. |
| The URL of the organization to migrate. |
| The ID of the enterprise the target organization belongs to. |
| The name of the target organization. |
Autogenerated input type of StartRepositoryMigration.
输入 StartRepositoryMigrationInput
字段
名称 | 说明 |
---|---|
| The migration source access token. |
| A unique identifier for the client performing the mutation. |
| Whether to continue the migration on error. Defaults to |
| The signed URL to access the user-uploaded git archive. |
| The personal access token of the user importing to the target repository. |
| Whether to lock the source repository. |
| The signed URL to access the user-uploaded metadata archive. |
| The ID of the organization that will own the imported repository. |
| The name of the imported repository. |
| Whether to skip migrating releases for the repository. |
| The ID of the migration source. |
| The URL of the source repository. |
| The visibility of the imported repository. |
Required status check.
Autogenerated input type of SubmitPullRequestReview.
输入 SubmitPullRequestReviewInput
字段
名称 | 说明 |
---|---|
| The text field to set on the Pull Request Review. |
| A unique identifier for the client performing the mutation. |
| The event to send to the Pull Request Review. |
| The Pull Request ID to submit any pending reviews. |
| The Pull Request Review ID to submit. |
Parameters to be used for the tag_name_pattern rule.
Ways in which team discussion comment connections can be ordered.
输入 TeamDiscussionCommentOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order nodes. |
| The field by which to order nodes. |
Ways in which team discussion connections can be ordered.
输入 TeamDiscussionOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order nodes. |
| The field by which to order nodes. |
Ordering options for team member connections.
输入 TeamMemberOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order team members by. |
Ways in which team connections can be ordered.
输入 TeamOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order nodes. |
| The field in which to order nodes by. |
Ordering options for team repository connections.
输入 TeamRepositoryOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order repositories by. |
Autogenerated input type of TransferIssue.
输入 TransferIssueInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Whether to create labels if they don't exist in the target repository (matched by name). |
| The Node ID of the issue to be transferred. |
| The Node ID of the repository the issue should be transferred to. |
Autogenerated input type of UnarchiveProjectV2Item.
Autogenerated input type of UnarchiveRepository.
Autogenerated input type of UnfollowOrganization.
Autogenerated input type of UnfollowUser.
Autogenerated input type of UnlinkProjectV2FromRepository.
Autogenerated input type of UnlinkProjectV2FromTeam.
Autogenerated input type of UnlinkRepositoryFromProject.
Autogenerated input type of UnlockLockable.
Autogenerated input type of UnmarkDiscussionCommentAsAnswer.
Autogenerated input type of UnmarkFileAsViewed.
Autogenerated input type of UnmarkIssueAsDuplicate.
输入 UnmarkIssueAsDuplicateInput
字段
名称 | 说明 |
---|---|
| ID of the issue or pull request currently considered canonical/authoritative/original. |
| A unique identifier for the client performing the mutation. |
| ID of the issue or pull request currently marked as a duplicate. |
Autogenerated input type of UnmarkProjectV2AsTemplate.
Autogenerated input type of UnminimizeComment.
Autogenerated input type of UnpinIssue.
Autogenerated input type of UnresolveReviewThread.
Autogenerated input type of UpdateBranchProtectionRule.
输入 UpdateBranchProtectionRuleInput
字段
名称 | 说明 |
---|---|
| Can this branch be deleted. |
| Are force pushes allowed on this branch. |
| Is branch creation a protected operation. |
| The global relay id of the branch protection rule to be updated. |
| A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. |
| A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. |
| A unique identifier for the client performing the mutation. |
| Will new commits pushed to matching branches dismiss pull request review approvals. |
| Can admins override branch protection. |
| Whether users can pull changes from upstream when the branch is locked. Set to |
| Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. |
| The glob-like pattern used to determine matching branches. |
| A list of User, Team, or App IDs allowed to push to matching branches. |
| Whether the most recent push must be approved by someone other than the person who pushed it. |
| Number of approving reviews required to update matching branches. |
| The list of required deployment environments. |
| List of required status check contexts that must pass for commits to be accepted to matching branches. |
| The list of required status checks. |
| Are approving reviews required to update matching branches. |
| Are reviews from code owners required to update matching branches. |
| Are commits required to be signed. |
| Are conversations required to be resolved before merging. |
| Are successful deployments required before merging. |
| Are merge commits prohibited from being pushed to this branch. |
| Are status checks required to update matching branches. |
| Are branches required to be up to date before merging. |
| Is pushing to matching branches restricted. |
| Is dismissal of pull request reviews restricted. |
| A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. |
Autogenerated input type of UpdateCheckRun.
输入 UpdateCheckRunInput
字段
名称 | 说明 |
---|---|
| Possible further actions the integrator can perform, which a user may trigger. |
| The node of the check. |
| A unique identifier for the client performing the mutation. |
| The time that the check run finished. |
| The final conclusion of the check. |
| The URL of the integrator's site that has the full details of the check. |
| A reference for the run on the integrator's system. |
| The name of the check. |
| Descriptive details about the run. |
| The node ID of the repository. |
| The time that the check run began. |
| The current status. |
Autogenerated input type of UpdateCheckSuitePreferences.
输入 UpdateCheckSuitePreferencesInput
字段
名称 | 说明 |
---|---|
| The check suite preferences to modify. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the repository. |
Autogenerated input type of UpdateDiscussionComment.
Autogenerated input type of UpdateDiscussion.
输入 UpdateDiscussionInput
字段
名称 | 说明 |
---|---|
| The new contents of the discussion body. |
| The Node ID of a discussion category within the same repository to change this discussion to. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the discussion to update. |
| The new discussion title. |
Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting.
输入 UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the allow private repository forking setting. |
| The value for the allow private repository forking policy on the enterprise. |
| The value for the allow private repository forking setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting.
输入 UpdateEnterpriseDefaultRepositoryPermissionSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the base repository permission setting. |
| The value for the base repository permission setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseDeployKeySetting.
输入 UpdateEnterpriseDeployKeySettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the deploy key setting. |
| The value for the deploy key setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting.
输入 UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the members can change repository visibility setting. |
| The value for the members can change repository visibility setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting.
输入 UpdateEnterpriseMembersCanCreateRepositoriesSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the members can create repositories setting. |
| Allow members to create internal repositories. Defaults to current value. |
| Allow members to create private repositories. Defaults to current value. |
| Allow members to create public repositories. Defaults to current value. |
| When false, allow member organizations to set their own repository creation member privileges. |
| 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.
输入 UpdateEnterpriseMembersCanDeleteIssuesSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the members can delete issues setting. |
| The value for the members can delete issues setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting.
输入 UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the members can delete repositories setting. |
| The value for the members can delete repositories setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting.
输入 UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the members can invite collaborators setting. |
| The value for the members can invite collaborators setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting.
输入 UpdateEnterpriseMembersCanMakePurchasesSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the members can make purchases setting. |
| The value for the members can make purchases setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting.
输入 UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the members can update protected branches setting. |
| The value for the members can update protected branches setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting.
输入 UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the members can view dependency insights setting. |
| The value for the members can view dependency insights setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting.
输入 UpdateEnterpriseOrganizationProjectsSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the organization projects setting. |
| The value for the organization projects setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole.
输入 UpdateEnterpriseOwnerOrganizationRoleInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the Enterprise which the owner belongs to. |
| The ID of the organization for membership change. |
| The role to assume in the organization. |
Autogenerated input type of UpdateEnterpriseProfile.
输入 UpdateEnterpriseProfileInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The description of the enterprise. |
| The Enterprise ID to update. |
| The location of the enterprise. |
| The name of the enterprise. |
| The URL of the enterprise's website. |
Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting.
输入 UpdateEnterpriseRepositoryProjectsSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the repository projects setting. |
| The value for the repository projects setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting.
输入 UpdateEnterpriseTeamDiscussionsSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the team discussions setting. |
| The value for the team discussions setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting.
输入 UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the two-factor authentication disallowed methods setting. |
| The value for the two-factor authentication disallowed methods setting on the enterprise. |
Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting.
输入 UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the two factor authentication required setting. |
| The value for the two factor authentication required setting on the enterprise. |
Autogenerated input type of UpdateEnvironment.
输入 UpdateEnvironmentInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The node ID of the environment. |
| Whether deployments to this environment can be approved by the user who created the deployment. |
| The ids of users or teams that can approve deployments to this environment. |
| The wait timer in minutes. |
Autogenerated input type of UpdateIpAllowListEnabledSetting.
输入 UpdateIpAllowListEnabledSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the owner on which to set the IP allow list enabled setting. |
| The value for the IP allow list enabled setting. |
Autogenerated input type of UpdateIpAllowListEntry.
输入 UpdateIpAllowListEntryInput
字段
名称 | 说明 |
---|---|
| An IP address or range of addresses in CIDR notation. |
| A unique identifier for the client performing the mutation. |
| The ID of the IP allow list entry to update. |
| Whether the IP allow list entry is active when an IP allow list is enabled. |
| An optional name for the IP allow list entry. |
Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting.
输入 UpdateIpAllowListForInstalledAppsEnabledSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the owner. |
| The value for the IP allow list configuration for installed Apps setting. |
Autogenerated input type of UpdateIssueComment.
Autogenerated input type of UpdateIssue.
输入 UpdateIssueInput
字段
名称 | 说明 |
---|---|
| An array of Node IDs of users for this issue. |
| The body for the issue description. |
| A unique identifier for the client performing the mutation. |
| The ID of the Issue to modify. |
| The ID of the Issue Type for this issue. |
| An array of Node IDs of labels for this issue. |
| The Node ID of the milestone for this issue. |
| An array of Node IDs for projects associated with this issue. |
| The desired issue state. |
| The title for the issue. |
Autogenerated input type of UpdateIssueIssueType.
Autogenerated input type of UpdateIssueType.
输入 UpdateIssueTypeInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Color for the issue type. |
| The description of the issue type. |
| Whether or not the issue type is enabled for the organization. |
| Whether or not the issue type is restricted to issues in private repositories Upcoming Change on 2025-04-01 UTC Description: |
| The ID of the issue type to update. |
| The name of the issue type. |
Autogenerated input type of UpdateLabel.
输入 UpdateLabelInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| A 6 character hex code, without the leading #, identifying the updated color of the label. |
| A brief description of the label, such as its purpose. |
| The Node ID of the label to be updated. |
| The updated name of the label. |
Autogenerated input type of UpdateNotificationRestrictionSetting.
输入 UpdateNotificationRestrictionSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the owner on which to set the restrict notifications setting. |
| The value for the restrict notifications setting. |
Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting.
输入 UpdateOrganizationAllowPrivateRepositoryForkingSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Enable forking of private repositories in the organization?. |
| The ID of the organization on which to set the allow private repository forking setting. |
Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting.
输入 UpdateOrganizationWebCommitSignoffSettingInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the organization on which to set the web commit signoff setting. |
| Enable signoff on web-based commits for repositories in the organization?. |
Only allow users with bypass permission to update matching refs.
输入 UpdateParametersInput
字段
名称 | 说明 |
---|---|
| Branch can pull changes from its upstream repository. |
Autogenerated input type of UpdateProjectCard.
Autogenerated input type of UpdateProjectColumn.
Autogenerated input type of UpdateProject.
输入 UpdateProjectInput
字段
名称 | 说明 |
---|---|
| The description of project. |
| A unique identifier for the client performing the mutation. |
| The name of project. |
| The Project ID to update. |
| Whether the project is public or not. |
| Whether the project is open or closed. |
Autogenerated input type of UpdateProjectV2Collaborators.
输入 UpdateProjectV2CollaboratorsInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The collaborators to update. |
| The ID of the project to update the collaborators for. |
Autogenerated input type of UpdateProjectV2DraftIssue.
输入 UpdateProjectV2DraftIssueInput
字段
名称 | 说明 |
---|---|
| The IDs of the assignees of the draft issue. |
| The body of the draft issue. |
| A unique identifier for the client performing the mutation. |
| The ID of the draft issue to update. |
| The title of the draft issue. |
Autogenerated input type of UpdateProjectV2Field.
输入 UpdateProjectV2FieldInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the field to update. |
| Configuration for an iteration field. |
| The name to update. |
| Options for a field of type SINGLE_SELECT. If empty, no changes will be made to the options. If values are present, they will overwrite the existing options for the field. |
Autogenerated input type of UpdateProjectV2.
输入 UpdateProjectV2Input
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Set the project to closed or open. |
| The ID of the Project to update. |
| Set the project to public or private. |
| Set the readme description of the project. |
| Set the short description of the project. |
| Set the title of the project. |
Autogenerated input type of UpdateProjectV2ItemFieldValue.
输入 UpdateProjectV2ItemFieldValueInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the field to be updated. |
| The ID of the item to be updated. |
| The ID of the Project. |
| The value which will be set on the field. |
Autogenerated input type of UpdateProjectV2ItemPosition.
输入 UpdateProjectV2ItemPositionInput
字段
名称 | 说明 |
---|---|
| The ID of the item to position this item after. If omitted or set to null the item will be moved to top. |
| A unique identifier for the client performing the mutation. |
| The ID of the item to be moved. |
| The ID of the Project. |
Autogenerated input type of UpdateProjectV2StatusUpdate.
输入 UpdateProjectV2StatusUpdateInput
字段
名称 | 说明 |
---|---|
| The body of the status update. |
| A unique identifier for the client performing the mutation. |
| The start date of the status update. |
| The status of the status update. |
| The ID of the status update to be updated. |
| The target date of the status update. |
Autogenerated input type of UpdatePullRequestBranch.
输入 UpdatePullRequestBranchInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The head ref oid for the upstream branch. |
| The Node ID of the pull request. |
| The update branch method to use. If omitted, defaults to 'MERGE'. |
Autogenerated input type of UpdatePullRequest.
输入 UpdatePullRequestInput
字段
名称 | 说明 |
---|---|
| An array of Node IDs of users for this pull request. |
| The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. |
| The contents of the pull request. |
| A unique identifier for the client performing the mutation. |
| An array of Node IDs of labels for this pull request. |
| Indicates whether maintainers can modify the pull request. |
| The Node ID of the milestone for this pull request. |
| An array of Node IDs for projects associated with this pull request. |
| The Node ID of the pull request. |
| The target state of the pull request. |
| The title of the pull request. |
Autogenerated input type of UpdatePullRequestReviewComment.
Autogenerated input type of UpdatePullRequestReview.
Autogenerated input type of UpdateRef.
输入 UpdateRefInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Permit updates of branch Refs that are not fast-forwards?. |
| The GitObjectID that the Ref shall be updated to target. |
| The Node ID of the Ref to be updated. |
Autogenerated input type of UpdateRefs.
输入 UpdateRefsInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| A list of ref updates. |
| The Node ID of the repository. |
Autogenerated input type of UpdateRepository.
输入 UpdateRepositoryInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| A new description for the repository. Pass an empty string to erase the existing description. |
| Indicates if the repository should have the discussions feature enabled. |
| Indicates if the repository should have the issues feature enabled. |
| Indicates if the repository should have the project boards feature enabled. |
| Indicates if the repository should have the wiki feature enabled. |
| The URL for a web page about this repository. Pass an empty string to erase the existing URL. |
| The new name of the repository. |
| The ID of the repository to update. |
| 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 UpdateRepositoryRuleset.
输入 UpdateRepositoryRulesetInput
字段
名称 | 说明 |
---|---|
| A list of actors that are allowed to bypass rules in this ruleset. |
| A unique identifier for the client performing the mutation. |
| The list of conditions for this ruleset. |
| The enforcement level for this ruleset. |
| The name of the ruleset. |
| The global relay id of the repository ruleset to be updated. |
| The list of rules for this ruleset. |
| The target of the ruleset. |
Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting.
Autogenerated input type of UpdateSubscription.
输入 UpdateSubscriptionInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The new state of the subscription. |
| The Node ID of the subscribable object to modify. |
Autogenerated input type of UpdateTeamDiscussionComment.
Autogenerated input type of UpdateTeamDiscussion.
输入 UpdateTeamDiscussionInput
字段
名称 | 说明 |
---|---|
| The updated text of the discussion. |
| 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. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the discussion to modify. |
| If provided, sets the pinned state of the updated discussion. |
| The updated title of the discussion. |
Autogenerated input type of UpdateTeamReviewAssignment.
输入 UpdateTeamReviewAssignmentInput
字段
名称 | 说明 |
---|---|
| The algorithm to use for review assignment. |
| A unique identifier for the client performing the mutation. |
| Count any members whose review has already been requested against the required number of members assigned to review. |
| Turn on or off review assignment. |
| An array of team member IDs to exclude. |
| The Node ID of the team to update review assignments of. |
| Include the members of any child teams when assigning. |
| Notify the entire team of the PR if it is delegated. |
| Remove the team review request when assigning. |
| The number of team members to assign. |
Autogenerated input type of UpdateTeamsRepository.
输入 UpdateTeamsRepositoryInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| Permission that should be granted to the teams. |
| Repository ID being granted access to. |
| A list of teams being granted access. Limit: 10. |
Autogenerated input type of UpdateTopics.
输入 UpdateTopicsInput
字段
名称 | 说明 |
---|---|
| A unique identifier for the client performing the mutation. |
| The Node ID of the repository. |
| An array of topic names. |
Autogenerated input type of UpdateUserList.
Autogenerated input type of UpdateUserListsForItem.
Ordering options for user status connections.
输入 UserStatusOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order user statuses by. |
Ordering options for verifiable domain connections.
输入 VerifiableDomainOrder
字段
名称 | 说明 |
---|---|
| The ordering direction. |
| The field to order verifiable domains by. |
Autogenerated input type of VerifyVerifiableDomain.
A workflow that must run for this rule to pass.
Ways in which lists of workflow runs can be ordered upon return.
输入 WorkflowRunOrder
字段
名称 | 说明 |
---|---|
| The direction in which to order workflow runs by the specified field. |
| The field by which to order workflows. |
Require all changes made to a targeted branch to pass the specified workflows before they can be merged.
输入 WorkflowsParametersInput
字段
名称 | 说明 |
---|---|
| Allow repositories and branches to be created if a check would otherwise prohibit it. |
| Workflows that must pass for this rule to pass. |