Path parameters
-
Week number of contests
GET /contests/{week_number}
curl \
-X GET https://api.cosmily.com/api/v1/contests/{week_number} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"id": 42,
"started_at": "string",
"ended_at": "string",
"week_number": 42,
"winning_tickets": [
42
],
"prizes": [
"string"
]
}
}
Response examples (200)
{
"data": {
"id": 42,
"started_at": "string",
"ended_at": "string",
"week_number": 42,
"winning_tickets": [
42
],
"prizes": [
"string"
]
}
}