Skip to main content
Skip to content

토론

토론 범주의 GraphQL 스키마 형식에 대한 참조 설명서입니다.

Mutations

addDiscussionComment

Mutation

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

addDiscussionComment에 대한 입력 필드

addDiscussionComment에 대한 반환 필드

이름설명

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.

addDiscussionPollVote에 대한 입력 필드

addDiscussionPollVote에 대한 반환 필드

이름설명

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.

addUpvote에 대한 입력 필드

addUpvote에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

subject (Votable)

The votable subject.

closeDiscussion

Mutation

Close a discussion.

closeDiscussion에 대한 입력 필드

closeDiscussion에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

discussion (Discussion)

The discussion that was closed.

createDiscussion

Mutation

Create a discussion.

createDiscussion에 대한 입력 필드

createDiscussion에 대한 반환 필드

이름설명

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.

deleteDiscussion에 대한 입력 필드

deleteDiscussion에 대한 반환 필드

이름설명

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.

deleteDiscussionComment에 대한 입력 필드

deleteDiscussionComment에 대한 반환 필드

이름설명

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.

markDiscussionCommentAsAnswer에 대한 입력 필드

markDiscussionCommentAsAnswer에 대한 반환 필드

이름설명

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.

removeUpvote에 대한 입력 필드

removeUpvote에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

subject (Votable)

The votable subject.

reopenDiscussion

Mutation

Reopen a discussion.

reopenDiscussion에 대한 입력 필드

reopenDiscussion에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.