Tomato acquisition and manipulation operations
San Marzano
Roma
Cherry
Heirloom
Beefsteak
curl -L \ --request POST \ --url 'https://api.tomatopy.example.com/v1/tomato/acquire' \ --header 'Content-Type: application/json' \ --data '{ "variety": "San Marzano", "ripeness": 1, "weight": 1 }'
[ { "id": "text", "variety": "text", "ripeness": 1, "weight": 1, "properties": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ]
dice
slice
chop
mince
julienne
fine
small
medium
large
chunk
uniform
rough
coarse
curl -L \ --request POST \ --url 'https://api.tomatopy.example.com/v1/tomato/slice' \ --header 'Content-Type: application/json' \ --data '{ "tomato_ids": [ "text" ], "method": "dice", "size": "fine", "consistency": "uniform" }'
[ { "id": "text", "method": "text", "size": "text", "consistency": "text", "pieces": [ { "id": "text", "size": 1, "weight": 1 } ] } ]
curl -L \ --request POST \ --url 'https://api.tomatopy.example.com/v1/tomato/squeeze' \ --header 'Content-Type: application/json' \ --data '{ "tomato_ids": [ "text" ], "pressure": 1 }'
{ "id": "text", "volume": 1, "concentration": 1, "properties": { "ANY_ADDITIONAL_PROPERTY": "anything" } }
Was this helpful?