The
/user/{userId}/stats
endpoint allows users to retrieve statistical information related to a specific user identified by their unique userId.
Method:GET Path Parameter:
Parameter | Type | Description |
---|---|---|
userId | string | The unique identifier of the user. |
See Sample Response below
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ✅ | User ID |
Responses
✅ 200 - Success (NEW) - get user stats
⚠️ 401 - Unauthorized
⚠️ 404 - Not Found
❌ 500 - Internal Server Error
Tags
User
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
User ID