GET /:token/suggested_category
Returns suggested category and confidence
Path parameters
-
token reference to desired resource
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
}
}