/getMyGates
by Marco Lettieri | Gate Method detail
Method description
|
End point |
/getMyGates |
Description |
Get the list of all theĀ GateBEEs of the user identified by the Bearer Token |
Request method |
POST |
Bearer token |
Required |
Request
|
RequestParam |
None |
RequestBody |
None |
Response
|
A JSONArray representation of the user’s Gates |
Example |
[{
"id":345,
"serial":"B1-XX-YY-JJ-PP",
"label":"Home gate",
"connected": true
},
{
"id":7,
"serial":"AA-XX-YY-JJ-GG",
"label":"Office gate",
"connected": true
}]
|
Fields |
Field name |
Description |
Type |
id |
Gate identifier |
Long |
serial |
Gate serial number |
String |
label |
Gate label |
String |
connected |
Get the Hive connection status of the Gate |
Boolean |
|