GET /my/contests/current_week
Returns the routines contest ranking for current week
GET /my/contests/current_week
curl \
-X GET https://api.cosmily.com/api/v1/my/contests/current_week \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 1,
"user_id": 1,
"routine_type": "AM",
"routine_step_ids": [
1,
2
],
"routine_step_order": [
1,
2
],
"title": "Daily Routine",
"status": "published",
"contest_position": 1,
"created_at": "2021-10-04T13:24:22.000Z",
"updated_at": "2021-11-13T20:23:18.000Z"
}
]
}
Response examples (200)
{
"data": [
{
"id": 1,
"title": "Daily Routine",
"status": "published",
"user_id": 1,
"created_at": "2021-10-04T13:24:22.000Z",
"updated_at": "2021-11-13T20:23:18.000Z",
"routine_type": "AM",
"contest_position": 1,
"routine_step_ids": [
1,
2
],
"routine_step_order": [
1,
2
]
}
]
}