Queries the information about an image.

Request information

Request line

GET /repos/[RepoNamespace]/[RepoName]/tag/[Tag]  HTTP/1.1

Request line parameters

Parameter Type Required Description
RepoNamespace String Yes The name of the namespace.
RepoName String Yes The name of the repository.
Tag String Yes The tag of the image.

Operation-specific request headers

None.

Request body

None.

Response information

Response line

HTTP/1.1 200 OK

Response body

{
    "imageUpdate": 1578625336000,
    "imageId": "6f08feb0be92c8ed2cc5b3e563313d2c08e468c1aa40d06908634884f236****",
    "requestId": "9AFB10K1-2301-4B00-A817-93249204****",
    "digest": "110acd135b0b71c38f10a6db02b0318d6ec731ec318cbfc5dadc4cc182b54052",
    "tag": 1,
    "imageSize": 558063443,
    "imageCreate": 1577445220000,
    "status": "NORMAL"
}

Response body parameters

Parameter Type Description
imageUpdate Long The time when the image was updated.
imageCreate Long The time when the image was created.
imageId String The ID of the image.
imageSize String The size of the image.
requestId String The ID of the request.
digest String The SHA-256 hash function of the image.
tag String The tag of the image.
status String The status of the image.

Examples

Sample requests

GET /repos/RepoNamespace/RepoName/tags/Tag HTTP/1.1 Common request header 
{ "RepoName": "test", "RepoNamespace": "test", "Tag": "1.0" }

Sample responses

HTTP/1.1 200 OK
<Common response headers>

{
    "imageUpdate": 1578625336000,
    "imageId": "6f08feb0be92c8ed2cc5b3e563313d2c08e468c1aa40d06908634884f236****",
    "requestId": "",
    "digest": "110acd135b0b71c38f10a6db02b0318d6ec731ec318cbfc5dadc4cc182b54052",
    "tag": 1,
    "imageSize": 558063443,
    "imageCreate": 1577445220000,
    "status": "NORMAL"
}