GetImageManifest
Description
call GetImageManifest to query mirror metadata (Manifest) information.
Request Method
POST
Request Path
/apsara/route/cr/GetImageManifest
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
RepoNamespace | BODY | string | Yes | No sample value for this parameter. | namespace name |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RepoName | BODY | string | Yes | No sample value for this parameter. | warehouse name |
Tag | BODY | string | Yes | No sample value for this parameter. | Mirror version |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
schemaVersion | integer | no demo value | schema version (points 1 and 2 represent manifest v2 schema1 and manifest v2 schema2 respectively) |
name | string | no demo value | mirror name (namespace or repository name) |
fsLayers | string | no demo value | mirror sha256 value of each layer |
history | array | no demo value | schema v1 compatible unstructured historical data list |
tag | string | no demo value | Mirror version (Tag) |
signatures | array | no demo value | mirror signature data |
architecture | string | no demo value | mirror 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
}
}