Queries selected assets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListAssetSelectionTarget |
list |
*AssetSelectionTargetAttachment
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CurrentPage |
integer |
Yes |
The page number to return. Pages start from page 1. Default value: 1. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. |
20 |
| SelectionKey |
string |
Yes |
The globally unique identifier (GUID) of the asset. |
8ccf9b01-2c64-4cba-8122-10115f29**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
50A75355-F58F-5D65-8377-98C88DED9C51 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of entries. |
639 |
| Data |
array<object> |
The list of selected assets. |
|
|
object |
|||
| TargetId |
string |
The ID of the asset. |
30**** |
| TargetName |
string |
The name of the asset. |
test**** |
Examples
Success response
JSON format
{
"RequestId": "50A75355-F58F-5D65-8377-98C88DED9C51",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 639
},
"Data": [
{
"TargetId": "30****",
"TargetName": "test****"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.