GET /my/ingredient_analyses

GET /my/ingredient_analyses

Returns the ingredient analyses created by the logged in user

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 /my/ingredient_analyses
curl \
 -X GET https://api.cosmily.com/api/v1/my/ingredient_analyses \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "uuid": "string",
      "created_at": "string",
      "owner_user_id": 42,
      "ingredient_label_text": "string"
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  }
}
Response examples (200)
{
  "data": [
    {
      "uuid": "string",
      "created_at": "string",
      "owner_user_id": 42,
      "ingredient_label_text": "string"
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  }
}