URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | GET | ||||||
Description | Receives information on the cabinet. | ||||||
Response |
Status message can be:
When list of messages is empty, cabinet is “OK”. De | ||||||
Status |
|
URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | PUT | ||||||
Description | Stores information on the cabinet.
When the
| ||||||
Request |
| ||||||
Response | HTTP204 when successful | ||||||
Possible Errors | HTTP400 when request was invalid
| ||||||
Status |
|
URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | PUT | ||||||
Description | Sets the cabinet is lighttest mode: turning light on or off. The light test shows the tag’s address. | ||||||
Request |
| ||||||
Response | HTTP204 when successful | ||||||
Possible Errors | HTTP400 when request was invalid
| ||||||
Status |
|
URL
http://<<ip address>>/rest/cabinet/teach
Method
PUT
Description
Sets the cabinet in or out of teach mode.
Request
Code Block | ||
---|---|---|
| ||
{
"mode": "on" | "off"
} |
Response
HTTP204 when successful
Possible Errors
HTTP400 when request was invalid
Code Block | ||
---|---|---|
| ||
{
"message": «human readable error»
} |
Status
Status | ||||
---|---|---|---|---|
|
URL
http://<<ip address>>/rest/cabinet/teach
Method
GET
Description
Get current state of teach mode
Responses
HTTP204 when not in teach mode
HTTP200 when in teach mode, with following body:
Code Block | ||
---|---|---|
| ||
{
"tag": [«list of tags found»]
} |
Status
Status | ||||
---|---|---|---|---|
|