Get a user's achievements.
GET /api/v1/user/66a5db1f-2785-498d-9068-e24ddbba03f2/achievements HTTP/1.1
Accept: application/json
Authorization: Bearer ...
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
ETag: ...
[
{
"key": "test-01",
"granted": 1559690124
},
{
"key": "test-02",
"granted": 1559696124
}
]Authentication is required. Access is restricted to the user.
| Name | Description | Value |
|---|---|---|
| userId | the ID of the user, as a GUID with dashes | string |
NONE
NONE
Successful responses are code 200 with data in the response body. Error responses are standard.
The list of achievements the user has earned, as an Array of type UserAchievement.
| Name | Description | Value |
|---|---|---|
| key | the key of the achievement | string |
| granted | the time this achievement was earned, as a Unix timestamp | number |