User Instance

API endpoint that allows users to be viewed.

Filter fields

You can filter the result set by providing the following query parameters:

  • username -- Filter by username. Supports the standard lookup types
  • first_name -- Filter by first name, exact match.
  • last_name -- Filter by last name, exact match.
  • date_joined -- Filter by date joined. Supports the standard lookup types.

Ordering

You can order the result set by providing the ordering query parameter with the value of one of:

  • username
  • date_joined

You can reverse ordering by using the - sign, e.g. -username.

GET /api/v4/users/110538/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/users/110538/", "username": "localwiki20220112", "first_name": "localwiki20220112", "last_name": "", "date_joined": "2022-01-11T10:17:48.598" }