news

GET /api/news/bulletins

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

Query parameters

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

orderingstring

Which field to use when ordering the results.

placement'air' | 'infographics'

Only the bulletins that are showing there now: air for the on-air graphics, infographics for the infographics rotation.

  • air - air
  • infographics - infographics

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes

    • breaking

      added to the response body oneOf list for the response status

    • info

      added the new optional query request parameter placement

    • info

      added validation_error mapping keys to the response discriminator for the response status

    11 more changes in this revision