OrgNews
A news item.
idrequiredstring (uuid)- The item id.
typerequiredstring- Which kind of content this is.One of: news
titlerequiredstring | null- The title, up to 256 characters.
summaryrequiredstring | null- A short summary.
bodyrequiredstring | null- The body, as HTML.
external_linkrequiredstring | null- A link to material held elsewhere, up to 2048 characters.
image_file_keyrequiredstring | null- The file key of the item's image, from POST /org-content/images. A key the organisation did not upload returns 422 `exists`.
publishedrequiredboolean- Whether readers can see the item. A user who cannot manage content sees only published items whose publish date has passed.
featuredrequiredboolean- Whether the item is the one pinned to the top of the list. One item is featured at a time. Setting it to true on create, update or `PUT .../featured` emits `.featured` for this item and `.updated` with `featured` in `changed_fields` for the item that loses the slot.
publish_daterequiredstring | null (date-time)- When the item becomes visible to readers. Defaults to the moment it is created.
like_countrequiredinteger- How many users like the item.
comment_countrequiredinteger- How many comments the item has.
created_atrequiredstring (date-time)- When the item was created.
updated_atrequiredstring | null (date-time)- When the item last changed.