Get user data
GET/v1/users
Get user data
This endpoint retrieves detailed information about a user based on their ID. It first attempts to fetch the user data from a cache; if unsuccessful, it queries the database. The endpoint returns the user's details upon success, a 404 error if the user is not found, or a 500 error for internal server issues.
Responses
- 200
- 404
- 500
User found
- application/json
- Schema
- Example (from schema)
Schema
created_at date-timerequired
email stringrequired
id uuidrequired
nickname stringrequired
status stringrequired
{
"created_at": "2024-09-25T19:42:12.588Z",
"email": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"nickname": "string",
"status": "string"
}
User not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...