🍕🔥 Pizza is great! 🔥🍕

Hardware

Kitchen hardware integration operations

Gets status of kitchen hardware

get
Responses
get
curl -L \
  --url 'https://api.tomatopy.example.com/v1/hardware/status'
{
  "ovens": [
    {
      "id": "text",
      "temperature": 1,
      "humidity": 1,
      "is_ready": true,
      "maintenance_needed": true
    }
  ],
  "stoves": [
    {
      "id": "text",
      "burners": [
        {
          "id": "text",
          "temperature": 1,
          "is_active": true
        }
      ],
      "is_ready": true,
      "maintenance_needed": true
    }
  ],
  "blenders": [
    {
      "id": "text",
      "speed": 1,
      "is_ready": true,
      "maintenance_needed": true
    }
  ]
}

Monitors hardware parameters

post
Body
equipment_idsstring[]required
parametersstring · enum[]required

durationstringrequired
Responses
post
curl -L \
  --request POST \
  --url 'https://api.tomatopy.example.com/v1/hardware/monitor' \
  --header 'Content-Type: application/json' \
  --data '{
    "equipment_ids": [
      "text"
    ],
    "parameters": [
      "temperature"
    ],
    "duration": "text"
  }'
{
  "monitoring_id": "text",
  "equipment_data": {
    "ANY_ADDITIONAL_PROPERTY": {
      "ANY_ADDITIONAL_PROPERTY": [
        1
      ]
    }
  }
}

Was this helpful?