Skip to main content

MutationUpdatePostInput

Input for updating a post.

input MutationUpdatePostInput {
attachment: Upload
body: String
caption: String
id: ID!
isPinned: Boolean
}

Fields​

MutationUpdatePostInput.attachment ● Upload scalar​

Direct file upload

MutationUpdatePostInput.body ● String scalar​

Body content of the post.

MutationUpdatePostInput.caption ● String scalar​

Caption about the post.

MutationUpdatePostInput.id ● ID! non-null scalar​

Global identifier of the post.

MutationUpdatePostInput.isPinned ● Boolean scalar​

Boolean to tell if the post is pinned

Member Of​

updatePost mutation