Banner
A banner: a notice shown to the users of an organisation inside a display window.
idrequiredinteger- The banner id. Banners keep the integer ids they have always had.
titlerequiredstring | null- The headline, up to 256 characters.
descriptionrequiredstring | null- The body of the banner, as HTML. It is stored and shown as sent, without sanitising.
typerequiredstring- How a reader can respond: `dismissible` can be closed, `confirmable` must be confirmed, `always_shown` cannot be closed.One of: dismissible, confirmable, always_shown
display_fromrequiredstring | null (date-time)- When the banner starts to show.
display_untilrequiredstring | null (date-time)- When the banner stops showing.
background_colourrequiredstring | null- The background colour as #rrggbb, or null for the platform default.
text_colourrequiredstring | null- The text colour as #rrggbb, or null for the platform default.
expandedrequiredboolean- Whether the banner opens expanded.
role_idsrequiredinteger[]- The roles the banner is for, in ascending order. Empty means every user of the organisation.
created_atrequiredstring (date-time)- When the banner was created.
updated_atrequiredstring | null (date-time)- When the banner or its roles last changed.