Last Updated on : 2023-06-21 07:13:00download
Query a list of linked devices under a specified access control rule.
GET: /v1.0/iot-02/access-controls/{access_control_id}/devices
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
access_control_id | String | uri | true | The ID of a specified access control rule. |
device_id | String | query | true | The ID of a specified linked device. |
page_size | Integer | query | true | The number of items returned on each page. Default value: 20 . |
page_no | Integer | query | true | The page number. |
Parameter name | Type | Description |
---|---|---|
result | HighwayPageResult | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
total | Long | The total number of results. |
list | List |
The number of items returned on each page. |
has_more | Boolean | Specifies whether to return the next page. |
Description of list
Parameter name | Type | Description |
---|---|---|
device_id | String | The device ID. |
GET: /v1.0/iot-02/access-controls/89798798*****/devices
{
"result": {
"list": [
{
"device_id": "vdevo16354967628****"
}
],
"total": 2,
"has_more": true
},
"t": 1637652664338,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback