TomatoPy API Docs
Develop with the TomatoPy API
Tomato
Tomato acquisition and manipulation operations
Acquires virtual tomatoes
post
varietystring · enumrequiredAvailable options:
ripenessnumber · max: 1required
POST /v1/tomato/acquire HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"variety": "San Marzano",
"ripeness": 1,
"weight": 1
}
Slices tomatoes to specified thickness
post
tomato_idsstring[]required
methodstring · enumrequiredAvailable options:
sizestring · enumrequiredAvailable options:
consistencystring · enumrequiredAvailable options:
POST /v1/tomato/slice HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"tomato_ids": [
"text"
],
"method": "dice",
"size": "fine",
"consistency": "uniform"
}
Extracts juice with adjustable pressure
post
tomato_idsstring[]required
pressurenumber · max: 1required
POST /v1/tomato/squeeze HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"tomato_ids": [
"text"
],
"pressure": 1
}
Cook
Cooking process operations
Simulates simmering process
post
ingredientsobject[]required
temperaturenumberrequired
stirring_frequencystringoptional
POST /v1/cook/simmer HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 184
{
"ingredients": [
{
"id": "text",
"name": "text",
"amount": 1,
"unit": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"temperature": 1,
"duration": "text",
"stirring_frequency": "text"
}
Virtually roasts ingredients
post
ingredientsobject[]required
temperaturenumberrequired
turning_frequencystringoptional
POST /v1/cook/roast HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 183
{
"ingredients": [
{
"id": "text",
"name": "text",
"amount": 1,
"unit": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"temperature": 1,
"duration": "text",
"turning_frequency": "text"
}
Pizza
Pizza creation and baking operations
Creates virtual pizza foundations
post
thicknessstring · enumrequiredAvailable options:
sizestring · enumrequiredAvailable options:
stylestring · enumrequiredAvailable options:
hydrationnumber · max: 1optional
fermentation_timestringoptional
salt_contentnumber · max: 1optional
POST /v1/pizza/base HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"thickness": "thin",
"size": "8inch",
"style": "neapolitan",
"hydration": 1,
"fermentation_time": "text",
"flour_type": "text",
"salt_content": 1
}
Simulates baking a pizza
post
temperaturenumberrequired
rotation_frequencystringoptional
steam_injectionbooleanoptional
crust_developmentstring · enumoptionalAvailable options:
POST /v1/pizza/bake HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 130
{
"pizza_id": "text",
"temperature": 1,
"duration": "text",
"rotation_frequency": "text",
"steam_injection": true,
"crust_development": "low"
}
Taste
Taste testing and analysis operations
Analyzes the flavor profile of a dish
post
depthstring · enumoptionalAvailable options:
include_aromabooleanoptional
include_texturebooleanoptional
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
}
Compares flavor profiles of multiple dishes
post
metricsstring · enum[]required
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"
]
}
Hardware
Kitchen hardware integration operations
Gets status of kitchen hardware
get
GET /v1/hardware/status HTTP/1.1
Host: api.tomatopy.example.com
Accept: */*
Monitors hardware parameters
post
equipment_idsstring[]required
parametersstring · enum[]required
POST /v1/hardware/monitor HTTP/1.1
Host: api.tomatopy.example.com
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"equipment_ids": [
"text"
],
"parameters": [
"temperature"
],
"duration": "text"
}