/getMySensors

Method description

End point /getMySensors
Description Returns the list of all the sensors of the user
Request method POST
Bearer token Required

Request

RequestParam
RequestBody None

Response

A JSONArray representation of the user’s sensors
Example
[{
"id":44,
"label": "Living room",
"lastUpdate": 119087650,
"beeName": "Living room",
"beeID": 7,
"prototypeID": 2,
"prototypeName": "Name of the sensor"
},
{
...
}]
Fields
Field name Description Type
id Sensor identifier Long
label Sensor label String
lastUpdate Time of the last update message received from this sensor Long
prototypeID Identifier of the sensor prototype Long
prototypeName prototype name String
beeID Identifier of the BEE associated with this sensor Long
beeName Name of the BEE associated with this sensor String