GET /my/ingredient_feedback

GET /my/ingredient_feedback

Returns the ingredient feedback submitted 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_feedback
curl \
 -X GET https://api.cosmily.com/api/v1/my/ingredient_feedback \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "updated_at": "string",
      "ingredient_id": 42,
      "user_id": 42,
      "integer_properties": {
        "comedogenic_rating": 42,
        "natural": 42
      },
      "boolean_properties": {
        "ceramide": true,
        "vitamin": true,
        "pha": true,
        "bha": true,
        "aha": true,
        "hyaluronic_acid": true,
        "retinoid": true,
        "niacinamide": true,
        "antioxidant": true,
        "moisturising": true,
        "softening": true,
        "soothing": true,
        "acne_fighting": true,
        "anti_aging": true,
        "healing": true,
        "antiseptic": true,
        "whitening": true,
        "uv_protecting": true,
        "allergen": true,
        "alcohol": true,
        "gluten": true,
        "silicone": true,
        "sulfate": true,
        "paraben": true,
        "peg": true,
        "fungal_acne_feeding": true,
        "fragrance": true,
        "good_for_dry_skin": true,
        "bad_for_dry_skin": true,
        "good_for_oily_skin": true,
        "bad_for_oily_skin": true,
        "good_for_sensitive_skin": true,
        "bad_for_sensitive_skin": true
      }
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  }
}
Response examples (200)
{
  "data": [
    {
      "updated_at": "string",
      "ingredient_id": 42,
      "user_id": 42,
      "integer_properties": {
        "comedogenic_rating": 42,
        "natural": 42
      },
      "boolean_properties": {
        "ceramide": true,
        "vitamin": true,
        "pha": true,
        "bha": true,
        "aha": true,
        "hyaluronic_acid": true,
        "retinoid": true,
        "niacinamide": true,
        "antioxidant": true,
        "moisturising": true,
        "softening": true,
        "soothing": true,
        "acne_fighting": true,
        "anti_aging": true,
        "healing": true,
        "antiseptic": true,
        "whitening": true,
        "uv_protecting": true,
        "allergen": true,
        "alcohol": true,
        "gluten": true,
        "silicone": true,
        "sulfate": true,
        "paraben": true,
        "peg": true,
        "fungal_acne_feeding": true,
        "fragrance": true,
        "good_for_dry_skin": true,
        "bad_for_dry_skin": true,
        "good_for_oily_skin": true,
        "bad_for_oily_skin": true,
        "good_for_sensitive_skin": true,
        "bad_for_sensitive_skin": true
      }
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  }
}