Last Updated on : 2023-06-20 15:18:43download
Paging query of sub-nodes under the current node
GET: /v1.0/iot-02/assets/{asset_id}/sub-assets
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | Asset id |
last_row_key | String | query | false | The asset id of the last record |
page_size | Integer | query | true | Page size |
Parameter name | Type | Description |
---|---|---|
result | AssetPageListResponse |
Description of result
Parameter name | Type | Description |
---|---|---|
list | List | Asset result list |
last_row_key | String | The id of the last piece of data |
page_size | Integer | Page size |
has_next | Boolean | Is there a next page |
Description of list
Parameter name | Type | Description |
---|---|---|
asset_id | String | Asset id |
parent_asset_id | String | Parent ID, the top level is -1 |
asset_name | String | Asset Name |
asset_full_name | String | Full asset name |
level | Integer | Asset level, the root node is 0 |
GET: /v1.0/iot-02/assets/xxxid/sub-assets?last_row_key=aaa&page_size=20
{
"list": [
{
"asset_id": "asset id",
"asset_full_name": "asset full name",
"asset_name": "asset name",
"parent_asset_id": "parent ID, the top level is -1"
}
],
"has_next": true,
"page_size": "Page size"
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback