curl --request GET \
--url https://api.example.com/cabinet/contests \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"slug": "<string>",
"name": "<string>",
"prize_type": "<string>",
"prize_value": "<string>",
"is_available": true,
"description": "<string>",
"already_played": false
}
]Get list of available contests/games.
curl --request GET \
--url https://api.example.com/cabinet/contests \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"slug": "<string>",
"name": "<string>",
"prize_type": "<string>",
"prize_value": "<string>",
"is_available": true,
"description": "<string>",
"already_played": false
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.