Skip to main content

UpdatePostInput (Input)

Description

No description



Fields

NameDescription
attachmentIds - [String!]
createdAt - DateTime
customSeoDetail - CustomSeoDetailInputThe custom seo detail of this post
externalId - String
externalUrl - String
locked - BooleanWhether the post is locked
mappingFields - [PostMappingFieldInput!]
ownerId - ID
pollIds - [String!]The id of all the polls associated with this post.
publish - Boolean!This will publish the post immediately. If false, the post will stay a draft. Will not unpublish an already published post.
This is only usable by admins and moderators.
publishedAt - DateTime
scheduledFor - DateTimeThis will schedule the post to be published at the given date and time. This only applies to posts in draft status.
This is only usable by admins and moderators.
seoDetail - UpdatePostSeoDetailInput
slug - StringThe slug of the post creating the human readable part of its URL
tagNames - [String!]
updatedAt - DateTime

input UpdatePostInput {
attachmentIds: [String!]
createdAt: DateTime
customSeoDetail: CustomSeoDetailInput
externalId: String
externalUrl: String
locked: Boolean
mappingFields: [PostMappingFieldInput!]
ownerId: ID
pollIds: [String!]
publish: Boolean!
publishedAt: DateTime
scheduledFor: DateTime
seoDetail: UpdatePostSeoDetailInput
slug: String
tagNames: [String!]
updatedAt: DateTime
}