Schema Documentation
updatePost
Description
The updatePost mutation
Response
Returns an UpdatePostPayload
Arguments
| Name | Description |
|---|---|
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}}}