Skip to main content

Enterprise Server 3.21 ist derzeit als Release Candidate verfügbar.

Reference documentation for GraphQL schema types in the Discussions category.

Mutations

addDiscussionComment

Mutation

Adds a comment to a Discussion, possibly as a reply to another comment.

Eingabefelder für addDiscussionComment

Rückgabefelder für addDiscussionComment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

comment (DiscussionComment)

The newly created discussion comment.

addDiscussionPollVote

Mutation

Vote for an option in a discussion poll.

Eingabefelder für addDiscussionPollVote

Rückgabefelder für addDiscussionPollVote

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

pollOption (DiscussionPollOption)

The poll option that a vote was added to.

addUpvote

Mutation

Add an upvote to a discussion or discussion comment.

Eingabefelder für addUpvote

Rückgabefelder für addUpvote

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

subject (Votable)

The votable subject.

closeDiscussion

Mutation

Close a discussion.

Eingabefelder für closeDiscussion

Rückgabefelder für closeDiscussion

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussion (Discussion)

The discussion that was closed.

createDiscussion

Mutation

Create a discussion.

Eingabefelder für createDiscussion

Rückgabefelder für createDiscussion

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussion (Discussion)

The discussion that was just created.

deleteDiscussion

Mutation

Delete a discussion and all of its replies.

Eingabefelder für deleteDiscussion

Rückgabefelder für deleteDiscussion

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussion (Discussion)

The discussion that was just deleted.

deleteDiscussionComment

Mutation

Delete a discussion comment. If it has replies, wipe it instead.

Eingabefelder für deleteDiscussionComment

Rückgabefelder für deleteDiscussionComment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

comment (DiscussionComment)

The discussion comment that was just deleted.

markDiscussionCommentAsAnswer

Mutation

Mark a discussion comment as the chosen answer for discussions in an answerable category.

Eingabefelder für markDiscussionCommentAsAnswer

Rückgabefelder für markDiscussionCommentAsAnswer

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussion (Discussion)

The discussion that includes the chosen comment.

removeUpvote

Mutation

Remove an upvote to a discussion or discussion comment.

Eingabefelder für removeUpvote

Rückgabefelder für removeUpvote

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

subject (Votable)

The votable subject.

reopenDiscussion

Mutation

Reopen a discussion.

Eingabefelder für reopenDiscussion

Rückgabefelder für reopenDiscussion

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussion (Discussion)

The discussion that was reopened.

unmarkDiscussionCommentAsAnswer

Mutation

Unmark a discussion comment as the chosen answer for discussions in an answerable category.

Eingabefelder für unmarkDiscussionCommentAsAnswer

Rückgabefelder für unmarkDiscussionCommentAsAnswer

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussion (Discussion)

The discussion that includes the comment.

updateDiscussion

Mutation

Update a discussion.

Eingabefelder für updateDiscussion

Rückgabefelder für updateDiscussion

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussion (Discussion)

The modified discussion.

updateDiscussionComment

Mutation

Update the contents of a comment on a Discussion.

Eingabefelder für updateDiscussionComment

Rückgabefelder für updateDiscussionComment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

comment (DiscussionComment)

The modified discussion comment.

Objects

Discussion

Object

A discussion in a repository.

Discussion Wird implementiert

Felder für Discussion

NameBESCHREIBUNG

activeLockReason (LockReason)

Reason that the conversation was locked.

answer (DiscussionComment)

The comment chosen as this discussion's answer, if any.

answerChosenAt (DateTime)

The time when a user chose this discussion's answer, if answered.

answerChosenBy (Actor)

The user who chose this discussion's answer, if answered.

author (Actor)

The actor who authored the discussion.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

The main text of the discussion post.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

category (DiscussionCategory!)

The category for this discussion.

closed (Boolean!)

Indicates if the object is closed (definition of closed may depend on type).

closedAt (DateTime)

Identifies the date and time when the object was closed.

comments (DiscussionCommentConnection!)

The replies to the discussion.

Argumente für comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

createdAt (DateTime!)

