GET /users/:id_or_username/ingredient_feelings
Returns active ingredient feelings for user
Path parameters
-
Username or ID of user
GET
/users/{id_or_username}/ingredient_feelings
curl \
-X GET https://api.cosmily.com/api/v1/users/{id_or_username}/ingredient_feelings \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"active": true,
"feeling_type": "positive",
"created_at": "string",
"updated_at": "string",
"ingredient_id": 42,
"author_user_id": 42
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
Response examples (200)
{
"data": [
{
"id": 42,
"active": true,
"feeling_type": "positive",
"created_at": "string",
"updated_at": "string",
"ingredient_id": 42,
"author_user_id": 42
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}