CreatePostInput (Input)
Description
Input for creating a post
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 | |
| 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 CreatePostInput {
  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
  slug: String
  tagIds: [String!]
  tagNames: [String!]
  updatedAt: DateTime
}