Section
The plank/section
calls are deprecated and will be removed starting version 3, they should not be used for new applications.
Plank and section numbering is 1-based. So if 4 planks are available, they are numbered 1 to 4.
URL |
|
---|---|
Method | GET |
Description | Receives information of section.
|
Response | {
"value": «lastdisplayedvalue»,
"state": «state»
} |
Possible Error | HTTP404 with no body when section does not exist. Note when the cabinet |
URL |
|
---|---|
Method | PUT |
Description | Sets value on display.
|
Request | {
"value": «valuetodisplay»,
["color": "red|green|orange|blue|pink|cyan|none"],
["blinking": "on|off|blink2sec|blink1sec|blink05sec|blink025sec"]
}
|
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid {
"message": «human readable error»
} HTTP404 with no body when section does not exist Note when the cabinet |
Remarks | v2.3.0:
|