Schema Documentation

updatePost

Description

The updatePost mutation

Response

Returns an UpdatePostPayload

Arguments
NameDescription
input - UpdatePostInput! Input for the updatePost mutation

Example

Query
mutation updatePost($input: UpdatePostInput!){  updatePost(input: $input){    clientMutationIdpost {      ...PostFragment    }  }}
Variables
{"input":UpdatePostInput}
Response
{"data":{"updatePost":{"clientMutationId":"xyz789","post":Post}}}