Domain name for API request: tcss.tencentcloudapi.com.
This API is used to query the list of image repositories.
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: DescribeAssetImageRegistryList. |
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 results to be returned. Default value: 10 . Maximum value: 100 . |
Offset | No | Integer | Offset. Default value: 0 . |
Filters.N | No | Array of AssetFilters | Filter fieldIsAuthorized (whether licensed). Valid values: all (all); 0 (unlicensed); 1 (licensed). |
By | No | String | Sorting field |
Order | No | String | Sorting order. Valid values: asc , desc . |
OnlyShowLatest | No | Boolean | Whether to show only the latest repository images. Default value: false . |
Parameter Name | Type | Description |
---|---|---|
List | Array of ImageRepoInfo | List of image repositories Note: This field may return null, indicating that no valid values can be obtained. |
TotalCount | Integer | Total number Note: This field may return null, indicating that no valid values can be obtained. |
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. |
POST / HTTP/1.1
Host: tcss.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAssetImageRegistryList
<Common request parameters>
{
"Filters": [
{
"ExactMatch": false,
"Name": "ScanStatus",
"Values": [
"all"
]
},
{
"ExactMatch": false,
"Name": "RepoType",
"Values": [
"all"
]
},
{
"ExactMatch": false,
"Name": "SecurityRisk",
"Values": [
"all"
]
},
{
"ExactMatch": false,
"Name": "IsAuthorized",
"Values": [
"all"
]
}
],
"Limit": 10,
"Offset": 0
}
{
"Response": {
"RequestId": "a17ead82-00d3-4bf2-8ec2-55292c42d6e3",
"TotalCount": 100,
"List": [
{
"Id": 20933905,
"ImageDigest": "sha256:8d8d7593f6da4e909bba63a3a22080eca935c57afd81ad0b8f069b90064324ba",
"ImageId": "sha256:a810b384f08c95a472d7364b9b3198d4746f1ea001a26c5cb9d7e95272004afc",
"RegistryType": "ccr",
"RegistryRegion": "default",
"ImageRepoAddress": "ccr.ccs.tencentyun.com/xcar/executor",
"InstanceId": "",
"InstanceName": "ccr-default",
"Namespace": "xcar",
"ImageName": "executor",
"ImageTag": "latest",
"ImageSize": 22952972,
"ScanTime": "",
"ScanStatus": "NOT_SCAN",
"Progress": 0,
"VulCnt": 0,
"VirusCnt": 0,
"RiskCnt": 0,
"SentiveInfoCnt": 0,
"IsTrustImage": false,
"OsName": "linux",
"ScanVirusError": "",
"ScanVulError": "",
"ScanRiskError": "",
"ScanVirusProgress": 0,
"ScanVulProgress": 0,
"ScanRiskProgress": 0,
"ScanRemainTime": 0,
"CveStatus": "NOT_SCAN",
"RiskStatus": "NOT_SCAN",
"VirusStatus": "NOT_SCAN",
"IsAuthorized": 0
},
{
"Id": 20933905,
"ImageDigest": "sha256:8d8d7593f6da4e909bba63a3a22080eca935c57afd81ad0b8f069b90064324ba",
"ImageId": "sha256:a810b384f08c95a472d7364b9b3198d4746f1ea001a26c5cb9d7e95272004afc",
"RegistryType": "ccr",
"RegistryRegion": "default",
"ImageRepoAddress": "ccr.ccs.tencentyun.com/xcar/executor",
"InstanceId": "",
"InstanceName": "ccr-default",
"Namespace": "xcar",
"ImageName": "executor",
"ImageTag": "latest",
"ImageSize": 22952972,
"ScanTime": "",
"ScanStatus": "NOT_SCAN",
"Progress": 0,
"VulCnt": 0,
"VirusCnt": 0,
"RiskCnt": 0,
"SentiveInfoCnt": 0,
"IsTrustImage": false,
"OsName": "linux",
"ScanVirusError": "",
"ScanVulError": "",
"ScanRiskError": "",
"ScanVirusProgress": 0,
"ScanVulProgress": 0,
"ScanRiskProgress": 0,
"ScanRemainTime": 0,
"CveStatus": "NOT_SCAN",
"RiskStatus": "NOT_SCAN",
"VirusStatus": "NOT_SCAN",
"IsAuthorized": 0
}
]
}
}
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 |
---|---|
FailedOperation | The operation failed. |
InvalidParameter | The parameter is incorrect. |
ResourceNotFound | The resource does not exist. |
Was this page helpful?