Identifies the date and time when the object was created.

createdViaEmail (Boolean!)

Check if this comment was created via an email reply.

databaseId (Int)

Identifies the primary key from the database.

editor (Actor)

The actor who edited the comment.

id (ID!)

The Node ID of the Discussion object.

includesCreatedEdit (Boolean!)

Check if this comment was edited and includes an edit with the creation data.

isAnswered (Boolean)

Only return answered/unanswered discussions.

labels (LabelConnection)

A list of labels associated with the object.

Argumente für labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

lastEditedAt (DateTime)

The moment the editor made the last edit.

locked (Boolean!)

true if the object is locked.

number (Int!)

The number identifying this discussion within the repository.

poll (DiscussionPoll)

The poll associated with this discussion, if one exists.

publishedAt (DateTime)

Identifies when the comment was published at.

reactionGroups ([ReactionGroup!])

A list of reactions grouped by content left on the subject.

reactions (ReactionConnection!)

A list of Reactions left on the Issue.

Argumente für reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

repository (Repository!)

The repository associated with this node.

resourcePath (URI!)

The path for this discussion.

stateReason (DiscussionStateReason)

Identifies the reason for the discussion's state.

title (String!)

The title of this discussion.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

upvoteCount (Int!)

Number of upvotes that this subject has received.

url (URI!)

The URL for this discussion.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Argumente für userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for this object.

viewerCanReact (Boolean!)

Can user react to this subject.

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

viewerCanSubscribe (Boolean!)

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdate (Boolean!)

Check if the current viewer can update this object.

viewerCanUpvote (Boolean!)

Whether or not the current user can add or remove an upvote on this subject.

viewerDidAuthor (Boolean!)

Did the viewer author this comment.

viewerHasUpvoted (Boolean!)

Whether or not the current user has already upvoted this subject.

viewerSubscription (SubscriptionState)

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

DiscussionCategory

Object

A category for discussions in a repository.

DiscussionCategory Wird implementiert

Felder für DiscussionCategory

NameBESCHREIBUNG

createdAt (DateTime!)

Identifies the date and time when the object was created.

description (String)

A description of this category.

emoji (String!)

An emoji representing this category.

emojiHTML (HTML!)

This category's emoji rendered as HTML.

id (ID!)

The Node ID of the DiscussionCategory object.

isAnswerable (Boolean!)

Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation.

name (String!)

The name of this category.

repository (Repository!)

The repository associated with this node.

slug (String!)

The slug of this category.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

DiscussionCategoryConnection

Object

The connection type for DiscussionCategory.

Felder für DiscussionCategoryConnection

NameBESCHREIBUNG

edges ([DiscussionCategoryEdge])

A list of edges.

nodes ([DiscussionCategory])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DiscussionCategoryEdge

Object

An edge in a connection.

Felder für DiscussionCategoryEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (DiscussionCategory)

The item at the end of the edge.

DiscussionComment

Object

A comment on a discussion.

DiscussionComment Wird implementiert

Felder für DiscussionComment

NameBESCHREIBUNG

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

The body as Markdown.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

createdAt (DateTime!)

Identifies the date and time when the object was created.

createdViaEmail (Boolean!)

Check if this comment was created via an email reply.

databaseId (Int)

Identifies the primary key from the database.

deletedAt (DateTime)

The time when this replied-to comment was deleted.

discussion (Discussion)

The discussion this comment was created in.

editor (Actor)

The actor who edited the comment.

id (ID!)

The Node ID of the DiscussionComment object.

includesCreatedEdit (Boolean!)

Check if this comment was edited and includes an edit with the creation data.

isAnswer (Boolean!)

Has this comment been chosen as the answer of its discussion?.

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

lastEditedAt (DateTime)

The moment the editor made the last edit.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

publishedAt (DateTime)

Identifies when the comment was published at.

reactionGroups ([ReactionGroup!])

A list of reactions grouped by content left on the subject.

reactions (ReactionConnection!)

A list of Reactions left on the Issue.

Argumente für reactions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ReactionOrder)

    Allows specifying the order in which reactions are returned.

