CreateDraftPostInput (Input)
Description
No description
Fields
Name | Description |
---|---|
attachmentIds - [String!] | The id of all the attachments to this post. |
createdAt - DateTime | |
customSeoDetail - CustomSeoDetailInput | The custom seo detail of this post |
externalId - String | |
externalUrl - String | |
key - String | |
locked - Boolean | Whether 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 - DateTime | Providing this field will schedule the post to be published at the given date. |
slug - String | The 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
}