Users (User)

Get a user by username

Changed on
get/v1/users/{username}

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Path parameters

usernamestring required

Response

User retrieved successfully

pointsinteger

Points associated with the user.

Example response

{
  "user": {
    "id": "5ebac534954b54139806c112",
    "email": "fake@example.com",
    "name": "fake name",
    "role": "user"
  }
}

Changes

    • breaking

      the path request parameter username became required

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      the path request parameter username became optional