replies (DiscussionCommentConnection!)

The threaded replies to this comment.

Argumente für replies

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

replyTo (DiscussionComment)

The discussion comment this comment is a reply to.

resourcePath (URI!)

The path for this discussion comment.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

upvoteCount (Int!)

Number of upvotes that this subject has received.

url (URI!)

The URL for this discussion comment.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Argumente für userContentEdits

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMarkAsAnswer (Boolean!)

Can the current user mark this comment as an answer?.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCanReact (Boolean!)

Can user react to this subject.

viewerCanUnmarkAsAnswer (Boolean!)

Can the current user unmark this comment as an answer?.

viewerCanUnminimize (Boolean!)

Check if the current viewer can unminimize this object.

viewerCanUpdate (Boolean!)

Check if the current viewer can update this object.

viewerCanUpvote (Boolean!)

Whether or not the current user can add or remove an upvote on this subject.

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

Reasons why the current viewer can not update this comment.

viewerDidAuthor (Boolean!)

Did the viewer author this comment.

viewerHasUpvoted (Boolean!)

Whether or not the current user has already upvoted this subject.

DiscussionCommentConnection

Object

The connection type for DiscussionComment.

Felder für DiscussionCommentConnection

NameBESCHREIBUNG

edges ([DiscussionCommentEdge])

A list of edges.

nodes ([DiscussionComment])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DiscussionCommentEdge

Object

An edge in a connection.

Felder für DiscussionCommentEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (DiscussionComment)

The item at the end of the edge.

DiscussionConnection

Object

The connection type for Discussion.

Felder für DiscussionConnection

NameBESCHREIBUNG

edges ([DiscussionEdge])

A list of edges.

nodes ([Discussion])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DiscussionEdge

Object

An edge in a connection.

Felder für DiscussionEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (Discussion)

The item at the end of the edge.

DiscussionPoll

Object

A poll for a discussion.

DiscussionPoll Wird implementiert

Felder für DiscussionPoll

NameBESCHREIBUNG

discussion (Discussion)

The discussion that this poll belongs to.

id (ID!)

The Node ID of the DiscussionPoll object.

options (DiscussionPollOptionConnection)

The options for this poll.

Argumente für options

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

question (String!)

The question that is being asked by this poll.

totalVoteCount (Int!)

The total number of votes that have been cast for this poll.

viewerCanVote (Boolean!)

Indicates if the viewer has permission to vote in this poll.

viewerHasVoted (Boolean!)

Indicates if the viewer has voted for any option in this poll.

DiscussionPollOption

Object

An option for a discussion poll.

DiscussionPollOption Wird implementiert

Felder für DiscussionPollOption

NameBESCHREIBUNG

id (ID!)

The Node ID of the DiscussionPollOption object.

option (String!)

The text for this option.

poll (DiscussionPoll)

The discussion poll that this option belongs to.

totalVoteCount (Int!)

The total number of votes that have been cast for this option.

viewerHasVoted (Boolean!)

Indicates if the viewer has voted for this option in the poll.

DiscussionPollOptionConnection

Object

The connection type for DiscussionPollOption.

Felder für DiscussionPollOptionConnection

NameBESCHREIBUNG

edges ([DiscussionPollOptionEdge])

A list of edges.

nodes ([DiscussionPollOption])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DiscussionPollOptionEdge

Object

An edge in a connection.

Felder für DiscussionPollOptionEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (DiscussionPollOption)

The item at the end of the edge.

PinnedDiscussion

Object

A Pinned Discussion is a discussion pinned to a repository's index page.

PinnedDiscussion Wird implementiert

Felder für PinnedDiscussion

NameBESCHREIBUNG

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

discussion (Discussion!)

The discussion that was pinned.

gradientStopColors ([String!]!)

Color stops of the chosen gradient.

id (ID!)

The Node ID of the PinnedDiscussion object.

pattern (PinnedDiscussionPattern!)

Background texture pattern.

pinnedBy (Actor!)

The actor that pinned this discussion.

