Mutations
addDiscussionComment
Adds a comment to a Discussion, possibly as a reply to another comment.
Input fields for addDiscussionComment
input(AddDiscussionCommentInput!)
Return fields for addDiscussionComment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The newly created discussion comment. |
addDiscussionPollVote
Vote for an option in a discussion poll.
Input fields for addDiscussionPollVote
input(AddDiscussionPollVoteInput!)
Return fields for addDiscussionPollVote
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The poll option that a vote was added to. |
addUpvote
Add an upvote to a discussion or discussion comment.
Input fields for addUpvote
input(AddUpvoteInput!)
Return fields for addUpvote
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The votable subject. |
closeDiscussion
Close a discussion.
Input fields for closeDiscussion
input(CloseDiscussionInput!)
Return fields for closeDiscussion
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The discussion that was closed. |
createDiscussion
Create a discussion.
Input fields for createDiscussion
input(CreateDiscussionInput!)
Return fields for createDiscussion
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The discussion that was just created. |
deleteDiscussion
Delete a discussion and all of its replies.
Input fields for deleteDiscussion
input(DeleteDiscussionInput!)
Return fields for deleteDiscussion
| Name | Description |
|---|---|
|