GET /my/current_routine_ids

GET /my/current_routine_ids

Returns the current AM & PM routine ids for the logged in user

Responses

  • 403

    Authorization forbidden

  • 400

    Bad Request

  • 401

    Authorization information is missing or invalid.

  • 200

    successful operation

    Hide response attributes Show response attributes object
    • am_routine_id integer
    • pm_routine_id integer
  • 500

    Server Error

GET /my/current_routine_ids
curl \
 -X GET https://api.cosmily.com/api/v1/my/current_routine_ids \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "am_routine_id": 42,
  "pm_routine_id": 42
}
Response examples (200)
{
  "am_routine_id": 42,
  "pm_routine_id": 42
}