Last Updated on : 2023-06-15 04:49:40
Query node devices on pages.
GET: /v1.0/iot-02/assets/{asset_id}/devices
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The asset ID. |
last_row_key | String | query | false | The row key of the last piece of data on each page. |
page_size | Integer | query | true | The number of entries returned per page. |
Parameter name | Type | Description |
---|---|---|
result | DevicePageListResponse |
Description of result
Parameter name | Type | Description |
---|---|---|
list | List | The list of device response objects in the asset. |
last_row_key | String | The row key of the last piece of data on each page. |
total_size | Integer | The total number of returned entries. |
page_size | Integer | The number of entries returned per page. |
has_next | Boolean | Specifies whether to return the next page. |
Description of list
Parameter name | Type | Description |
---|---|---|
device_id | String | The device ID. |
asset_id | String | The asset ID. |
asset_name | String | The asset name. |
GET: /v1.0/iot-02/assets/1374932xxxxx62114/devices?last_row_key=&page_size=10
{
"result": {
"last_row_key": "1374932xxxxx62114",
"list": [
{
"device_id": "6c33579xxxx3d34vjan",
"asset_id": "1374932xxxxx62114",
"asset_name": "Asset xxx"
}
],
"has_next": true,
"page_size": 10
},
"t": 1616644441044,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback