INPUT_OBJECT
CreatePostInput
Input type related to createPost mutation. DEPRECATED: use CreatePublicationInput instead. This input will be removed after May 21, 2023.
link GraphQL Schema definition
- input CreatePostInput {
- # A unique identifier for the client performing the mutation.
- ID :
- # The identifier used to find the project where the post is added to.
- ID! :
- # Information related to the person who created the post.
- PostAuthorInput! :
- # The post content. Markdown syntax is supported. The value must be lower than or
- # equal to 1500 characters, otherwise it is truncated.
- String :
- # A short extract of your post content. The length must be less than or equal to
- # 240 characters, otherwise the value is truncated. If no value is given, the
- # extract is automatically generated from your post content.
- String :
- # The URL of an image that represents the contents, mood, or theme of the post.
- String :
- # Defines whether the publication must be forwarded to email subscribers. Note
- # email sending requires a paid subscription and must be enabled manually from the
- # Noticeable dashboard.
- Boolean :
- # Defines whether the publication must be forwarded to Webhooks upon publication
- # (i.e. the publication is not a draft). If enabled, be careful not to create
- # forwarding loops.
- Boolean :
- # Defines whether the publication must be forwarded to Zapier upon publication
- # (i.e. the publication is not a draft). If enabled, be careful not to create
- # forwarding loops.
- Boolean :
- # Defines whether hidden comments are enabled or not for this post.
- Boolean :
- # Defines whether the post is visible in your project's Newspage and Widget.
- Boolean! :
- # A list of labels used to specify the subjects of your post.
- LabelInput] : [
- # The publication date and time.
- DateTime! :
- # Defines whether emoji reactions are enabled or not for this post.
- Boolean :
- # A list of segmentation filters, aka segments, used to make this post visible to
- # specific users.
- String] : [
- # The slug is the URL-friendly version of your post title used to create a
- # permanent link. It is lowercase and must contain only letters, numbers and
- # hyphens. If empty, the value is auto-generated from your post title. In that
- # case, an ID may be appended to ensure uniqueness in case of conflicts.
- String :
- # A descriptive or general heading of your post content. The length must be less
- # than or equal to 80 characters, otherwise the value is truncated.
- String! :
- }