Skip to main content

Cette version de GitHub Enterprise Server ne sera plus disponible le 2026-09-22. Les versions abandonnées ne sont pas prises en charge. Aucune publication de correctifs n’est effectuée, même pour les problèmes de sécurité critiques. Pour de meilleures performances, une sécurité améliorée et de nouvelles fonctionnalités dans GitHub Enterprise Server, consultez Overview du processus de mise à niveau. Pour obtenir de l’aide sur la mise à niveau, GitHub Support Entreprise.

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

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.

closePullRequest

Mutation

Close a pull request.

Champs d’entrée pour closePullRequest

Champs de retour pour closePullRequest

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

pullRequest (PullRequest)

The pull request that was closed.

convertPullRequestToDraft

Mutation

Converts a pull request to draft.

Champs d’entrée pour convertPullRequestToDraft

Champs de retour pour convertPullRequestToDraft

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

pullRequest (PullRequest)

The pull request that is now a draft.

createPullRequest

Mutation

Create a new pull request.

Champs d’entrée pour createPullRequest

Champs de retour pour createPullRequest

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

pullRequest (PullRequest)

The new pull request.

deletePullRequestReview

Mutation

Deletes a pull request review.

Champs d’entrée pour deletePullRequestReview

Champs de retour pour deletePullRequestReview

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.