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/110456/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/users/110456/", "username": "datacradle", "first_name": "\u30c7\u30fc\u30bf\u30af\u30ec\u30a4\u30c9\u30eb\u85e4\u539f", "last_name": "", "date_joined": "2022-01-04T19:50:14.042" }