Skip to main content

MutationCreatePostInput

Input for creating a new post

input MutationCreatePostInput {
attachment: Upload
body: String
caption: String!
isPinned: Boolean
organizationId: ID!
}

Fields

MutationCreatePostInput.attachment ● Upload scalar

Direct file upload

MutationCreatePostInput.body ● String scalar

Body content of the post.

MutationCreatePostInput.caption ● String! non-null scalar

Caption about the post.

MutationCreatePostInput.isPinned ● Boolean scalar

Boolean to tell if the post is pinned

MutationCreatePostInput.organizationId ● ID! non-null scalar

Global identifier of the associated organization in which the post is posted.

Member Of

createPost mutation