🍕🔥 Pizza is great! 🔥🍕

Tomato

Tomato acquisition and manipulation operations

Acquires virtual tomatoes

post
Body
varietystring · enumrequiredAvailable options:
ripenessnumber · max: 1required
weightnumberrequired
Responses
post
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"
    }
  }
]

Slices tomatoes to specified thickness

post
Body
tomato_idsstring[]required
methodstring · enumrequiredAvailable options:
sizestring · enumrequiredAvailable options:
consistencystring · enumrequiredAvailable options:
Responses
post
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
      }
    ]
  }
]

Extracts juice with adjustable pressure

post
Body
tomato_idsstring[]required
pressurenumber · max: 1required
Responses
post
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?