GET /products/favorite_lookup
Returns existing relationships from an array of user ids
GET
/routines/favorite_lookup
curl \
-X GET https://api.cosmily.com/api/v1/routines/favorite_lookup?user_id=42&routine_id=42 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"routine_id": 42,
"user_id": "string"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
Response examples (200)
{
"data": [
{
"id": 42,
"routine_id": 42,
"user_id": "string"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}