Skip to main content

GetRepoTag

Description

call GetRepoTag to query the information of a mirror.

Request Method

POST

Request Path

/apsara/route/cr/GetRepoTag

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
RepoNamespaceBODYstringYesNo sample value for this parameter.namespace name
regionIdBODYstringYesNo sample value for this parameter.region id
RepoNameBODYstringYesNo sample value for this parameter.warehouse name
TagBODYstringYesNo sample value for this parameter.image tag
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
imageUpdatelongno demo valueimage update time
imageIdstringno demo valuemirror ID
requestIdstringno demo valuerequest ID
digeststringno demo valuemirrored sha256
imageSizestringno demo valueimage size
tagstringno demo valueimage tag
imageCreatelongno demo valueimage creation time
statusstringno demo valuemirror status

Example

Successful Response example

{
"imageUpdate":"no demo value",
"imageId":"no demo value",
"requestId":"no demo value",
"digest":"no demo value",
"imageSize":"no demo value",
"tag":"no demo value",
"imageCreate":"no demo value",
"status":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}