À propos des objets d’entrée
Les objets d’entrée peuvent être décrits comme des « objets composables », car ils incluent un ensemble de champs d’entrée qui définissent l’objet.
Par exemple, CommitAuthor
prend un champ appelé emails
. Fournir une valeur pour emails
transforme CommitAuthor
en liste d’objets User
contenant cette adresse e-mail. Notez que les objets ont la possibilité d’avoir des objets d’entrée, tandis que les mutations exigent des objets d’entrée.
Pour plus d’informations, consultez « Formation d’appels avec GraphQL ».
AbortQueuedMigrationsInput
Autogenerated input type of AbortQueuedMigrations.
AddAssigneesToAssignableInput
Autogenerated input type of AddAssigneesToAssignable.
AddCommentInput
Autogenerated input type of AddComment.
AddDiscussionCommentInput
Autogenerated input type of AddDiscussionComment.
Champs d’entrée pour AddDiscussionCommentInput
Nom | Description |
---|---|
| 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. |
AddDiscussionPollVoteInput
Autogenerated input type of AddDiscussionPollVote.
AddEnterpriseAdminInput
Autogenerated input type of AddEnterpriseAdmin.
Champs d’entrée pour AddEnterpriseAdminInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise account to which the administrator should be added. |
| The login of the user to add as an administrator. |
AddEnterpriseOrganizationMemberInput
Autogenerated input type of AddEnterpriseOrganizationMember.
Champs d’entrée pour AddEnterpriseOrganizationMemberInput
Nom | Description |
---|---|
| 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. |
AddLabelsToLabelableInput
Autogenerated input type of AddLabelsToLabelable.
AddProjectCardInput
Autogenerated input type of AddProjectCard.
Champs d’entrée pour AddProjectCardInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The content of the card. Must be a member of the ProjectCardItem union. |
| The note on the card. |
| The Node ID of the ProjectColumn. |
AddProjectColumnInput
Autogenerated input type of AddProjectColumn.
AddProjectV2DraftIssueInput
Autogenerated input type of AddProjectV2DraftIssue.
Champs d’entrée pour AddProjectV2DraftIssueInput
Nom | Description |
---|---|
| 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. |
AddProjectV2ItemByIdInput
Autogenerated input type of AddProjectV2ItemById.
AddPullRequestReviewCommentInput
Autogenerated input type of AddPullRequestReviewComment.
Champs d’entrée pour AddPullRequestReviewCommentInput
Nom | Description |
---|---|
| 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: |
AddPullRequestReviewInput
Autogenerated input type of AddPullRequestReview.
Champs d’entrée pour AddPullRequestReviewInput
Nom | Description |
---|---|
| 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. |
AddPullRequestReviewThreadInput
Autogenerated input type of AddPullRequestReviewThread.
Champs d’entrée pour AddPullRequestReviewThreadInput
Nom | Description |
---|---|
| 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. |
AddPullRequestReviewThreadReplyInput
Autogenerated input type of AddPullRequestReviewThreadReply.
Champs d’entrée pour AddPullRequestReviewThreadReplyInput
Nom | Description |
---|---|
| 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. |
AddReactionInput
Autogenerated input type of AddReaction.
Champs d’entrée pour AddReactionInput
Nom | Description |
---|---|
| 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. |
AddStarInput
Autogenerated input type of AddStar.
AddUpvoteInput
Autogenerated input type of AddUpvote.
AddVerifiableDomainInput
Autogenerated input type of AddVerifiableDomain.
ApproveDeploymentsInput
Autogenerated input type of ApproveDeployments.
Champs d’entrée pour ApproveDeploymentsInput
Nom | Description |
---|---|
| 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. |
ApproveVerifiableDomainInput
Autogenerated input type of ApproveVerifiableDomain.
ArchiveProjectV2ItemInput
Autogenerated input type of ArchiveProjectV2Item.
ArchiveRepositoryInput
Autogenerated input type of ArchiveRepository.
AuditLogOrder
Ordering options for Audit Log connections.
Champs d’entrée pour AuditLogOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order Audit Logs by. |
BranchNamePatternParametersInput
Parameters to be used for the branch_name_pattern rule.
ChangeUserStatusInput
Autogenerated input type of ChangeUserStatus.
Champs d’entrée pour ChangeUserStatusInput
Nom | Description |
---|---|
| 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 GitHub, 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. |
CheckAnnotationData
Information from a check run analysis to specific lines of code.
Champs d’entrée pour CheckAnnotationData
Nom | Description |
---|---|
| 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. |
CheckAnnotationRange
Information from a check run analysis to specific lines of code.
CheckRunAction
Possible further actions the integrator can perform.
CheckRunFilter
The filters that are available when fetching check runs.
Champs d’entrée pour CheckRunFilter
Nom | Description |
---|---|
| 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. |
CheckRunOutput
Descriptive details about the check run.
Champs d’entrée pour CheckRunOutput
Nom | Description |
---|---|
| The annotations that are made as part of the check run. |
| Images attached to the check run output displayed in the GitHub 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. |
CheckRunOutputImage
Images attached to the check run output displayed in the GitHub pull request UI.
CheckSuiteAutoTriggerPreference
The auto-trigger preferences that are available for check suites.
CheckSuiteFilter
The filters that are available when fetching check suites.
ClearLabelsFromLabelableInput
Autogenerated input type of ClearLabelsFromLabelable.
ClearProjectV2ItemFieldValueInput
Autogenerated input type of ClearProjectV2ItemFieldValue.
CloneProjectInput
Autogenerated input type of CloneProject.
Champs d’entrée pour CloneProjectInput
Nom | Description |
---|---|
| 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. |
CloneTemplateRepositoryInput
Autogenerated input type of CloneTemplateRepository.
Champs d’entrée pour CloneTemplateRepositoryInput
Nom | Description |
---|---|
| 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. |
CloseDiscussionInput
Autogenerated input type of CloseDiscussion.
Champs d’entrée pour CloseDiscussionInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| ID of the discussion to be closed. |
| The reason why the discussion is being closed. |
CloseIssueInput
Autogenerated input type of CloseIssue.
Champs d’entrée pour CloseIssueInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| ID of the issue to be closed. |
| The reason the issue is to be closed. |
ClosePullRequestInput
Autogenerated input type of ClosePullRequest.
CommitAuthor
Specifies an author for filtering Git commits.
Champs d’entrée pour CommitAuthor
Nom | Description |
---|---|
| Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. |
| ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails. |
CommitAuthorEmailPatternParametersInput
Parameters to be used for the commit_author_email_pattern rule.
CommitContributionOrder
Ordering options for commit contribution connections.
Champs d’entrée pour CommitContributionOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field by which to order commit contributions. |
CommitMessage
A message to include with a new commit.
CommitMessagePatternParametersInput
Parameters to be used for the commit_message_pattern rule.
CommittableBranch
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
.
Examples
Specify a branch using a global node ID:
{ "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" }
Specify a branch using repositoryNameWithOwner
and branchName
:
{
"repositoryNameWithOwner": "github/graphql-client",
"branchName": "main"
}.
CommitterEmailPatternParametersInput
Parameters to be used for the committer_email_pattern rule.
ContributionOrder
Ordering options for contribution connections.
Champs d’entrée pour ContributionOrder
Nom | Description |
---|---|
| The ordering direction. |
ConvertProjectCardNoteToIssueInput
Autogenerated input type of ConvertProjectCardNoteToIssue.
Champs d’entrée pour ConvertProjectCardNoteToIssueInput
Nom | Description |
---|---|
| 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. |
ConvertPullRequestToDraftInput
Autogenerated input type of ConvertPullRequestToDraft.
CopyProjectV2Input
Autogenerated input type of CopyProjectV2.
Champs d’entrée pour CopyProjectV2Input
Nom | Description |
---|---|
| 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. |
CreateAttributionInvitationInput
Autogenerated input type of CreateAttributionInvitation.
Champs d’entrée pour CreateAttributionInvitationInput
Nom | Description |
---|---|
| 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. |
CreateBranchProtectionRuleInput
Autogenerated input type of CreateBranchProtectionRule.
Champs d’entrée pour CreateBranchProtectionRuleInput
Nom | Description |
---|---|
| 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 overwrite 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. |
CreateCheckRunInput
Autogenerated input type of CreateCheckRun.
Champs d’entrée pour CreateCheckRunInput
Nom | Description |
---|---|
| 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. |
CreateCheckSuiteInput
Autogenerated input type of CreateCheckSuite.
Champs d’entrée pour CreateCheckSuiteInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The SHA of the head commit. |
| The Node ID of the repository. |
CreateCommitOnBranchInput
Autogenerated input type of CreateCommitOnBranch.
Champs d’entrée pour CreateCommitOnBranchInput
Nom | Description |
---|---|
| 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. |
CreateDeploymentInput
Autogenerated input type of CreateDeployment.
Remarque
CreateDeploymentInput
is available under the Deployments preview. Pendant la période de préversion, l’API peut être modifiée sans préavis.
Champs d’entrée pour CreateDeploymentInput
Nom | Description |
---|---|
| 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. |
CreateDeploymentStatusInput
Autogenerated input type of CreateDeploymentStatus.
Remarque
CreateDeploymentStatusInput
is available under the Deployments preview. Pendant la période de préversion, l’API peut être modifiée sans préavis.
Champs d’entrée pour CreateDeploymentStatusInput
Nom | Description |
---|---|
| 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. |
CreateDiscussionInput
Autogenerated input type of CreateDiscussion.
Champs d’entrée pour CreateDiscussionInput
Nom | Description |
---|---|
| 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. |
CreateEnterpriseOrganizationInput
Autogenerated input type of CreateEnterpriseOrganization.
Champs d’entrée pour CreateEnterpriseOrganizationInput
Nom | Description |
---|---|
| 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. |
CreateEnvironmentInput
Autogenerated input type of CreateEnvironment.
CreateIpAllowListEntryInput
Autogenerated input type of CreateIpAllowListEntry.
Champs d’entrée pour CreateIpAllowListEntryInput
Nom | Description |
---|---|
| 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. |
CreateIssueInput
Autogenerated input type of CreateIssue.
Champs d’entrée pour CreateIssueInput
Nom | Description |
---|---|
| 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. |
| 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 Node ID of the repository. |
| The title for the issue. |
CreateLabelInput
Autogenerated input type of CreateLabel.
Remarque
CreateLabelInput
is available under the Labels preview. Pendant la période de préversion, l’API peut être modifiée sans préavis.
Champs d’entrée pour CreateLabelInput
Nom | Description |
---|---|
| 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. |
CreateLinkedBranchInput
Autogenerated input type of CreateLinkedBranch.
Champs d’entrée pour CreateLinkedBranchInput
Nom | Description |
---|---|
| 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. |
CreateMigrationSourceInput
Autogenerated input type of CreateMigrationSource.
Champs d’entrée pour CreateMigrationSourceInput
Nom | Description |
---|---|
| The migration source access token. |
| A unique identifier for the client performing the mutation. |
| The GitHub 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 |
CreateProjectInput
Autogenerated input type of CreateProject.
Champs d’entrée pour CreateProjectInput
Nom | Description |
---|---|
| 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 GitHub-provided template. |
CreateProjectV2FieldInput
Autogenerated input type of CreateProjectV2Field.
Champs d’entrée pour CreateProjectV2FieldInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The data type of the 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. |
CreateProjectV2Input
Autogenerated input type of CreateProjectV2.
Champs d’entrée pour CreateProjectV2Input
Nom | Description |
---|---|
| 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. |
CreatePullRequestInput
Autogenerated input type of CreatePullRequest.
Champs d’entrée pour CreatePullRequestInput
Nom | Description |
---|---|
| 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. |
CreateRefInput
Autogenerated input type of CreateRef.
Champs d’entrée pour CreateRefInput
Nom | Description |
---|---|
| 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. |
CreateRepositoryInput
Autogenerated input type of CreateRepository.
Champs d’entrée pour CreateRepositoryInput
Nom | Description |
---|---|
| 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. |
CreateRepositoryRulesetInput
Autogenerated input type of CreateRepositoryRuleset.
Champs d’entrée pour CreateRepositoryRulesetInput
Nom | Description |
---|---|
| 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. |
CreateTeamDiscussionCommentInput
Autogenerated input type of CreateTeamDiscussionComment.
Champs d’entrée pour CreateTeamDiscussionCommentInput
Nom | Description |
---|---|
| 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: |
CreateTeamDiscussionInput
Autogenerated input type of CreateTeamDiscussion.
Champs d’entrée pour CreateTeamDiscussionInput
Nom | Description |
---|---|
| 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 admins. 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: |
DeleteBranchProtectionRuleInput
Autogenerated input type of DeleteBranchProtectionRule.
DeleteDeploymentInput
Autogenerated input type of DeleteDeployment.
DeleteDiscussionCommentInput
Autogenerated input type of DeleteDiscussionComment.
DeleteDiscussionInput
Autogenerated input type of DeleteDiscussion.
DeleteEnvironmentInput
Autogenerated input type of DeleteEnvironment.
DeleteIpAllowListEntryInput
Autogenerated input type of DeleteIpAllowListEntry.
DeleteIssueCommentInput
Autogenerated input type of DeleteIssueComment.
DeleteIssueInput
Autogenerated input type of DeleteIssue.
DeleteLabelInput
Autogenerated input type of DeleteLabel.
Remarque
DeleteLabelInput
is available under the Labels preview. Pendant la période de préversion, l’API peut être modifiée sans préavis.
DeleteLinkedBranchInput
Autogenerated input type of DeleteLinkedBranch.
DeletePackageVersionInput
Autogenerated input type of DeletePackageVersion.
DeleteProjectCardInput
Autogenerated input type of DeleteProjectCard.
DeleteProjectColumnInput
Autogenerated input type of DeleteProjectColumn.
DeleteProjectInput
Autogenerated input type of DeleteProject.
DeleteProjectV2FieldInput
Autogenerated input type of DeleteProjectV2Field.
DeleteProjectV2Input
Autogenerated input type of DeleteProjectV2.
DeleteProjectV2ItemInput
Autogenerated input type of DeleteProjectV2Item.
DeleteProjectV2WorkflowInput
Autogenerated input type of DeleteProjectV2Workflow.
DeletePullRequestReviewCommentInput
Autogenerated input type of DeletePullRequestReviewComment.
DeletePullRequestReviewInput
Autogenerated input type of DeletePullRequestReview.
DeleteRefInput
Autogenerated input type of DeleteRef.
DeleteRepositoryRulesetInput
Autogenerated input type of DeleteRepositoryRuleset.
DeleteTeamDiscussionCommentInput
Autogenerated input type of DeleteTeamDiscussionComment.
DeleteTeamDiscussionInput
Autogenerated input type of DeleteTeamDiscussion.
DeleteVerifiableDomainInput
Autogenerated input type of DeleteVerifiableDomain.
DeploymentOrder
Ordering options for deployment connections.
Champs d’entrée pour DeploymentOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order deployments by. |
DisablePullRequestAutoMergeInput
Autogenerated input type of DisablePullRequestAutoMerge.
DiscussionOrder
Ways in which lists of discussions can be ordered upon return.
Champs d’entrée pour DiscussionOrder
Nom | Description |
---|---|
| The direction in which to order discussions by the specified field. |
| The field by which to order discussions. |
DiscussionPollOptionOrder
Ordering options for discussion poll option connections.
Champs d’entrée pour DiscussionPollOptionOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order poll options by. |
DismissPullRequestReviewInput
Autogenerated input type of DismissPullRequestReview.
DismissRepositoryVulnerabilityAlertInput
Autogenerated input type of DismissRepositoryVulnerabilityAlert.
Champs d’entrée pour DismissRepositoryVulnerabilityAlertInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The reason the Dependabot alert is being dismissed. |
| The Dependabot alert ID to dismiss. |
DraftPullRequestReviewComment
Specifies a review comment to be left with a Pull Request Review.
DraftPullRequestReviewThread
Specifies a review comment thread to be left with a Pull Request Review.
Champs d’entrée pour DraftPullRequestReviewThread
Nom | Description |
---|---|
| 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. |
EnablePullRequestAutoMergeInput
Autogenerated input type of EnablePullRequestAutoMerge.
Champs d’entrée pour EnablePullRequestAutoMergeInput
Nom | Description |
---|---|
| 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. |
EnterpriseAdministratorInvitationOrder
Ordering options for enterprise administrator invitation connections.
Champs d’entrée pour EnterpriseAdministratorInvitationOrder
Nom | Description |
---|---|
| The ordering direction. |
The field to order enterprise administrator invitations by. |
EnterpriseMemberOrder
Ordering options for enterprise member connections.
Champs d’entrée pour EnterpriseMemberOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order enterprise members by. |
EnterpriseOrder
Ordering options for enterprises.
Champs d’entrée pour EnterpriseOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order enterprises by. |
EnterpriseServerInstallationOrder
Ordering options for Enterprise Server installation connections.
Champs d’entrée pour EnterpriseServerInstallationOrder
Nom | Description |
---|---|
| The ordering direction. |
The field to order Enterprise Server installations by. |
EnterpriseServerUserAccountEmailOrder
Ordering options for Enterprise Server user account email connections.
Champs d’entrée pour EnterpriseServerUserAccountEmailOrder
Nom | Description |
---|---|
| The ordering direction. |
The field to order emails by. |
EnterpriseServerUserAccountOrder
Ordering options for Enterprise Server user account connections.
Champs d’entrée pour EnterpriseServerUserAccountOrder
Nom | Description |
---|---|
| The ordering direction. |
The field to order user accounts by. |
EnterpriseServerUserAccountsUploadOrder
Ordering options for Enterprise Server user accounts upload connections.
Champs d’entrée pour EnterpriseServerUserAccountsUploadOrder
Nom | Description |
---|---|
| The ordering direction. |
The field to order user accounts uploads by. |
Environments
Ordering options for environments.
Champs d’entrée pour Environments
Nom | Description |
---|---|
| The direction in which to order environments by the specified field. |
| The field to order environments by. |
FileAddition
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.
Champs d’entrée pour FileAddition
Nom | Description |
---|---|
| The base64 encoded contents of the file. |
| The path in the repository where the file will be located. |
FileChanges
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.
Encoding
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.
Modeling file changes
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") } ] }.
Champs d’entrée pour FileChanges
Nom | Description |
---|---|
| File to add or change. |
| Files to delete. |
FileDeletion
A command to delete the file at the given path as part of a commit.
Champs d’entrée pour FileDeletion
Nom | Description |
---|---|
| The path to delete. |
FollowOrganizationInput
Autogenerated input type of FollowOrganization.
FollowUserInput
Autogenerated input type of FollowUser.
GistOrder
Ordering options for gist connections.
Champs d’entrée pour GistOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order repositories by. |
GrantEnterpriseOrganizationsMigratorRoleInput
Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole.
Champs d’entrée pour GrantEnterpriseOrganizationsMigratorRoleInput
Nom | Description |
---|---|
| 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. |
GrantMigratorRoleInput
Autogenerated input type of GrantMigratorRole.
Champs d’entrée pour GrantMigratorRoleInput
Nom | Description |
---|---|
| 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. |
ImportProjectInput
Autogenerated input type of ImportProject.
Champs d’entrée pour ImportProjectInput
Nom | Description |
---|---|
| 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. |
IpAllowListEntryOrder
Ordering options for IP allow list entry connections.
Champs d’entrée pour IpAllowListEntryOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order IP allow list entries by. |
IssueCommentOrder
Ways in which lists of issue comments can be ordered upon return.
Champs d’entrée pour IssueCommentOrder
Nom | Description |
---|---|
| The direction in which to order issue comments by the specified field. |
| The field in which to order issue comments by. |
IssueFilters
Ways in which to filter lists of issues.
Champs d’entrée pour IssueFilters
Nom | Description |
---|---|
| 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. |
IssueOrder
Ways in which lists of issues can be ordered upon return.
Champs d’entrée pour IssueOrder
Nom | Description |
---|---|
| The direction in which to order issues by the specified field. |
| The field in which to order issues by. |
LabelOrder
Ways in which lists of labels can be ordered upon return.
Champs d’entrée pour LabelOrder
Nom | Description |
---|---|
| The direction in which to order labels by the specified field. |
| The field in which to order labels by. |
LanguageOrder
Ordering options for language connections.
Champs d’entrée pour LanguageOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order languages by. |
LinkProjectV2ToRepositoryInput
Autogenerated input type of LinkProjectV2ToRepository.
LinkProjectV2ToTeamInput
Autogenerated input type of LinkProjectV2ToTeam.
LinkRepositoryToProjectInput
Autogenerated input type of LinkRepositoryToProject.
LockLockableInput
Autogenerated input type of LockLockable.
Champs d’entrée pour LockLockableInput
Nom | Description |
---|---|
| 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. |
MannequinOrder
Ordering options for mannequins.
Champs d’entrée pour MannequinOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order mannequins by. |
MarkDiscussionCommentAsAnswerInput
Autogenerated input type of MarkDiscussionCommentAsAnswer.
MarkFileAsViewedInput
Autogenerated input type of MarkFileAsViewed.
MarkProjectV2AsTemplateInput
Autogenerated input type of MarkProjectV2AsTemplate.
MarkPullRequestReadyForReviewInput
Autogenerated input type of MarkPullRequestReadyForReview.
MergeBranchInput
Autogenerated input type of MergeBranch.
Champs d’entrée pour MergeBranchInput
Nom | Description |
---|---|
| 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. |
MergePullRequestInput
Autogenerated input type of MergePullRequest.
Champs d’entrée pour MergePullRequestInput
Nom | Description |
---|---|
| 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. |
MilestoneOrder
Ordering options for milestone connections.
Champs d’entrée pour MilestoneOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order milestones by. |
MinimizeCommentInput
Autogenerated input type of MinimizeComment.
Champs d’entrée pour MinimizeCommentInput
Nom | Description |
---|---|
| The classification of comment. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the subject to modify. |
MoveProjectCardInput
Autogenerated input type of MoveProjectCard.
Champs d’entrée pour MoveProjectCardInput
Nom | Description |
---|---|
| 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. |
MoveProjectColumnInput
Autogenerated input type of MoveProjectColumn.
OrgEnterpriseOwnerOrder
Ordering options for an organization's enterprise owner connections.
Champs d’entrée pour OrgEnterpriseOwnerOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order enterprise owners by. |
OrganizationOrder
Ordering options for organization connections.
Champs d’entrée pour OrganizationOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order organizations by. |
PackageFileOrder
Ways in which lists of package files can be ordered upon return.
Champs d’entrée pour PackageFileOrder
Nom | Description |
---|---|
| The direction in which to order package files by the specified field. |
| The field in which to order package files by. |
PackageOrder
Ways in which lists of packages can be ordered upon return.
Champs d’entrée pour PackageOrder
Nom | Description |
---|---|
| The direction in which to order packages by the specified field. |
| The field in which to order packages by. |
PackageVersionOrder
Ways in which lists of package versions can be ordered upon return.
Champs d’entrée pour PackageVersionOrder
Nom | Description |
---|---|
| The direction in which to order package versions by the specified field. |
| The field in which to order package versions by. |
PinIssueInput
Autogenerated input type of PinIssue.
ProjectCardImport
An issue or PR and its owning repository to be used in a project card.
ProjectColumnImport
A project column and a list of its issues and PRs.
Champs d’entrée pour ProjectColumnImport
Nom | Description |
---|---|
| The name of the column. |
| A list of issues and pull requests in the column. |
| The position of the column, starting from 0. |
ProjectOrder
Ways in which lists of projects can be ordered upon return.
Champs d’entrée pour ProjectOrder
Nom | Description |
---|---|
| The direction in which to order projects by the specified field. |
| The field in which to order projects by. |
ProjectV2Collaborator
A collaborator to update on a project. Only one of the userId or teamId should be provided.
Champs d’entrée pour ProjectV2Collaborator
Nom | Description |
---|---|
| The role to grant the collaborator. |
| The ID of the team as a collaborator. |
| The ID of the user as a collaborator. |
ProjectV2FieldOrder
Ordering options for project v2 field connections.
Champs d’entrée pour ProjectV2FieldOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order the project v2 fields by. |
ProjectV2FieldValue
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.
Champs d’entrée pour ProjectV2FieldValue
Nom | Description |
---|---|
| 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. |
ProjectV2ItemFieldValueOrder
Ordering options for project v2 item field value connections.
Champs d’entrée pour ProjectV2ItemFieldValueOrder
Nom | Description |
---|---|
| The ordering direction. |
The field to order the project v2 item field values by. |
ProjectV2ItemOrder
Ordering options for project v2 item connections.
Champs d’entrée pour ProjectV2ItemOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order the project v2 items by. |
ProjectV2Order
Ways in which lists of projects can be ordered upon return.
Champs d’entrée pour ProjectV2Order
Nom | Description |
---|---|
| The direction in which to order projects by the specified field. |
| The field in which to order projects by. |
ProjectV2SingleSelectFieldOptionInput
Represents a single select field option.
ProjectV2ViewOrder
Ordering options for project v2 view connections.
Champs d’entrée pour ProjectV2ViewOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order the project v2 views by. |
ProjectV2WorkflowOrder
Ordering options for project v2 workflows connections.
Champs d’entrée pour ProjectV2WorkflowOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order the project v2 workflows by. |
PullRequestOrder
Ways in which lists of issues can be ordered upon return.
Champs d’entrée pour PullRequestOrder
Nom | Description |
---|---|
| The direction in which to order pull requests by the specified field. |
| The field in which to order pull requests by. |
PullRequestParametersInput
Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
Champs d’entrée pour PullRequestParametersInput
Nom | Description |
---|---|
| 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. |
ReactionOrder
Ways in which lists of reactions can be ordered upon return.
Champs d’entrée pour ReactionOrder
Nom | Description |
---|---|
| The direction in which to order reactions by the specified field. |
| The field in which to order reactions by. |
RefNameConditionTargetInput
Parameters to be used for the ref_name condition.
Champs d’entrée pour RefNameConditionTargetInput
Nom | Description |
---|---|
| 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 |
RefOrder
Ways in which lists of git refs can be ordered upon return.
Champs d’entrée pour RefOrder
Nom | Description |
---|---|
| The direction in which to order refs by the specified field. |
| The field in which to order refs by. |
RefUpdate
A ref update.
Remarque
RefUpdate
is available under the Update refs preview update multiple refs in a single operation preview. Pendant la période de préversion, l’API peut être modifiée sans préavis.
Champs d’entrée pour RefUpdate
Nom | Description |
---|---|
| 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 |
RegenerateVerifiableDomainTokenInput
Autogenerated input type of RegenerateVerifiableDomainToken.
RejectDeploymentsInput
Autogenerated input type of RejectDeployments.
Champs d’entrée pour RejectDeploymentsInput
Nom | Description |
---|---|
| 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. |
ReleaseOrder
Ways in which lists of releases can be ordered upon return.
Champs d’entrée pour ReleaseOrder
Nom | Description |
---|---|
| The direction in which to order releases by the specified field. |
| The field in which to order releases by. |
RemoveAssigneesFromAssignableInput
Autogenerated input type of RemoveAssigneesFromAssignable.
RemoveEnterpriseAdminInput
Autogenerated input type of RemoveEnterpriseAdmin.
RemoveLabelsFromLabelableInput
Autogenerated input type of RemoveLabelsFromLabelable.
RemoveOutsideCollaboratorInput
Autogenerated input type of RemoveOutsideCollaborator.
RemoveReactionInput
Autogenerated input type of RemoveReaction.
Champs d’entrée pour RemoveReactionInput
Nom | Description |
---|---|
| 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. |
RemoveStarInput
Autogenerated input type of RemoveStar.
RemoveUpvoteInput
Autogenerated input type of RemoveUpvote.
ReopenDiscussionInput
Autogenerated input type of ReopenDiscussion.
ReopenIssueInput
Autogenerated input type of ReopenIssue.
ReopenPullRequestInput
Autogenerated input type of ReopenPullRequest.
RepositoryIdConditionTargetInput
Parameters to be used for the repository_id condition.
Champs d’entrée pour RepositoryIdConditionTargetInput
Nom | Description |
---|---|
| One of these repo IDs must match the repo. |
RepositoryInvitationOrder
Ordering options for repository invitation connections.
Champs d’entrée pour RepositoryInvitationOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order repository invitations by. |
RepositoryMigrationOrder
Ordering options for repository migrations.
Champs d’entrée pour RepositoryMigrationOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order repository migrations by. |
RepositoryNameConditionTargetInput
Parameters to be used for the repository_name condition.
Champs d’entrée pour RepositoryNameConditionTargetInput
Nom | Description |
---|---|
| 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. |
RepositoryOrder
Ordering options for repository connections.
Champs d’entrée pour RepositoryOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order repositories by. |
RepositoryRuleConditionsInput
Specifies the conditions required for a ruleset to evaluate.
Champs d’entrée pour RepositoryRuleConditionsInput
Nom | Description |
---|---|
| Configuration for the ref_name condition. |
| Configuration for the repository_id condition. |
| Configuration for the repository_name condition. |
RepositoryRuleInput
Specifies the attributes for a new or updated rule.
Champs d’entrée pour RepositoryRuleInput
Nom | Description |
---|---|
| Optional ID of this rule when updating. |
| The parameters for the rule. |
| The type of rule to create. |
RepositoryRulesetBypassActorInput
Specifies the attributes for a new or updated ruleset bypass actor. Only one of
actor_id
, repository_role_database_id
, or organization_admin
should be specified.
Champs d’entrée pour RepositoryRulesetBypassActorInput
Nom | Description |
---|---|
| For Team and Integration bypasses, the Team or Integration ID. |
| The bypass mode for this actor. |
| For org admin bupasses, true. |
| For role bypasses, the role database ID. |
RequestReviewsInput
Autogenerated input type of RequestReviews.
Champs d’entrée pour RequestReviewsInput
Nom | Description |
---|---|
| 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. |
RequiredDeploymentsParametersInput
Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule.
Champs d’entrée pour RequiredDeploymentsParametersInput
Nom | Description |
---|---|
| The environments that must be successfully deployed to before branches can be merged. |
RequiredStatusCheckInput
Specifies the attributes for a new or updated required status check.
Champs d’entrée pour RequiredStatusCheckInput
Nom | Description |
---|---|
| 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. |
RequiredStatusChecksParametersInput
Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed.
Champs d’entrée pour RequiredStatusChecksParametersInput
Nom | Description |
---|---|
| 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. |
RerequestCheckSuiteInput
Autogenerated input type of RerequestCheckSuite.
ResolveReviewThreadInput
Autogenerated input type of ResolveReviewThread.
RevertPullRequestInput
Autogenerated input type of RevertPullRequest.
Champs d’entrée pour RevertPullRequestInput
Nom | Description |
---|---|
| 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. |
RevokeEnterpriseOrganizationsMigratorRoleInput
Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole.
Champs d’entrée pour RevokeEnterpriseOrganizationsMigratorRoleInput
Nom | Description |
---|---|
| 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. |
RevokeMigratorRoleInput
Autogenerated input type of RevokeMigratorRole.
Champs d’entrée pour RevokeMigratorRoleInput
Nom | Description |
---|---|
| 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. |
RuleParametersInput
Specifies the parameters for a RepositoryRule
object. Only one of the fields should be specified.
Champs d’entrée pour RuleParametersInput
Nom | Description |
---|---|
| 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 |
SavedReplyOrder
Ordering options for saved reply connections.
Champs d’entrée pour SavedReplyOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order saved replies by. |
StarOrder
Ways in which star connections can be ordered.
Champs d’entrée pour StarOrder
Nom | Description |
---|---|
| The direction in which to order nodes. |
| The field in which to order nodes by. |
StartOrganizationMigrationInput
Autogenerated input type of StartOrganizationMigration.
Champs d’entrée pour StartOrganizationMigrationInput
Nom | Description |
---|---|
| 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. |
StartRepositoryMigrationInput
Autogenerated input type of StartRepositoryMigration.
Champs d’entrée pour StartRepositoryMigrationInput
Nom | Description |
---|---|
| 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 GitHub 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. |
StatusCheckConfigurationInput
Required status check.
SubmitPullRequestReviewInput
Autogenerated input type of SubmitPullRequestReview.
Champs d’entrée pour SubmitPullRequestReviewInput
Nom | Description |
---|---|
| 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. |
TagNamePatternParametersInput
Parameters to be used for the tag_name_pattern rule.
TeamDiscussionCommentOrder
Ways in which team discussion comment connections can be ordered.
Champs d’entrée pour TeamDiscussionCommentOrder
Nom | Description |
---|---|
| The direction in which to order nodes. |
| The field by which to order nodes. |
TeamDiscussionOrder
Ways in which team discussion connections can be ordered.
Champs d’entrée pour TeamDiscussionOrder
Nom | Description |
---|---|
| The direction in which to order nodes. |
| The field by which to order nodes. |
TeamMemberOrder
Ordering options for team member connections.
Champs d’entrée pour TeamMemberOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order team members by. |
TeamOrder
Ways in which team connections can be ordered.
Champs d’entrée pour TeamOrder
Nom | Description |
---|---|
| The direction in which to order nodes. |
| The field in which to order nodes by. |
TeamRepositoryOrder
Ordering options for team repository connections.
Champs d’entrée pour TeamRepositoryOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order repositories by. |
TransferIssueInput
Autogenerated input type of TransferIssue.
Champs d’entrée pour TransferIssueInput
Nom | Description |
---|---|
| 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. |
UnarchiveProjectV2ItemInput
Autogenerated input type of UnarchiveProjectV2Item.
UnarchiveRepositoryInput
Autogenerated input type of UnarchiveRepository.
UnfollowOrganizationInput
Autogenerated input type of UnfollowOrganization.
UnfollowUserInput
Autogenerated input type of UnfollowUser.
UnlinkProjectV2FromRepositoryInput
Autogenerated input type of UnlinkProjectV2FromRepository.
UnlinkProjectV2FromTeamInput
Autogenerated input type of UnlinkProjectV2FromTeam.
UnlinkRepositoryFromProjectInput
Autogenerated input type of UnlinkRepositoryFromProject.
UnlockLockableInput
Autogenerated input type of UnlockLockable.
UnmarkDiscussionCommentAsAnswerInput
Autogenerated input type of UnmarkDiscussionCommentAsAnswer.
UnmarkFileAsViewedInput
Autogenerated input type of UnmarkFileAsViewed.
UnmarkIssueAsDuplicateInput
Autogenerated input type of UnmarkIssueAsDuplicate.
Champs d’entrée pour UnmarkIssueAsDuplicateInput
Nom | Description |
---|---|
| 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. |
UnmarkProjectV2AsTemplateInput
Autogenerated input type of UnmarkProjectV2AsTemplate.
UnminimizeCommentInput
Autogenerated input type of UnminimizeComment.
UnpinIssueInput
Autogenerated input type of UnpinIssue.
UnresolveReviewThreadInput
Autogenerated input type of UnresolveReviewThread.
UpdateBranchProtectionRuleInput
Autogenerated input type of UpdateBranchProtectionRule.
Champs d’entrée pour UpdateBranchProtectionRuleInput
Nom | Description |
---|---|
| 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 overwrite 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. |
UpdateCheckRunInput
Autogenerated input type of UpdateCheckRun.
Champs d’entrée pour UpdateCheckRunInput
Nom | Description |
---|---|
| 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. |
UpdateCheckSuitePreferencesInput
Autogenerated input type of UpdateCheckSuitePreferences.
Champs d’entrée pour UpdateCheckSuitePreferencesInput
Nom | Description |
---|---|
| The check suite preferences to modify. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the repository. |
UpdateDiscussionCommentInput
Autogenerated input type of UpdateDiscussionComment.
UpdateDiscussionInput
Autogenerated input type of UpdateDiscussion.
Champs d’entrée pour UpdateDiscussionInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput
Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting.
Champs d’entrée pour UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseDefaultRepositoryPermissionSettingInput
Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting.
Champs d’entrée pour UpdateEnterpriseDefaultRepositoryPermissionSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput
Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting.
Champs d’entrée pour UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseMembersCanCreateRepositoriesSettingInput
Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting.
Champs d’entrée pour UpdateEnterpriseMembersCanCreateRepositoriesSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseMembersCanDeleteIssuesSettingInput
Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting.
Champs d’entrée pour UpdateEnterpriseMembersCanDeleteIssuesSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput
Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting.
Champs d’entrée pour UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput
Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting.
Champs d’entrée pour UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseMembersCanMakePurchasesSettingInput
Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting.
Champs d’entrée pour UpdateEnterpriseMembersCanMakePurchasesSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput
Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting.
Champs d’entrée pour UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput
Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting.
Champs d’entrée pour UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseOrganizationProjectsSettingInput
Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting.
Champs d’entrée pour UpdateEnterpriseOrganizationProjectsSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseOwnerOrganizationRoleInput
Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole.
Champs d’entrée pour UpdateEnterpriseOwnerOrganizationRoleInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseProfileInput
Autogenerated input type of UpdateEnterpriseProfile.
Champs d’entrée pour UpdateEnterpriseProfileInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseRepositoryProjectsSettingInput
Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting.
Champs d’entrée pour UpdateEnterpriseRepositoryProjectsSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseTeamDiscussionsSettingInput
Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting.
Champs d’entrée pour UpdateEnterpriseTeamDiscussionsSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput
Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting.
Champs d’entrée pour UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput
Nom | Description |
---|---|
| 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. |
UpdateEnvironmentInput
Autogenerated input type of UpdateEnvironment.
Champs d’entrée pour UpdateEnvironmentInput
Nom | Description |
---|---|
| 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. |
UpdateIpAllowListEnabledSettingInput
Autogenerated input type of UpdateIpAllowListEnabledSetting.
Champs d’entrée pour UpdateIpAllowListEnabledSettingInput
Nom | Description |
---|---|
| 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. |
UpdateIpAllowListEntryInput
Autogenerated input type of UpdateIpAllowListEntry.
Champs d’entrée pour UpdateIpAllowListEntryInput
Nom | Description |
---|---|
| 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. |
UpdateIpAllowListForInstalledAppsEnabledSettingInput
Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting.
Champs d’entrée pour UpdateIpAllowListForInstalledAppsEnabledSettingInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the owner. |
| The value for the IP allow list configuration for installed GitHub Apps setting. |
UpdateIssueCommentInput
Autogenerated input type of UpdateIssueComment.
UpdateIssueInput
Autogenerated input type of UpdateIssue.
Champs d’entrée pour UpdateIssueInput
Nom | Description |
---|---|
| 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. |
| 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. |
UpdateLabelInput
Autogenerated input type of UpdateLabel.
Remarque
UpdateLabelInput
is available under the Labels preview. Pendant la période de préversion, l’API peut être modifiée sans préavis.
Champs d’entrée pour UpdateLabelInput
Nom | Description |
---|---|
| 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. |
UpdateNotificationRestrictionSettingInput
Autogenerated input type of UpdateNotificationRestrictionSetting.
Champs d’entrée pour UpdateNotificationRestrictionSettingInput
Nom | Description |
---|---|
| 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. |
UpdateOrganizationAllowPrivateRepositoryForkingSettingInput
Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting.
Champs d’entrée pour UpdateOrganizationAllowPrivateRepositoryForkingSettingInput
Nom | Description |
---|---|
| 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. |
UpdateOrganizationWebCommitSignoffSettingInput
Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting.
Champs d’entrée pour UpdateOrganizationWebCommitSignoffSettingInput
Nom | Description |
---|---|
| 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?. |
UpdateParametersInput
Only allow users with bypass permission to update matching refs.
Champs d’entrée pour UpdateParametersInput
Nom | Description |
---|---|
| Branch can pull changes from its upstream repository. |
UpdateProjectCardInput
Autogenerated input type of UpdateProjectCard.
UpdateProjectColumnInput
Autogenerated input type of UpdateProjectColumn.
UpdateProjectInput
Autogenerated input type of UpdateProject.
Champs d’entrée pour UpdateProjectInput
Nom | Description |
---|---|
| 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. |
UpdateProjectV2CollaboratorsInput
Autogenerated input type of UpdateProjectV2Collaborators.
Champs d’entrée pour UpdateProjectV2CollaboratorsInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The collaborators to update. |
| The ID of the project to update the collaborators for. |
UpdateProjectV2DraftIssueInput
Autogenerated input type of UpdateProjectV2DraftIssue.
Champs d’entrée pour UpdateProjectV2DraftIssueInput
Nom | Description |
---|---|
| 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. |
UpdateProjectV2Input
Autogenerated input type of UpdateProjectV2.
Champs d’entrée pour UpdateProjectV2Input
Nom | Description |
---|---|
| 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. |
UpdateProjectV2ItemFieldValueInput
Autogenerated input type of UpdateProjectV2ItemFieldValue.
Champs d’entrée pour UpdateProjectV2ItemFieldValueInput
Nom | Description |
---|---|
| 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. |
UpdateProjectV2ItemPositionInput
Autogenerated input type of UpdateProjectV2ItemPosition.
Champs d’entrée pour UpdateProjectV2ItemPositionInput
Nom | Description |
---|---|
| 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. |
UpdatePullRequestBranchInput
Autogenerated input type of UpdatePullRequestBranch.
Champs d’entrée pour UpdatePullRequestBranchInput
Nom | Description |
---|---|
| 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'. |
UpdatePullRequestInput
Autogenerated input type of UpdatePullRequest.
Champs d’entrée pour UpdatePullRequestInput
Nom | Description |
---|---|
| 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. |
UpdatePullRequestReviewCommentInput
Autogenerated input type of UpdatePullRequestReviewComment.
UpdatePullRequestReviewInput
Autogenerated input type of UpdatePullRequestReview.
UpdateRefInput
Autogenerated input type of UpdateRef.
Champs d’entrée pour UpdateRefInput
Nom | Description |
---|---|
| 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. |
UpdateRefsInput
Autogenerated input type of UpdateRefs.
Remarque
UpdateRefsInput
is available under the Update refs preview update multiple refs in a single operation preview. Pendant la période de préversion, l’API peut être modifiée sans préavis.
Champs d’entrée pour UpdateRefsInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| A list of ref updates. |
| The Node ID of the repository. |
UpdateRepositoryInput
Autogenerated input type of UpdateRepository.
Champs d’entrée pour UpdateRepositoryInput
Nom | Description |
---|---|
| 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. |
UpdateRepositoryRulesetInput
Autogenerated input type of UpdateRepositoryRuleset.
Champs d’entrée pour UpdateRepositoryRulesetInput
Nom | Description |
---|---|
| 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. |
UpdateRepositoryWebCommitSignoffSettingInput
Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting.
Champs d’entrée pour UpdateRepositoryWebCommitSignoffSettingInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the repository to update. |
| Indicates if the repository should require signoff on web-based commits. |
UpdateSubscriptionInput
Autogenerated input type of UpdateSubscription.
Champs d’entrée pour UpdateSubscriptionInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The new state of the subscription. |
| The Node ID of the subscribable object to modify. |
UpdateTeamDiscussionCommentInput
Autogenerated input type of UpdateTeamDiscussionComment.
UpdateTeamDiscussionInput
Autogenerated input type of UpdateTeamDiscussion.
Champs d’entrée pour UpdateTeamDiscussionInput
Nom | Description |
---|---|
| 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. |
UpdateTeamReviewAssignmentInput
Autogenerated input type of UpdateTeamReviewAssignment.
Remarque
UpdateTeamReviewAssignmentInput
is available under the Team review assignments preview. Pendant la période de préversion, l’API peut être modifiée sans préavis.
Champs d’entrée pour UpdateTeamReviewAssignmentInput
Nom | Description |
---|---|
| The algorithm to use for review assignment. |
| A unique identifier for the client performing the mutation. |
| 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. |
| Notify the entire team of the PR if it is delegated. |
| The number of team members to assign. |
UpdateTeamsRepositoryInput
Autogenerated input type of UpdateTeamsRepository.
Champs d’entrée pour UpdateTeamsRepositoryInput
Nom | Description |
---|---|
| 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. |
UpdateTopicsInput
Autogenerated input type of UpdateTopics.
Champs d’entrée pour UpdateTopicsInput
Nom | Description |
---|---|
| A unique identifier for the client performing the mutation. |
| The Node ID of the repository. |
| An array of topic names. |
UserStatusOrder
Ordering options for user status connections.
Champs d’entrée pour UserStatusOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order user statuses by. |
VerifiableDomainOrder
Ordering options for verifiable domain connections.
Champs d’entrée pour VerifiableDomainOrder
Nom | Description |
---|---|
| The ordering direction. |
| The field to order verifiable domains by. |
VerifyVerifiableDomainInput
Autogenerated input type of VerifyVerifiableDomain.
WorkflowRunOrder
Ways in which lists of workflow runs can be ordered upon return.
Champs d’entrée pour WorkflowRunOrder
Nom | Description |
---|---|
| The direction in which to order workflow runs by the specified field. |
| The field by which to order workflows. |