GET /:token/suggested_category

GET /ingredient_matchers/{token}/suggested_category

Returns suggested category and confidence

Path parameters

  • token string(uuid) Required

    token reference to desired resource

Responses

GET /ingredient_matchers/{token}/suggested_category
curl \
 -X GET https://api.cosmily.com/api/v1/ingredient_matchers/{token}/suggested_category \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "category": "string",
    "time_of_day": "string",
    "is_confident": true
  }
}
Response examples (200)
{
  "data": {
    "category": "string",
    "time_of_day": "string",
    "is_confident": true
  }
}