Mutation
mutation CreateCommentReport($input: CreateCommentReportInput!) {
createCommentReport(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": {
"blacklistType": "NOT_INTERESTING",
"commentId": "id"
}
}Response
{
"data": {
"createCommentReport": {
"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
createCommentReport
Flag a comment for the current member: hide it (not_interesting) or report it to moderators (spam, offensive, other). Reporting notifies the space’s moderators.
MUTATION
createCommentReport(input: CreateCommentReportInput!): CreateCommentReportPayloadArguments
input
CreateCommentReportInput!
required
Parameters for CreateCommentReport
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
comment
errors
[String!]!
Mutation
mutation CreateCommentReport($input: CreateCommentReportInput!) {
createCommentReport(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": {
"blacklistType": "NOT_INTERESTING",
"commentId": "id"
}
}Response
{
"data": {
"createCommentReport": {
"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