User
The User endpoint provides endpoints for retrieving information about users.
Get User Data
Retrieves profile information for a specific user.
GET /v1/user/{user_id}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
user_id |
UUID | Path | The unique identifier for the user. |
Responses
200 OK
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"age": 30,
"sex": "MALE",
"height": 175,
"weight": 75,
"watch_hand": "LEFT",
"dominant_hand": "RIGHT",
"platform": "ANDROID"
}
404 Not Found
{
"type": "about:blank",
"title": "Not Found",
"status": 404,
"detail": "User with ID not found in database",
"instance": "/v1/user/123e4567-e89b-12d3-a456-426614174000",
"code": "not_found",
"request_id": "3a7b2c1d-..."
}
Example Request