GET /contests/previous_week

GET /contests/previous_week

Get previous week contests

Responses

GET /contests/previous_week
curl \
 -X GET https://api.cosmily.com/api/v1/contests/previous_week \
 -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"
    ]
  }
}