Domain name for API request: tcss.intl.tencentcloudapi.com.
This API is used to query the image repository details.
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: DescribeAssetImageRegistryDetail. |
| Version | Yes | String | Common Params. The value used for this API: 2020-11-01. |
| Region | No | String | Common Params. This parameter is not required. |
| Id | No | Integer | List of repository IDs |
| ImageId | No | String | Image ID |
| Parameter Name | Type | Description |
|---|---|---|
| ImageDigest | String | Image Digest |
| ImageRepoAddress | String | Image address. |
| RegistryType | String | Image type |
| ImageName | String | Repository name |
| ImageTag | String | Mirror version |
| ScanTime | String | Scan time |
| ScanStatus | String | scan status |
| VulCnt | Integer | Number of security vulnerabilities |
| VirusCnt | Integer | Number of Trojan viruses |
| RiskCnt | Integer | Number of risky behaviors |
| OsName | String | Image system. |
| ScanVirusError | String | Trojan scan error |
| ScanVulError | String | Vulnerability scanning error |
| LayerInfo | String | Layer file information |
| InstanceId | String | Instance ID. |
| InstanceName | String | Instance name. |
| Namespace | String | Namespace |
| ScanRiskError | String | High risk scan error |
| ScanVirusProgress | Integer | Trojan information scan progress |
| ScanVulProgress | Integer | Vulnerability scan progress. |
| ScanRiskProgress | Integer | Sensitive scanning progress |
| ScanRemainTime | Integer | Remaining scan time (seconds) |
| CveStatus | String | cve scan status |
| RiskStatus | String | High risk scan status |
| VirusStatus | String | Trojan scan status |
| Progress | Integer | Overall progress |
| IsAuthorized | Integer | Authorization status |
| ImageSize | Integer | Image size |
| ImageId | String | Image ID. |
| RegistryRegion | String | Image Zone |
| ImageCreateTime | Timestamp ISO8601 | Image Creation Time |
| SensitiveInfoCnt | Integer | Number of sensitive data items |
| Id | Integer | |
| Solution | String | Solution |
| Reason | String | Reason |
| 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.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAssetImageRegistryDetail
<Common request parameters>
{
"Id": "5427"
}
{
"Response": {
"RequestId": "acc92f01-ee14-4eec-a1b6-e78d3ea0b7e9",
"ImageDigest": "sha256:615475135bb705517e749767a28f6bd57199008d3e9b688efa0f73a8befccc97",
"ImageId": "sha256:e68ba1280908f76a9e22a813b9ea0c7358e9bcf0ed616fddf88dad557e33d1ca",
"RegistryType": "ccr",
"ImageRepoAddress": "ccr.ccs.tencentyun.com/yunding/person1",
"InstanceId": "ins-apqv42***",
"InstanceName": "ccr-default",
"Namespace": "yunding",
"ImageName": "person1",
"ImageTag": "v1",
"ImageSize": 74866818,
"ScanTime": "2022-01-14T21:03:19+08:00",
"ScanStatus": "SCANNED",
"Progress": 100,
"VulCnt": 172,
"VirusCnt": 0,
"RiskCnt": 1,
"SentiveInfoCnt": 1,
"OsName": "linux",
"ScanVirusError": "MessageRegistryScan",
"ScanVulError": "MessageRegistryScan",
"ScanRiskError": "MessageRegistryScan",
"ScanVirusProgress": 0,
"ScanVulProgress": 100,
"ScanRiskProgress": 100,
"ScanRemainTime": 0,
"CveStatus": "SCANNED",
"RiskStatus": "SCANNED",
"VirusStatus": "NOT_SCAN",
"IsAuthorized": 1,
"LayerInfo": "#2020-06-17 00:22:24.918233762 +0000 UTC\n\n/bin/sh -c #(nop) ADD file:84700c11fcc969ac08ef25f115513d76c7b72a4118c01fbc86ef0a6056fdebeb in / \n\n#2020-06-17 00:22:25.276021438 +0000 UTC\n\n/bin/sh -c #(nop) LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20200611\n\n#2020-06-17 00:22:25.47282687 +0000 UTC\n\n/bin/sh -c #(nop) CMD [\"/bin/bash\"]\n\n#2020-12-18 10:06:01.1576746 +0000 UTC\n\n/bin/sh -c echo \"RSYNC_PASSWORD='passwd' rsync\"\n\n",
"RegistryRegion": "default",
"ImageCreateTime": "2020-12-25T16:40:39+08:00"
}
}
POST / HTTP/1.1
Host: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAssetImageRegistryDetail
<Common request parameters>
{
"Id": 3421599
}
{
"Response": {
"RequestId": "8a64a4f9-864c-49c6-adcb-21b483de477a",
"ImageDigest": "sha256:8d8faaa36c253a8745c392fc71640757d29a5f026fc0e44bb9c98d56544f5175",
"ImageId": "sha256:bb804a9c85d7199b8fd6a0c1a34ef1d049689604046fc5ce1ee6b968de78281b",
"RegistryType": "ccr",
"ImageRepoAddress": "hkccr.ccs.tencentyun.com/mhzou/mhccrxg",
"InstanceId": "ins-apqv42***",
"InstanceName": "ccr-ap-hongkong",
"Namespace": "mhzou",
"ImageName": "mhccrxg",
"ImageTag": "mhccrxg1",
"ImageSize": 8544764,
"ScanTime": "2022-01-19T22:58:23+08:00",
"ScanStatus": "SCANNED",
"Progress": 100,
"VulCnt": 2425,
"VirusCnt": 0,
"RiskCnt": 0,
"SentiveInfoCnt": 0,
"OsName": "linux",
"ScanVirusError": "MessageRegistryScan",
"ScanVulError": "MessageRegistryScan",
"ScanRiskError": "MessageRegistryScan",
"ScanVirusProgress": 0,
"ScanVulProgress": 100,
"ScanRiskProgress": 100,
"ScanRemainTime": 0,
"CveStatus": "SCANNED",
"RiskStatus": "SCANNED",
"VirusStatus": "NOT_SCAN",
"IsAuthorized": 1,
"LayerInfo": "#2020-06-17 00:22:24.918233762 +0000 UTC\n\n/bin/sh -c #(nop) ADD file:84700c11fcc969ac08ef25f115513d76c7b72a4118c01fbc86ef0a6056fdebeb in / \n\n#2020-06-17 00:22:25.276021438 +0000 UTC\n\n/bin/sh -c #(nop) LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20200611\n\n#2020-06-17 00:22:25.47282687 +0000 UTC\n\n/bin/sh -c #(nop) CMD [\"/bin/bash\"]\n\n#2020-12-18 10:06:01.1576746 +0000 UTC\n\n/bin/sh -c echo \"RSYNC_PASSWORD='passwd' rsync\"\n\n",
"RegistryRegion": "ap-hongkong",
"ImageCreateTime": "1900-01-01T00:00:00+00:00"
}
}
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 |
|---|---|
| InvalidParameter | The parameter is incorrect. |
| ResourceNotFound | The resource does not exist. |
피드백