admin
GET /api/v2/admin/users/
Changed onStaff viewset for managing users.
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or API key in cookie sessionid
Query parameters
email, string
is_active, boolean
is_staff, boolean
is_superuser, boolean
is_system, 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.
username, string
Response
Paginated User List required
count, integer required
next, string uri nullable
previous, string uri nullable
results, User[] 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/emailresponse property's maxLength was unset from254for the response status - info
the response optional property
results/items/emailbecame read-only for the status - info
the response property
results/items/emailbecame required for the status
- breaking