news

GET /api/news/bulletins/{id}

Changed on

Messages from the channel, shown between programmes by the on-air graphics and in the infographics rotation. Anyone can read the published ones; staff see every one and edit them. Highest priority first, then newest.

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or API key in cookie sessionid

Path parameters

idinteger required

A unique integer value identifying this bulletin.

Response

idinteger required
headingstring required
textstring required
template'standard' | 'notice'
  • standard - Vanlig
  • notice - Viktig melding
pagesstring[] required

The text as the screen pages it: a blank line starts a page, and a long block is paged by itself. The heading is on every page.

pageSecondsnumber[] required

How long each page takes to read.

readingSecondsinteger required

The time it takes to read every page once.

createdTimestring date-time required
updatedTimestring date-time required
isPublishedboolean
isCurrentboolean required

Published, and inside the dates it runs between.

startsAtstring date-time nullable

Shown from this time. Empty: as soon as it is published.

endsAtstring date-time nullable

Shown until this time. Empty: until it is unpublished.

priorityinteger

Higher is shown first, and more often when there is little time.

onAirboolean

Shown by the on-air graphics between programmes.

onInfographicsboolean

Shown in the infographics rotation.

Changes

    • info

      added the optional property endsAt to the response with the status

    • info

      added the optional property onAir to the response with the status

    • info

      added the optional property onInfographics to the response with the status

    8 more changes in this revision