Mutation
mutation UpdateCommentReports($input: UpdateCommentReportsInput!) {
updateCommentReports(input: $input) {
clientMutationId
comment {
assets {
aspectRatio
assetStyle
contentType
fileSize
id
imageUrl
}
author {
avatarUrl
badges {
__typename
}
conversations {
__typename
}
customFieldResponses {
__typename
}
dailyVisitStreak {
__typename
}
directMessages {
__typename
}
}
bodyHtml
bodyText
cheerCount
createdAt
}
errors
}
}Variables
{
"input": {
"commentId": "id",
"ignored": true
}
}Response
{
"data": {
"updateCommentReports": {
"clientMutationId": "string",
"comment": {
"assets": [
{
"aspectRatio": 1.5,
"assetStyle": "string",
"contentType": "string",
"fileSize": "string",
"id": "id",
"imageUrl": "string"
}
],
"author": {
"avatarUrl": "string",
"badges": [
{
"__typename": "Badge"
}
],
"conversations": {
"__typename": "PublicConversationConnection"
},
"customFieldResponses": {
"__typename": "MemberCustomFieldResponseConnection"
},
"dailyVisitStreak": {
"__typename": "DailyVisitStreak"
},
"directMessages": {
"__typename": "PrivateConversationConnection"
}
},
"bodyHtml": "string",
"bodyText": "string",
"cheerCount": 1,
"createdAt": "value"
},
"errors": [
"string"
]
}
}
}Mutations
updateCommentReports
Clear (ignore) or restore all reports on a comment. Host and moderator only. A moderator cannot clear reports that were filed by a host or another moderator.
MUTATION
updateCommentReports(input: UpdateCommentReportsInput!): UpdateCommentReportsPayloadArguments
input
UpdateCommentReportsInput!
required
Parameters for UpdateCommentReports
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
comment
errors
[String!]!
Mutation
mutation UpdateCommentReports($input: UpdateCommentReportsInput!) {
updateCommentReports(input: $input) {
clientMutationId
comment {
assets {
aspectRatio
assetStyle
contentType
fileSize
id
imageUrl
}
author {
avatarUrl
badges {
__typename
}
conversations {
__typename
}
customFieldResponses {
__typename
}
dailyVisitStreak {
__typename
}
directMessages {
__typename
}
}
bodyHtml
bodyText
cheerCount
createdAt
}
errors
}
}Variables
{
"input": {
"commentId": "id",
"ignored": true
}
}Response
{
"data": {
"updateCommentReports": {
"clientMutationId": "string",
"comment": {
"assets": [
{
"aspectRatio": 1.5,
"assetStyle": "string",
"contentType": "string",
"fileSize": "string",
"id": "id",
"imageUrl": "string"
}
],
"author": {
"avatarUrl": "string",
"badges": [
{
"__typename": "Badge"
}
],
"conversations": {
"__typename": "PublicConversationConnection"
},
"customFieldResponses": {
"__typename": "MemberCustomFieldResponseConnection"
},
"dailyVisitStreak": {
"__typename": "DailyVisitStreak"
},
"directMessages": {
"__typename": "PrivateConversationConnection"
}
},
"bodyHtml": "string",
"bodyText": "string",
"cheerCount": 1,
"createdAt": "value"
},
"errors": [
"string"
]
}
}
}⌘I