preconfiguredGradient (PinnedDiscussionGradient)

Preconfigured background gradient option.

repository (Repository!)

The repository associated with this node.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

PinnedDiscussionConnection

Object

The connection type for PinnedDiscussion.

Felder für PinnedDiscussionConnection

NameBESCHREIBUNG

edges ([PinnedDiscussionEdge])

A list of edges.

nodes ([PinnedDiscussion])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PinnedDiscussionEdge

Object

An edge in a connection.

Felder für PinnedDiscussionEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (PinnedDiscussion)

The item at the end of the edge.

Interfaces

RepositoryDiscussionAuthor

Interface

Represents an author of discussions in repositories.

RepositoryDiscussionAuthor wird implementiert von

Felder für RepositoryDiscussionAuthor

NameBESCHREIBUNG

repositoryDiscussions (DiscussionConnection!)

Discussions this user has started.

Argumente für repositoryDiscussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • answered (Boolean)

    Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DiscussionOrder)

    Ordering options for discussions returned from the connection.

  • repositoryId (ID)

    Filter discussions to only those in a specific repository.

RepositoryDiscussionCommentAuthor

Interface

Represents an author of discussion comments in repositories.

RepositoryDiscussionCommentAuthor wird implementiert von

Felder für RepositoryDiscussionCommentAuthor

NameBESCHREIBUNG

repositoryDiscussionComments (DiscussionCommentConnection!)

Discussion comments this user has authored.

Argumente für repositoryDiscussionComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • onlyAnswers (Boolean)

    Filter discussion comments to only those that were marked as the answer.

    The default value is false.

  • repositoryId (ID)

    Filter discussion comments to only those in a specific repository.

Votable

Interface

A subject that may be upvoted.

Votable wird implementiert von

Felder für Votable

NameBESCHREIBUNG

upvoteCount (Int!)

Number of upvotes that this subject has received.

viewerCanUpvote (Boolean!)

Whether or not the current user can add or remove an upvote on this subject.

viewerHasUpvoted (Boolean!)

Whether or not the current user has already upvoted this subject.

Enums

DiscussionCloseReason

Enum

The possible reasons for closing a discussion.

Werte für DiscussionCloseReason

NameBESCHREIBUNG
DUPLICATE

The discussion is a duplicate of another.

OUTDATED

The discussion is no longer relevant.

RESOLVED

The discussion has been resolved.

DiscussionOrderField

Enum

Properties by which discussion connections can be ordered.

Werte für DiscussionOrderField

NameBESCHREIBUNG
CREATED_AT

Order discussions by creation time.

UPDATED_AT

Order discussions by most recent modification time.

DiscussionPollOptionOrderField

Enum

Properties by which discussion poll option connections can be ordered.

Werte für DiscussionPollOptionOrderField

NameBESCHREIBUNG
AUTHORED_ORDER

Order poll options by the order that the poll author specified when creating the poll.

VOTE_COUNT

Order poll options by the number of votes it has.

DiscussionState

Enum

The possible states of a discussion.

Werte für DiscussionState

NameBESCHREIBUNG
CLOSED

A discussion that has been closed.

OPEN

A discussion that is open.

DiscussionStateReason

Enum

The possible state reasons of a discussion.

Werte für DiscussionStateReason

NameBESCHREIBUNG
DUPLICATE

The discussion is a duplicate of another.

OUTDATED

The discussion is no longer relevant.

REOPENED

The discussion was reopened.

RESOLVED

The discussion has been resolved.

PinnedDiscussionGradient

Enum

Preconfigured gradients that may be used to style discussions pinned within a repository.

Werte für PinnedDiscussionGradient

NameBESCHREIBUNG
BLUE_MINT

A gradient of blue to mint.

BLUE_PURPLE

A gradient of blue to purple.

PINK_BLUE

A gradient of pink to blue.

PURPLE_CORAL

A gradient of purple to coral.

RED_ORANGE

A gradient of red to orange.

PinnedDiscussionPattern

Enum

Preconfigured background patterns that may be used to style discussions pinned within a repository.

