Skip to main content

CreateDraftPostInput (Input)

Description

No description



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
pollIds - [String!]The id of all the polls associated with this post.
postTypeId - String!The id of this post's type
publish - Boolean!This will publish the post immediately. If false, the post will become a draft.
This is only usable by admins and moderators.
publishedAt - DateTime
scheduledFor - DateTimeProviding this field will schedule the post to be published at the given date.
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 CreateDraftPostInput {
attachmentIds: [String!]
createdAt: DateTime
customSeoDetail: CustomSeoDetailInput
externalId: String
externalUrl: String
key: String
locked: Boolean
mappingFields: [PostMappingFieldInput!]!
ownerId: ID
pollIds: [String!]
postTypeId: String!
publish: Boolean!
publishedAt: DateTime
scheduledFor: DateTime
slug: String
tagIds: [String!]
tagNames: [String!]
updatedAt: DateTime
}