Mutation
mutation CreatePostMute($input: CreatePostMuteInput!) {
createPostMute(input: $input) {
clientMutationId
errors
post {
answerCount
assets {
aspectRatio
assetStyle
contentType
fileSize
id
imageUrl
}
body
bodyHtml
bodyText
cheerCount
}
}
}Variables
{
"input": {
"postId": "id"
}
}Response
{
"data": {
"createPostMute": {
"clientMutationId": "string",
"errors": [
"string"
],
"post": {
"answerCount": 1,
"assets": [
{
"aspectRatio": 1.5,
"assetStyle": "string",
"contentType": "string",
"fileSize": "string",
"id": "id",
"imageUrl": "string"
}
],
"body": "string",
"bodyHtml": "string",
"bodyText": "string",
"cheerCount": 1
}
}
}
}Mutations
createPostMute
Mute a post to silence its notifications. By default mutes it for the current member; a host or moderator may pass memberId to mute it for another member. Idempotent.
Required scope: write:posts
MUTATION
createPostMute(input: CreatePostMuteInput!): CreatePostMutePayloadArguments
input
required
Parameters for CreatePostMute
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
post
Mutation
mutation CreatePostMute($input: CreatePostMuteInput!) {
createPostMute(input: $input) {
clientMutationId
errors
post {
answerCount
assets {
aspectRatio
assetStyle
contentType
fileSize
id
imageUrl
}
body
bodyHtml
bodyText
cheerCount
}
}
}Variables
{
"input": {
"postId": "id"
}
}Response
{
"data": {
"createPostMute": {
"clientMutationId": "string",
"errors": [
"string"
],
"post": {
"answerCount": 1,
"assets": [
{
"aspectRatio": 1.5,
"assetStyle": "string",
"contentType": "string",
"fileSize": "string",
"id": "id",
"imageUrl": "string"
}
],
"body": "string",
"bodyHtml": "string",
"bodyText": "string",
"cheerCount": 1
}
}
}
}