Path parameters
-
token reference to desired resource
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"
}
]
}
}