Werte für PinnedDiscussionPattern

NameBESCHREIBUNG
CHEVRON_UP

An upward-facing chevron pattern.

DOT

A hollow dot pattern.

DOT_FILL

A solid dot pattern.

HEART_FILL

A heart pattern.

PLUS

A plus sign pattern.

ZAP

A lightning bolt pattern.

Input objects

AddDiscussionCommentInput

Input object

Autogenerated input type of AddDiscussionComment.

Eingabefelder für AddDiscussionCommentInput

NameBESCHREIBUNG

body (String!)

The contents of the comment.

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussionId (ID!)

The Node ID of the discussion to comment on.

replyToId (ID)

The Node ID of the discussion comment within this discussion to reply to.

AddDiscussionPollVoteInput

Input object

Autogenerated input type of AddDiscussionPollVote.

Eingabefelder für AddDiscussionPollVoteInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

pollOptionId (ID!)

The Node ID of the discussion poll option to vote for.

AddUpvoteInput

Input object

Autogenerated input type of AddUpvote.

Eingabefelder für AddUpvoteInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

subjectId (ID!)

The Node ID of the discussion or comment to upvote.

CloseDiscussionInput

Input object

Autogenerated input type of CloseDiscussion.

Eingabefelder für CloseDiscussionInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussionId (ID!)

ID of the discussion to be closed.

reason (DiscussionCloseReason)

The reason why the discussion is being closed.

CreateDiscussionInput

Input object

Autogenerated input type of CreateDiscussion.

Eingabefelder für CreateDiscussionInput

NameBESCHREIBUNG

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.

DeleteDiscussionCommentInput

Input object

Autogenerated input type of DeleteDiscussionComment.

Eingabefelder für DeleteDiscussionCommentInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The Node id of the discussion comment to delete.

DeleteDiscussionInput

Input object

Autogenerated input type of DeleteDiscussion.

Eingabefelder für DeleteDiscussionInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The id of the discussion to delete.

DiscussionOrder

Input object

Ways in which lists of discussions can be ordered upon return.

Eingabefelder für DiscussionOrder

NameBESCHREIBUNG

direction (OrderDirection!)

The direction in which to order discussions by the specified field.

field (DiscussionOrderField!)

The field by which to order discussions.

DiscussionPollOptionOrder

Input object

Ordering options for discussion poll option connections.

Eingabefelder für DiscussionPollOptionOrder

NameBESCHREIBUNG

direction (OrderDirection!)

The ordering direction.

field (DiscussionPollOptionOrderField!)

The field to order poll options by.

MarkDiscussionCommentAsAnswerInput

Input object

Autogenerated input type of MarkDiscussionCommentAsAnswer.

Eingabefelder für MarkDiscussionCommentAsAnswerInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The Node ID of the discussion comment to mark as an answer.

RemoveUpvoteInput

Input object

Autogenerated input type of RemoveUpvote.

Eingabefelder für RemoveUpvoteInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

subjectId (ID!)

The Node ID of the discussion or comment to remove upvote.

ReopenDiscussionInput

Input object

Autogenerated input type of ReopenDiscussion.

Eingabefelder für ReopenDiscussionInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussionId (ID!)

ID of the discussion to be reopened.

UnmarkDiscussionCommentAsAnswerInput

Input object

Autogenerated input type of UnmarkDiscussionCommentAsAnswer.

Eingabefelder für UnmarkDiscussionCommentAsAnswerInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The Node ID of the discussion comment to unmark as an answer.

UpdateDiscussionCommentInput

Input object

Autogenerated input type of UpdateDiscussionComment.

Eingabefelder für UpdateDiscussionCommentInput

NameBESCHREIBUNG

body (String!)

The new contents of the comment body.

clientMutationId (String)

A unique identifier for the client performing the mutation.

commentId (ID!)

The Node ID of the discussion comment to update.

UpdateDiscussionInput

Input object

Autogenerated input type of UpdateDiscussion.

Eingabefelder für UpdateDiscussionInput

NameBESCHREIBUNG

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.