Checks if the user is logged in and lists the basic user information. Returns 200 and the user data, 404 if the
user does not exist, or 401 if not logged in.
Checks if the user is logged in and lists the basic user information. Returns 200 and the user data, 404 if the user does not exist, or 401 if not logged in.
Path Parameters
- id string required
Possible values: Value must match regular expression
\d+
Responses
- 200
- 401
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- id integer
- name string
- avatar string
- sleepStatus integer
{
"id": 0,
"name": "string",
"avatar": "string",
"sleepStatus": 0
}
Not logged in
User with that id not found
Loading...