by Marco Lettieri | Statistic method detail
Method description End point /getMyDataChannels Description Returns the list of the user's Data channels Request method POST Bearer token Required Request RequestParam None RequestBody None Response A JSONArray representation of the user's Data channels Example [{ "sensor_id": 2, "sensor_prototype_id": 32, "sensor_prototype_name": "name", "bee_name": "name of the bee", "bee_prototype_id": 2, "sensor_name": "lamps power meter", "symbol": "W", [...]
by Marco Lettieri | Actuator Method detail
Method description End point/getBeeActuators DescriptionReturns the list of all the actuators of a BEE Request methodPOST Bearer tokenRequired Request RequestParam Field nameDescriptionType idBEE identifierLong RequestBodyNone Response A JSONArray representation of the actuators associated with a BEE Example [{ "id":44, "label": "Power switch", "prototypeID": 2, "prototypeName": "Prototype name", "gate_serial": "serial-number-of-the-gatebee", "bee_serial": "serial-number-of-the-bee", "value": 1, "deviceID": 2, [...]
by Marco Lettieri | Actuator Method detail
Method description End point /getActuatorDetails Description Returns detailed informations about a specific Actuator Request method POST Bearer token Required Request RequestParam Field name Description Type id Actuator identifier Long RequestBody None Response A JSON representation of the selected Actuator Example { "id":21, "label": "Lamp switch", "prototypeID": 25, "prototypeName": "Power switch", "value": 0, "deviceID", 69, "connection_status": [...]
by Marco Lettieri | Actuator Method detail
Method description End point/getMyActuators DescriptionReturns the list of all the actuators of the user Request methodPOST Bearer tokenRequired Request RequestParamNone RequestBodyNone Response A JSONArray representation of the user's actuators Example [{ "id":44, "label": "Power switch", "prototypeID": 2, "prototypeName": "Prototype name", "gate_serial": "serial-number-of-the-gatebee", "bee_serial": "serial-number-of-the-bee", "value": 1, "deviceID": 2, "beeID": 7, "connection_status": true/false }, { ... [...]