Queries the information about images in a repository.

Request information

Request line

GET /repos/[RepoNamespace]/[RepoName]/tags  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.
Page Integer No The number of the current page.
PageSize Integer No The number of entries to return on each page.

Operation-specific request headers

None.

Request body

None.

Response information

Response line

HTTP/1.1 200 OK

Operation-specific response headers

None.

Response body

{
"data": {
 "total": Integer,
 "pageSize": Integer,
 "page": Integer,
 "tags": [{
   "imageUpdate": Long,
    "imageCreate": Long,
   "imageId": String,
   "digest": String,
   "imageSize": Long,
   "tag": String,
   "status": String
 }, {
   "imageUpdate": Long,
   "imageCreate": Long,
   "imageId": String,
   "digest": String,
   "imageSize": Long,
   "tag": String,
   "status": String
 }]
},
"requestId": "9AFB10K1-2301-4B00-A817-932492040126"
}

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.
digest String The SHA-256 hash function of the image.
imageSize Long The size of the image.
tag String The tag of the image.
status String The status of the image.
page Integer The number of the current page.
pageSize Integer The number of entries to return on each page.
total Integer The total number of records.

Examples

Sample requests

GET /repos/[RepoNamespace]/[RepoName]/tags HTTP/1.1
<Common request headers>

Sample responses

HTTP/1.1 200 OK
<Common response headers>

{
   "total": 2,
   "pageSize": 30,
   "page": 1,
   "tags": [{
     "imageUpdate": 1514432549000,
     "imageId": "2842876c9b98f8c7607c1123ks18ff040b76a1d932c6d60c96aa3c283bd221cd",
     "digest": "83414d2c3b04e0lo1q7693e31aeca95b82c61949ea8de858579bf16bd92490c6",
     "imageSize": 715764,
     "tag": "new",
     "imageCreate": 1514432549000,
     "status": "NORMAL"
   }, {
     "imageUpdate": 1514372113000,
     "imageId": "414e6daa772a8cd5dfloqpe503e6e313c372d2e15958ab649709daf9b1065479",
     "digest": "fcf39ed78ef0fa27bcc74713b85259alop1b12e6a201e3083af50fd8eda1cbe1",
     "imageSize": 715653,
     "tag": "asdf",
     "imageCreate": 1514372044000,
     "status": "NORMAL"
   }]
 },
 "requestId": "9AFB52D3-6631-4B00-A857-932492097726"
}