admin

GET /api/v2/admin/events/

Changed on

Staff 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

PaginatedEventList 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/mainurl response property's maxLength was unset from 200 for the response status

    • breaking

      added subschema #1 subschema #2 to the results/items/mainurl response property oneOf list for the response status

    • breaking

      the results/items/mainurl response's property type changed from string to no type, and format from uri to no format for status