Cabinet
URL |
|
---|---|
Method | GET |
Description | Receives information on the cabinet. |
Response | { "planks": «numberofplanks», "sections": «numberofsections» } |
Section
URL |
|
---|---|
Method | GET |
Description | Receives information of section. |
Response | { "value": «lastdisplayedvalue», "state": «state» } |
Possible Error | HTTP404 with no body when section does not exist. |
URL |
|
---|---|
Method | PUT |
Description | Sets value on display. |
Request | { "value": «valuetodisplay» } |
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid { "message": «human readable error» } HTTP404 with no body when section does not exist |
0 Comments