GET /ingredient_opinions/:opinion_uuid/history

GET /ingredient_opinions/{opinion_uuid}/history

Returns the entire history of the specified ingredient opinion

Path parameters

Responses

GET /ingredient_opinions/{opinion_uuid}/history
curl \
 -X GET https://api.cosmily.com/api/v1/ingredient_opinions/{opinion_uuid}/history \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "uuid": "string",
    "created_at": "string",
    "ingredient_feeling": {
      "id": 42,
      "active": true,
      "feeling_type": "positive",
      "created_at": "string",
      "updated_at": "string",
      "ingredient_id": 42,
      "author_user_id": 42
    },
    "entries": [
      {
        "uuid": "string",
        "opinion_uuid": "string",
        "revision": 42,
        "publication": "published",
        "created_at": "string",
        "content": {
          "text": "working towards #sustainability with @alex",
          "entities": {
            "hashtags": [
              {
                "text": "sustainability",
                "indices": [
                  16,
                  31
                ]
              }
            ],
            "user_mentions": [
              {
                "username": "alex",
                "indices": [
                  37,
                  42
                ],
                "id": 42,
                "name": "string"
              }
            ]
          }
        }
      }
    ]
  }
}