Skip to main content

GetImageManifest

Description

call GetImageManifest to query mirror metadata (Manifest) information.

Request Method

POST

Request Path

/apsara/route/cr/GetImageManifest

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
schemaVersionintegerno demo valueschema version (points 1 and 2 represent manifest v2 schema1 and manifest v2 schema2 respectively)
namestringno demo valuemirror name (namespace or repository name)
fsLayersstringno demo valuemirror sha256 value of each layer
historyarrayno demo valueschema v1 compatible unstructured historical data list
tagstringno demo valueMirror version (Tag)
signaturesarrayno demo valuemirror signature data
architecturestringno demo valuemirror architecture

Example

Successful Response example

{
"schemaVersion":"no demo value",
"name":"no demo value",
"fsLayers":"no demo value",
"history":"no demo value",
"tag":"no demo value",
"signatures":"no demo value",
"architecture":"no demo value"
}

Failed Response example

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

}