Domain name for API request: tcr.tencentcloudapi.com.
This API is used to query the manifest information of a container image.
A maximum of 10 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: DescribeImageManifests. |
Version | Yes | String | Common Params. The value used for this API: 2019-09-24. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
RegistryId | Yes | String | Instance ID |
NamespaceName | Yes | String | Namespace name |
RepositoryName | Yes | String | Image repository name |
ImageVersion | Yes | String | Image tag |
Parameter Name | Type | Description |
---|---|---|
Manifest | String | Image manifest information |
Config | String | Image configuration information |
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. |
https://tcr.tencentcloudapi.com/?Action=DescribeImageManifests
&<Common request parameters>
&RegistryId=tcr-7s2d14fn
&NamespaceName=test
&RepositoryName=mytest
&ImageVersion=1.0
{
"Response": {
"RequestId": "6ef83620-c92e-496c-b206-25b0b638f409",
"Manifest": "{\"config\":{\"digest\":\"sha256:72f6114b119f1423a2713aca1e15cb9aeadf835a714d36f7a2cf88d10e4bb6be\",\"mediaType\":\"application/vnd.docker.container.image.v1+json\",\"size\":2396},\"layers\":[{\"digest\":\"sha256:9123ac7c32f74759e6283f04dbf571f18246abe5bb2c779efcb32cd50f3ff13c\",\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar.gzip\",\"size\":2764173},{\"digest\":\"sha256:8673ef3ff8fc5ede7363cbe74d295b013ef7959ba002af607314d8ee77b58a5a\",\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar.gzip\",\"size\":1616975},{\"digest\":\"sha256:a8e22d4a83517ee59537183a2f7ca35fa7b81d36176a9d5d42ca2ab0486af779\",\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar.gzip\",\"size\":8446306}],\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"schemaVersion\":2}",
"Config": ""
}
}
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 | Operation failed |
InternalError | Internal error. Please check and try again. |
InternalError.DbError | Database error. Please check and try again. |
InternalError.ErrorTcrInternal | Internal error with the TCR instance. |
InternalError.ErrorTcrInvalidMediaType | Invalid request header |
InternalError.ErrorTcrResourceConflict | TCR instance resource conflict. |
InternalError.ErrorTcrUnauthorized | No permission for TCR operation. |
InvalidParameter | Parameter error. Please check and try again. |
InvalidParameter.ErrorTcrInvalidParameter | Invalid TCR request. |
MissingParameter | Missing parameters. Please check and try again. |
OperationDenied | Operation denied. |
ResourceNotFound | The resource does not exist. |
ResourceNotFound.TcrResourceNotFound | The resource of the TCR instance was not found. |
UnsupportedOperation | Unsupported operation |
本页内容是否解决了您的问题?