Schema Documentation

createPost

Description

The createPost mutation

Response

Returns a CreatePostPayload

Arguments
NameDescription
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":"xyz789","post":Post}}}