Tag
URL |
|
---|---|
Method | GET |
Description | Receives information of a tag.
For the standardised PTL cabinet, controller 1 is the front, controller 2 is the back. Tag IDs are numbered from 11 upwards (left-to-right, bottom-to-top). |
Response | {
"value": «lastdisplayedvalue»,
"state": «state»
} |
Possible Error | HTTP404 with no body when controller does not exist Note when the cabinet |
URL |
|
---|---|
Method | PUT |
Description | Sets value and color on a tag.
For the standardised PTL cabinet, controller 1 is the front, controller 2 is the back. Tag IDs are numbered from 11 upwards (left-to-right, bottom-to-top). |
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 controller does not exist Note when the cabinet |
Remarks | v2.2:
|
URL |
|
---|---|
Method | PUT |
Description | Sets value and color on a range of tags.
For the standardised PTL cabinet, controller 1 is the front, controller 2 is the back. Tag IDs are numbered from 11 upwards (left-to-right, bottom-to-top). |
Request |
|
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid HTTP404 with no body when controller does not exist HTTP409 when cabinet not in correct mode Note when the cabinet |
Remarks | v2.2:
v2.1.2:
v2.1.1:
v2.1:
|