Magidoc

UpdatePublicationInput
Input Object

Fields

#

author

Information related to the person who created the publication.

clientMutationId

ID

A unique identifier for the client performing the mutation.

content

The publication content. Markdown syntax is supported. The value must be lower than or equal to 1500 characters, otherwise it is truncated.

cta

The call-to-action button shown with the publication. null removes it.

excerpt

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.

expiresAt

The date and time after which the publication is no longer shown, at most 30 days ahead and after the publication date. null removes it. Requires the Expiring Publications feature.

featuredImage

The URL of an image that represents the contents, mood, or theme of the publication.

forwardToEmails

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.

forwardToWebhooks

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.

forwardToZapier

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.

hiddenComments

Defines whether hidden comments are enabled or not for this publication.

isArchived

Defines whether the publication is archived in the Noticeable dashboard.

isDraft

Defines whether the publication is visible in your project's Newspage and Widget.

labels

A list of labels used to specify the subjects of your publication.

openWidgets

Defines whether the widgets open by themselves to show this publication to readers who have not seen it.

pinned

Defines whether the publication is pinned at the top of the lists. Requires the Pinned Publications feature.

projectId

ID!
Non-null

The Project ID where the publication to update is.

publicationId

ID!
Non-null

The Publication ID to update.

publishedAt

The publication date and time.

reactions

Defines whether emoji reactions are enabled or not for this publication.

segments

[String]

A list of segmentation filters, aka segments, used to make this publication visible to specific users.

seo

Search engine and social sharing settings: only the fields given change, an empty string clears one.

slug

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.

title

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.

Usages

#

References

#

  • Argument input of field updatePublication from type Mutation