Kitchen hardware integration operations
GET /v1/hardware/status HTTP/1.1
Host: api.tomatopy.example.com
Accept: */*
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
}
]
}
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"
}
Monitoring data
{
"monitoring_id": "text",
"equipment_data": {
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": [
1
]
}
}
}