Users (User)
Get a user by username
Changed onget/v1/users/{username}
Request
- The document declares no server URL.
- AuthHTTP bearer
Path parameters
usernamestring required
Response
User retrieved successfully
Example response
{
"user": {
"id": "5ebac534954b54139806c112",
"email": "fake@example.com",
"name": "fake name",
"role": "user"
}
}Changes
- breaking
the
pathrequest parameterusernamebecame 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
- breaking
- 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
pathrequest parameterusernamebecame optional
- warning