Github API - Test Config

mutation convertPullRequestToDraft

Converts a pull request to draft

Arguments
input ConvertPullRequestToDraftInput

ConvertPullRequestToDraftInput [input]

Autogenerated input type of ConvertPullRequestToDraft

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

pullRequestId ID

ID of the pull request to convert to draft

API:
Github GraphQL API

Parameters for ConvertPullRequestToDraft

Returns
ConvertPullRequestToDraftPayload

ConvertPullRequestToDraftPayload [object]

Autogenerated return type of ConvertPullRequestToDraft

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

pullRequest PullRequest

The pull request that is now a draft.

API:
Github GraphQL API
API:
Github GraphQL API