GET
/my/favorite_routines
curl \
-X GET https://api.cosmily.com/api/v1/my/favorite_routines \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"user_id": 42,
"title": "string",
"routine_type": "string",
"status": "string",
"created_at": "string",
"updated_at": "string",
"routine_step_ids": [
42
],
"routine_step_order": [
42
],
"favorite_count": 42
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
Response examples (200)
{
"data": [
{
"id": 42,
"user_id": 42,
"title": "string",
"routine_type": "string",
"status": "string",
"created_at": "string",
"updated_at": "string",
"routine_step_ids": [
42
],
"routine_step_order": [
42
],
"favorite_count": 42
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}