Mutations
addDiscussionComment
Adds a comment to a Discussion, possibly as a reply to another comment.
addDiscussionComment에 대한 입력 필드
input(AddDiscussionCommentInput!)
addDiscussionComment에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The newly created discussion comment. |
addDiscussionPollVote
Vote for an option in a discussion poll.
addDiscussionPollVote에 대한 입력 필드
input(AddDiscussionPollVoteInput!)
addDiscussionPollVote에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| 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.
addUpvote에 대한 입력 필드
input(AddUpvoteInput!)
addUpvote에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The votable subject. |
closeDiscussion
Close a discussion.
closeDiscussion에 대한 입력 필드
input(CloseDiscussionInput!)
closeDiscussion에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The discussion that was closed. |
createDiscussion
Create a discussion.
createDiscussion에 대한 입력 필드
input(CreateDiscussionInput!)
createDiscussion에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The discussion that was just created. |
deleteDiscussion
Delete a discussion and all of its replies.
deleteDiscussion에 대한 입력 필드
input(DeleteDiscussionInput!)
deleteDiscussion에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The discussion that was just deleted. |
deleteDiscussionComment
Delete a discussion comment. If it has replies, wipe it instead.
deleteDiscussionComment에 대한 입력 필드
input(DeleteDiscussionCommentInput!)
deleteDiscussionComment에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The discussion comment that was just deleted. |
markDiscussionCommentAsAnswer
Mark a discussion comment as the chosen answer for discussions in an answerable category.
markDiscussionCommentAsAnswer에 대한 입력 필드
markDiscussionCommentAsAnswer에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The discussion that includes the chosen comment. |
removeUpvote
Remove an upvote to a discussion or discussion comment.
removeUpvote에 대한 입력 필드
input(RemoveUpvoteInput!)
removeUpvote에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The votable subject. |
reopenDiscussion
Reopen a discussion.
reopenDiscussion에 대한 입력 필드
input(ReopenDiscussionInput!)
reopenDiscussion에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |