grants

Airtime grants: a window of airtime given to one organization, and the list of what plays in it.

Members see their organizations' grants and replace a grant's list while it is open (or until air, if it is exempt from locking). Staff see every grant, create grants, and cancel or exempt them.

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.

organizationnumber
starts_afterstring date-time
starts_beforestring date-time
state'cancelled' | 'compiled' | 'locked' | 'open'
  • open - Open
  • locked - Locked
  • compiled - Compiled
  • cancelled - Cancelled

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

    • info

      added the required property results/items/items/items/duration to the response with the status

    • info

      added the required property results/items/items/items/graphic to the response with the status

    • info

      added the required property results/items/airedItems to the response with the status