Types

OrgNews

A news item.

idrequired
string (uuid)
The item id.
typerequired
string
Which kind of content this is.One of: news
titlerequired
string | null
The title, up to 256 characters.
summaryrequired
string | null
A short summary.
bodyrequired
string | null
The body, as HTML.
authorrequired
string | null
The author as shown to readers, up to 255 characters.
image_file_keyrequired
string | null
The file key of the item's image, from POST /org-content/images. A key the organisation did not upload returns 422 `exists`.
publishedrequired
boolean
Whether readers can see the item. A user who cannot manage content sees only published items whose publish date has passed.
publish_daterequired
string | null (date-time)
When the item becomes visible to readers. Defaults to the moment it is created.
like_countrequired
integer
How many users like the item.
comment_countrequired
integer
How many comments the item has.
created_atrequired
string (date-time)
When the item was created.
updated_atrequired
string | null (date-time)
When the item last changed.

Used by (7)