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"] }
|
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 |
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 | [ { "tagid": «tagid», "value": «valuetodisplay», ["color": "red|green|orange|blue|pink|cyan|none"] }, ... ]
All tags are switched off before the range is set, this means sending |
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid { "message": «human readable error» } HTTP404 with no body when controller does not exist HTTP409 when cabinet not in correct mode Note when the cabinet |
Remarks | New in version 2.1.0. |
Add Comment