Skip to main content

MutationCreatePostInput

Input for creating a new post

input MutationCreatePostInput {
attachments: [FileMetadataInput!]
caption: String!
isPinned: Boolean
organizationId: ID!
}

Fields

MutationCreatePostInput.attachments ● [FileMetadataInput!] list input

Metadata for files already uploaded via presigned URL

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