admin
GET /api/v2/admin/events/
Changed onStaff viewset for managing events.
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or API key in cookie sessionid
Query parameters
archived, boolean
hidden, boolean
limit, integer
Number of results to return per page.
offset, integer
The initial index from which to return the results.
ordering, string
Which field to use when ordering the results.
search, string
A search term.
Response
Paginated Event List required
count, integer required
next, string uri nullable
previous, string uri nullable
results, Event[] required
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
the
results/items/mainurlresponse property's maxLength was unset from200for the response status - breaking
added
subschema #1subschema #2to theresults/items/mainurlresponse propertyoneOflist for the response status - breaking
the
results/items/mainurlresponse's property type changed fromstringto no type, and format fromurito no format for status
- breaking