Domain name for API request: tcss.intl.tencentcloudapi.com.
This API is used to query the list of images.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeAssetImageList. |
| Version | Yes | String | Common Params. The value used for this API: 2020-11-01. |
| Region | No | String | Common Params. This parameter is not required. |
| Limit | No | Integer | Number of items to return. The default number is 10, and the maximum number is 100. |
| Offset | No | Integer | Offset. Default value: 0. |
| Filters.N | No | Array of AssetFilters | Filter conditions. |
| By | No | String | Sorting field. |
| Order | No | String | Sorting method. Valid values: asc and desc. |
| Parameter Name | Type | Description |
|---|---|---|
| List | Array of ImagesInfo | Image list. |
| TotalCount | Integer | Total quantity. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Query Image List
POST / HTTP/1.1
Host: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAssetImageList
<Common request parameters>
{}
{
"Response": {
"List": [
{
"ImageID": "sha256:2061084bfcc0d9ff44f479efc582e3ac9feaf96b556f6901bb39dbddfb9676b2",
"ImageName": "l10:latest",
"CreateTime": "2021-01-29T04:03:18Z",
"Size": 16159906,
"HostCnt": 12,
"SuperNodeCnt": 1,
"ContainerCnt": 0,
"ScanTime": "2021-01-29T06:10:12.021Z",
"VulCnt": 5,
"ComponentCnt": 31,
"VirusCnt": 141,
"RiskCnt": 7,
"IsTrustImage": true,
"OsName": "alpine:v3.12",
"AgentError": "No Error",
"ScanError": "No Error",
"ScanStatus": "SCANNED",
"ScanVirusError": "No Error",
"ScanVulError": "No Error",
"ScanRiskError": "No Error",
"IsSuggest": 0,
"IsAuthorized": 12
}
],
"RequestId": "9c2d0eee-b4b8-4954-98ab-be69f503f77d",
"TotalCount": 339
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | An internal error occurred. |
| InvalidParameter | The parameter is incorrect. |
| InvalidParameter.ParsingError | A parameter parsing error occurred. |
| InvalidParameter.RequestTimeout | Query timed out, the backend is still processing, and the query request must be sent again. |
| ResourceNotFound | The resource does not exist. |
피드백