Controller - GET Controller Detail
Return the controller of the selected device
Gethttps://api.iotstadium.com/ext/devices/:deviceId/actuator/:id
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
Parameter
Field | Type | Description |
---|---|---|
deviceID | Integer | |
id | Integer |
The selected controller ID |
https://api.iotstadium.com/ext/devices/599/actuator/144
{
"message": "success",
"code": 200,
"data": {
"device_actuators": {
"id": 144,
"actuator_name": "relay 1",
"action_key": "r66",
"access_type": null,
"last_update": "",
"device_actuator_action": [
{
"device_actuator_id": 144,
"id": 741,
"action_value": "true"
},
{
"device_actuator_id": 144,
"id": 742,
"action_value": "false"
}
]
}
}
}
{
"message": "data not found",
"errors": [
{
"message": "data not found",
"field": "device_actuator"
}
],
"code": 404
}
{
"message": "Not Allowed",
"error": {
"message": "Not Allowed",
"field": "user"
},
"code": 403
}