OrgEvent
An event.
idrequiredstring (uuid)- The item id.
typerequiredstring- Which kind of content this is.One of: event
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 event is the one pinned to the top of the list. One event is featured at a time, and an event that has ended stops pinning. Setting it to true on create, update or `PUT .../featured` emits `.featured` for this event and `.updated` with `featured` in `changed_fields` for the event that loses the slot.
publish_daterequiredstring | null (date-time)- When the item becomes visible to readers. Defaults to the moment it is created.
locationrequiredstring | null- Where the event is held.
start_daterequiredstring | null (date-time)- When the event starts.
end_daterequiredstring | null (date-time)- When the event ends.
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.