Schema Documentation
createPost
Description
The payload for the createPost mutation
Response
Returns a
CreatePostPayload
Arguments
Name | Description |
---|---|
input -
CreatePostInput! | Input for the createPost mutation |
Example
Query
mutation createPost($input: CreatePostInput!){
createPost(input: $input){
clientMutationIdpost {
...PostFragment
}
}
}
Variables
{"input":CreatePostInput}
Response
{"data":{"createPost":{"clientMutationId":"abc123","post":Post}}}