Controller - GET Controller List
Get
{{url_iot_backend}}/ext/devices/:deviceId/actuator
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
Parameter
Field | Type | Description |
---|---|---|
deviceID | Integer |
The device ID of selected controller |
{
"message": "success",
"code": 200,
"data": {
"device_actuators": [
{
"id": 144,
"actuator_name": "test 1 ",
"action_key": "test66",
"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": "Not Allowed",
"error": {
"message": "Not Allowed",
"field": "user"
},
"code": 403
}