Skip to main content

GetImageLayer

Description

call GetImageLayer to query mirror layer information.

Request Method

POST

Request Path

/apsara/route/cr/GetImageLayer

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.Mirror version
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
repoNamespacestringno demo valuenamespace name
repoNamestringno demo valueMirror warehouse name
layersarrayno demo valuemirror layer information
tagstringno demo valueMirror version (Tag)
regionstringno demo valuemirror warehouse region

Example

Successful Response example

{
"repoNamespace":"no demo value",
"repoName":"no demo value",
"layers":"no demo value",
"tag":"no demo value",
"region":"no demo value"
}

Failed Response example

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

}