URL |
|
---|---|
Method | GET |
Description | Receives information on the cabinet. |
Response | { "planks": «numberofplanks», "sections": «numberofsections», "name": «nameofcabinet», "status": [«listofhumanreadablestatusmessages»], "demo": "barcode|off", "mode": "section|tag", "sides": "frontonly|frontandback" } Status message can be:
When list of messages is empty, cabinet is “OK”. De |
Status | IMPLEMENTED |
URL |
|
---|---|
Method | PUT |
Description | Stores information on the cabinet.
When the
|
Request | { "planks": «numberofplanks», "sections": «numberofsections», "name": «nameofcabinet», "mode": "section|tag", "sides": "frontonly|frontandback" } |
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid { "message": «human readable error» } |
Status | IMPLEMENTED |
URL |
|
---|---|
Method | PUT |
Description | Sets the cabinet is lighttest mode: turning light on or off. The light test shows the tag’s address. |
Request | { "mode": "on" | "off" } |
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid { "message": «human readable error» } |
Status | IMPLEMENTED |
URL |
|
---|---|
Method | PUT |
Description | Sets the cabinet in or out of teach mode. |
Request | { "mode": "on" | "off" } |
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid { "message": «human readable error» } |
Status | NOT IN PROTOTYPE |
URL |
|
---|---|
Method | GET |
Description | Get current state of teach mode |
Responses | HTTP204 when not in teach mode HTTP200 when in teach mode, with following body: { "tag": [«list of tags found»] } |
Status | NOT IN PROTOTYPE |
0 Comments