Github API - Test Config

mutation updateDiscussion

Update a discussion

Arguments
input UpdateDiscussionInput

UpdateDiscussionInput [input]

Autogenerated input type of UpdateDiscussion

Attributes
body String

The new contents of the discussion body.

categoryId ID

The Node ID of a discussion category within the same repository to change this discussion to.

clientMutationId String

A unique identifier for the client performing the mutation.

discussionId ID

The Node ID of the discussion to update.

title String

The new discussion title.

API:
Github GraphQL API

Parameters for UpdateDiscussion

Returns
UpdateDiscussionPayload

UpdateDiscussionPayload [object]

Autogenerated return type of UpdateDiscussion

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

discussion Discussion

The modified discussion.

API:
Github GraphQL API
API:
Github GraphQL API