Introduction
The REST interface is located at http://<<ip address>>/rest
and uses JSON for data exchange. Table below describes the available resources:
Cabinet
URL |
| |||||
---|---|---|---|---|---|---|
Method | GET | |||||
Description | Receives information on the cabinet. | |||||
Response |
|
Section
URL |
| |||||
---|---|---|---|---|---|---|
Method | GET | |||||
Description | Receives information of section. | |||||
Response |
| |||||
Possible Error | HTTP404 with no body when section does not exist. |
URL |
| |||||
---|---|---|---|---|---|---|
Method | PUT | |||||
Description | Sets value on display. | |||||
Request |
| |||||
Response | HTTP204 when successful | |||||
Possible Errors | HTTP400 when request was invalid
HTTP404 with no body when section does not exist |