Queries the manifest information of an image tag.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

RepoId String Yes crr-kwgb20p8wwmhol1t

The ID of the repository.

Tag String Yes master

The tag of the image.

SchemaVersion Integer No 2

The schema version of the manifest. Valid values: 1 and 2.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The code returned for the request.

RequestId String D39D7151-0299-47E3-B948-E49E1EA8D406

The ID of the request.

Manifest Struct

The information about the image manifest.

SchemaVersion Integer 2

The schema version of the manifest.

Name String null

The name of the image repository.

Tag String master

The tag of the image.

Architecture String null

The host architecture on which this image is intended to run.

MediaType String application/vnd.docker.distribution.manifest.v2+json

The MIME type of the manifest.

FsLayers Array

A list of filesystem layer blob sums contained in this image.

BlobSum String null

The digest of the referenced filesystem image layer.

History Array

A list of unstructured historical data for V1 compatibility.

V1Compatibility Map null

The raw V1 compatibility information.

Signatures Array

A list of signatures.

Header Map null

The header information of the signature.

Signature String null

The signature for the image manifest.

Protected String null

The signed protected header.

Layers Array

A list of image layers.

MediaType String application/vnd.docker.image.rootfs.diff.tar.gzip

The MIME type of the image layer.

Size Long 32654

The size of the image layer.

Digest String sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f

The digest of the image layer.

Config Struct

The configuration file of the image.

MediaType String application/vnd.docker.container.image.v1+json

The MIME type of the configuration file.

Size Long 7023

The size in bytes of the configuration file.

Digest String sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7

The digest of the configuration file.


Sample requests

http(s)://[Endpoint]/? Action=GetRepoTagManifest
&<Common request parameters>

Sample success responses

JSON format

    "Code": "success",
    "IsSuccess": true,
    "Tag": "master",
    "RequestId": "D39D7151-0299-47E3-B948-E49E1EA8D406",
        "schemaVersion": 2,
        "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
        "config": {
            "mediaType": "application/vnd.docker.container.image.v1+json",
            "size": 7023,
            "digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7"
        "layers": [
                "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
                "size": 32654,
                "digest": "sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f"
                "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
                "size": 16724,
                "digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b"
                "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
                "size": 73109,
                "digest": "sha256:ec4b8955958665577945c89419d1af06b5f7636b4ac3da7f12184802ad867736"

XML format


Error codes

For a list of error codes, visit the API Error Center.