GET /analyze/:token/skin_calc

GET /analyze/{token}/skin_calc

Get skin calc results

Path parameters

  • token string(uuid) Required

    token reference to desired resource

Responses

GET /analyze/{token}/skin_calc
curl \
 -X GET https://api.cosmily.com/api/v1/analyze/{token}/skin_calc \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "ingredients": {
      "bad_aliases": [
        {
          "alias": "string",
          "supergroup": "string",
          "reason": "string"
        }
      ],
      "good_aliases": [
        {
          "alias": "string",
          "supergroup": "string",
          "reason": "string"
        }
      ]
    },
    "rules": [
      {
        "type": "string",
        "category": "string",
        "message": "string"
      }
    ]
  }
}
Response examples (200)
{
  "data": {
    "ingredients": {
      "bad_aliases": [
        {
          "alias": "string",
          "supergroup": "string",
          "reason": "string"
        }
      ],
      "good_aliases": [
        {
          "alias": "string",
          "supergroup": "string",
          "reason": "string"
        }
      ]
    },
    "rules": [
      {
        "type": "string",
        "category": "string",
        "message": "string"
      }
    ]
  }
}