/getGateBees
by Marco Lettieri | Senza categoria
Method description
|
End point |
/getGateBees |
Description |
Returns the list of the BEEs linked to a specific Gate |
Request method |
POST |
Bearer token |
Required |
Request
|
RequestParam |
Field name |
Description |
Type |
id |
Gate identifier |
Long |
|
RequestBody |
None |
Response
|
A JSONArray representation of the BEEs linked to a specific Gate |
Example |
[{
"id":44,
"label": "Living room",
"serial": "890023",
"gate_serial": "B1-XX-YY-JJ-PP",
"gate_id": 2,
"lastUpdate": 119087650,
"name": "Living room",
"active": true/false,
"productID": 7,
"rssi": 79,
"status_string": {
"Power": "123W"
}
},
{
...
}]
|
Fields |
Field name |
Description |
Type |
id |
BEE identifier |
Long |
label |
BEE label |
String |
serial |
BEE serial number |
String |
gate_serial |
Serial number of the Gate to which this BEE is linked |
String |
gate_id |
Identifier of the Gate to which this BEE is linked |
Long |
lastUpdate |
Time of the last update message received from this BEE |
Long |
name |
Name of this BEE |
String |
active |
Active status of the BEE |
Boolean |
productID |
Identifier of the BEE product type (1 for WireBEE, 9 for SenseBEE) |
Long |
rssi |
Radio link signal strength indicator |
Long |
status_string |
A JSON representation of the BEE’s sensor status |
JSONObject |
|