Skip to main content
Skip to content

Requêtes de tirage

Documentation de référence sur les types de schéma GraphQL de la catégorie Pull requests.

Dans cet article

Mutations

addPullRequestCreationCapBypassUsers

Mutation

Add users to the pull request creation cap bypass list. Bypassed users can create pull requests regardless of the configured cap. Only users with maintainer permissions can manage the bypass list. You can add a maximum of 100 users per request. The bypass list can only hold a maximum of 100 users.

Champs d’entrée pour addPullRequestCreationCapBypassUsers

Champs de retour pour addPullRequestCreationCapBypassUsers

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository with the updated bypass list.

addPullRequestReview

Mutation

Adds a review to a Pull Request.

Champs d’entrée pour addPullRequestReview

Champs de retour pour addPullRequestReview

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

pullRequestReview (PullRequestReview)

The newly created pull request review.

reviewEdge (PullRequestReviewEdge)

The edge from the pull request's review connection.

addPullRequestReviewComment

Mutation

Adds a comment to a review.

Champs d’entrée pour addPullRequestReviewComment

Champs de retour pour addPullRequestReviewComment

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

comment (PullRequestReviewComment)

The newly created comment.

commentEdge (PullRequestReviewCommentEdge)

The edge from the review's comment connection.

addPullRequestReviewThread

Mutation

Adds a new thread to a pending Pull Request Review.

Champs d’entrée pour addPullRequestReviewThread

Champs de retour pour addPullRequestReviewThread

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

thread (PullRequestReviewThread)

The newly created thread.

addPullRequestReviewThreadReply

Mutation

Adds a reply to an existing Pull Request Review Thread.

Champs d’entrée pour addPullRequestReviewThreadReply

Champs de retour pour addPullRequestReviewThreadReply

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

comment (PullRequestReviewComment)

The newly created reply.

archivePullRequest

Mutation

Archive a pull request. Closes, locks, and marks the pull request as archived. Only repository admins can archive pull requests.

Champs d’entrée pour archivePullRequest

Champs de retour pour archivePullRequest

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

pullRequest (PullRequest)