GET /users/:id_or_username/ingredient_feelings

GET /users/{id_or_username}/ingredient_feelings

Returns active ingredient feelings for user

Path parameters

Query parameters

  • page integer

    requested page number

    Minimum value is 1. Default value is 1.

  • page_size integer

    requested page size

    Minimum value is 1, maximum value is 100. Default value is 12.

Responses

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 example (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"
  }
}