English
English
简体中文
Contact Us
Register
Log In

Query Linked Device

Last Updated on : 2021-12-13 09:04:26download

Query a list of linked devices under a specified access control rule.

API address

GET: /v1.0/iot-02/access-controls/{access_control_id}/devices

Request parameter

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.

Return parameter

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.

Request example

GET: /v1.0/iot-02/access-controls/89798798*****/devices

Return example

{ "result": { "list": [ { "device_id": "vdevo16354967628****" } ], "total": 2, "has_more": true }, "t": 1637652664338, "success": true }

Error code

For more information, see error code.