Skip to main content

CreatePostInput (Input)

Description

Input for creating a post



Fields

NameDescription
attachmentIds - [String!]The id of all the attachments to this post.
createdAt - DateTime
customSeoDetail - CustomSeoDetailInputThe custom seo detail of this post
externalId - String
externalUrl - String
key - String
locked - BooleanWhether the post is locked
mappingFields - [PostMappingFieldInput!]!The fields of the post. Depending of the post type it may include title, text, image, etc.
ownerId - ID
postTypeId - String!The id of this post's type
publish - Boolean!Whether the post is published
publishedAt - DateTime
slug - StringThe slug of the post creating the human readable part of its URL
tagIds - [String!]The TagIds for this post. Can be used in conjunction with tagNames.
tagNames - [String!]The tags of this post. Can be used in conjunction with tagIds.
updatedAt - DateTime

input CreatePostInput {
attachmentIds: [String!]
createdAt: DateTime
customSeoDetail: CustomSeoDetailInput
externalId: String
externalUrl: String
key: String
locked: Boolean
mappingFields: [PostMappingFieldInput!]!
ownerId: ID
postTypeId: String!
publish: Boolean!
publishedAt: DateTime
slug: String
tagIds: [String!]
tagNames: [String!]
updatedAt: DateTime
}