Last Updated on : 2023-06-15 05:49:50
Query the information about sub-assets.
GET: /v1.0/iot-03/assets/{asset_id}/sub-assets
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The asset ID. |
req | PageReq | query | false |
Description of req
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
page_size | Integer | false | The number of entries returned on each page. | |
last_row_key | String | false | The cursor of the asset ID. |
Parameter name | Type | Description |
---|---|---|
result | CursorPage |
Description of result
Parameter name | Type | Description |
---|---|---|
has_more | Boolean | Specifies whether to return the next page. |
list | List | |
last_row_key | String | The row key of the last entry. |
Description of list
Parameter name | Type | Description |
---|---|---|
asset_id | String | The asset ID. |
asset_name | String | The asset name. |
asset_full_name | String | The full name of the specified asset. |
parent_asset_id | String | The ID of the parent asset. |
asset_image | String | The asset image. |
asset_type | String | The asset type. |
GET: /v1.0/iot-03/assets/1398477051266162688/sub-assets
{
"result": {
"last_row_key": "1398529147554340864",
"list": [
{
"asset_image": "image01",
"asset_id": "1398529147554340***",
"asset_full_name": "Level-1 Asset zichan02",
"asset_name": "zichan02",
"parent_asset_id": "1398477051266162***",
"asset_type": "floor"
}
],
"has_more": false
},
"t": 1624504525900,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback