Github API - Test Config

mutation createDiscussion

Create a discussion.

Arguments
input CreateDiscussionInput

CreateDiscussionInput [input]

Autogenerated input type of CreateDiscussion

Attributes
body String

The body of the discussion.

categoryId ID

The id of the discussion category to associate with this discussion.

clientMutationId String

A unique identifier for the client performing the mutation.

repositoryId ID

The id of the repository on which to create the discussion.

title String

The title of the discussion.

API:
Github GraphQL API

Parameters for CreateDiscussion

Returns
CreateDiscussionPayload

CreateDiscussionPayload [object]

Autogenerated return type of CreateDiscussion

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

discussion Discussion

The discussion that was just created.

API:
Github GraphQL API
API:
Github GraphQL API