Taste
Taste testing and analysis operations
Last updated
Was this helpful?
Taste testing and analysis operations
Last updated
Was this helpful?
Was this helpful?
POST /v1/taste/analyze HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"dish_id": "text",
"depth": "basic",
"include_aroma": true,
"include_texture": true
}{
"id": "text",
"sweetness": 1,
"acidity": 1,
"umami": 1,
"aroma": {
"intensity": 1,
"complexity": 1,
"primary_notes": [
{
"name": "text",
"intensity": 1
}
],
"secondary_notes": [
{
"name": "text",
"intensity": 1
}
],
"tertiary_notes": [
{
"name": "text",
"intensity": 1
}
]
},
"texture": {
"firmness": 1,
"juiciness": 1,
"mouthfeel": 1,
"structural_integrity": 1
}
}POST /v1/taste/compare HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"dish_ids": [
"text"
],
"metrics": [
"sweetness"
]
}{
"comparison_id": "text",
"rankings": {
"ANY_ADDITIONAL_PROPERTY": [
{
"dish_id": "text",
"score": 1
}
]
}
}