Github API - Test Config

mutation revertPullRequest

Create a pull request that reverts the changes from a merged pull request.

Arguments
input RevertPullRequestInput

RevertPullRequestInput [input]

Autogenerated input type of RevertPullRequest

Attributes
body String

The description of the revert pull request.

clientMutationId String

A unique identifier for the client performing the mutation.

draft Boolean

Indicates whether the revert pull request should be a draft.

pullRequestId ID

The ID of the pull request to revert.

title String

The title of the revert pull request.

API:
Github GraphQL API

Parameters for RevertPullRequest

Returns
RevertPullRequestPayload

RevertPullRequestPayload [object]

Autogenerated return type of RevertPullRequest

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

pullRequest PullRequest

The pull request that was reverted.

revertPullRequest PullRequest

The new pull request that reverts the input pull request.

API:
Github GraphQL API
API:
Github GraphQL API