INPUT_OBJECT

UpdatePublicationInput

Input type related to updatePublication mutation.

link GraphQL Schema definition

  • input UpdatePublicationInput {
  • # A unique identifier for the client performing the mutation.
  • clientMutationId: ID
  • # The Project ID where the publication to update is.
  • projectId: ID!
  • # The Publication ID to update.
  • publicationId: ID!
  • # Information related to the person who created the publication.
  • author: PublicationAuthorInput
  • # The publication content. Markdown syntax is supported. The value must be lower
  • # than or equal to 1500 characters, otherwise it is truncated.
  • content: String
  • # A short extract of your publication 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 publication content.
  • excerpt: String
  • # The URL of an image that represents the contents, mood, or theme of the
  • # publication.
  • featuredImage: 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.
  • forwardToEmails: 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.
  • forwardToZapier: Boolean
  • # Defines whether hidden comments are enabled or not for this publication.
  • hiddenComments: Boolean
  • # Defines whether the publication is archived in the Noticeable dashboard.
  • isArchived: Boolean
  • # Defines whether the publication is visible in your project's Newspage and
  • # Widget.
  • isDraft: Boolean
  • # A list of labels used to specify the subjects of your publication.
  • labels: [LabelInput]
  • # The publication date and time.
  • publishedAt: DateTime
  • # Defines whether emoji reactions are enabled or not for this publication.
  • reactions: Boolean
  • # A list of segmentation filters, aka segments, used to make this publication
  • # visible to specific users.
  • segments: [String]
  • # The slug is the URL-friendly version of your publication 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 publication title. In
  • # that case, an ID may be appended to ensure uniqueness in case of conflicts.
  • slug: String
  • # A descriptive or general heading of your publication content. The length must be
  • # less than or equal to 80 characters, otherwise the value is truncated.
  • title: String
  • }