grants
GET /api/grants
Changed onAirtime 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
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/durationto the response with the status - info
added the required property
results/items/items/items/graphicto the response with the status
- info
- info
added the required property
results/items/airedItemsto the response with the status
- info