Retrieves the tag information of a specific image.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:ListRepositoryTag |
get |
*Repository
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
cri-kmsiwlxxdcva**** |
| RepoId |
string |
Yes |
The repository ID. |
crr-tquyps22md8p**** |
| Tag |
string |
Yes |
The repository tag. |
1.0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Status |
string |
The status of the image. Valid values:
|
NORMAL |
| ImageCreate |
integer |
The time when the image was created. |
1572839125000 |
| ImageSize |
integer |
The size of the image. |
27107966 |
| RequestId |
string |
The request ID. |
031572FA-7D8F-4C05-B790-1071E0E05DE6 |
| Digest |
string |
The digest value. |
67bfbcc12b67936ec7f867927817cbb071832b873dbcaed312a1930ba5f1**** |
| Code |
string |
The return code. |
success |
| ImageUpdate |
integer |
The time when the image was last updated. This value is a UNIX timestamp in milliseconds. |
1572875608000 |
| Tag |
string |
The repository tag. |
1.0 |
| IsSuccess |
boolean |
Indicates whether the request was successful. |
true |
| ImageId |
string |
The image ID. |
45023655bf39c382e26a8607d057c27871dee163c1ecf48cc1ebf2a1**** |
Examples
Success response
JSON format
{
"Status": "NORMAL",
"ImageCreate": 1572839125000,
"ImageSize": 27107966,
"RequestId": "031572FA-7D8F-4C05-B790-1071E0E05DE6",
"Digest": "67bfbcc12b67936ec7f867927817cbb071832b873dbcaed312a1930ba5f1****",
"Code": "success",
"ImageUpdate": 1572875608000,
"Tag": "1.0",
"IsSuccess": true,
"ImageId": "45023655bf39c382e26a8607d057c27871dee163c1ecf48cc1ebf2a1****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.