Response:
STATUS 503
{ "status": "busy" }
STATUS 404
{ "status": "glass not found" }
STATUS 200
{ "status": "ready" }
Request: /{cid}-{amount}
cid
: Component id (Pump: P1, P2, P3, P4, P5, P6 - Valve: V1, V2, V3, V4)amount
: amount number (in ml)
E.g. pouring Valve-1 1000ml, Pump-1 500ml and Pump-2 200ml
/make_drink/v1-1000/p1-500/p2-200
Response:
ready_in
: total pouring time
{ "ready_in": 1500 }