Queries the manifest information of an image tag.

Debugging

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
Action String Yes GetRepoTagManifest

The operation that you want to perform. Set the value to GetRepoTagManifest.

InstanceId String Yes cri-kmsiwlxxdcva****

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

RepoId String Yes crr-kwgb20p8wwmh****

The ID of the image 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
Code String success

The return value.

IsSuccess Boolean true

Indicates whether the operation is successful.

Manifest Struct

The information about the image manifest.

Architecture String null

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

Config Struct

The quota information.

Digest String sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7

The digest of the configuration file.

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.

FsLayers Array of FsLayers

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

BlobSum String null

The digest of the referenced filesystem image layer.

History Array of History

A list of unstructured historical data for V1 compatibility.

V1Compatibility Map null

The raw V1 compatibility information.

Layers Array of Layers

A list of image layers.

Digest String sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f

The digest of the image layer.

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.

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

The MIME type of the manifest.

Name String null

The name of the image repository.

SchemaVersion Integer 2

The schema version of the manifest.

Signatures Array of Signatures

A list of signatures.

Header Map null

The header information of the signature.

Protected String null

The signed protected header.

Signature String null

The signature for the image manifest.

Tag String master

The tag of the image.

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

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=GetRepoTagManifest
&InstanceId=cri-kmsiwlxxdcva****
&RegionId=cn-shanghai
&RepoId=crr-kwgb20p8wwmh****
&Tag=master
&<Common request parameters>

Sample success responses

XML format

<IsSuccess>true</IsSuccess>
<RequestId>D39D7151-0299-47E3-B948-E49E1EA8D406</RequestId>
<Manifest>
    <Architecture>null</Architecture>
    <SchemaVersion>2</SchemaVersion>
    <MediaType>application/vnd.docker.distribution.manifest.v2+json</MediaType>
    <Tag>master</Tag>
    <Name>null</Name>
    <FsLayers>
        <BlobSum>null</BlobSum>
    </FsLayers>
    <History>
        <V1Compatibility>null</V1Compatibility>
    </History>
    <Signatures>
        <Protected>null</Protected>
        <Header>null</Header>
        <Signature>null</Signature>
    </Signatures>
    <Layers>
        <Digest>sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f</Digest>
        <Size>32654</Size>
        <MediaType>application/vnd.docker.image.rootfs.diff.tar.gzip</MediaType>
    </Layers>
    <Config>
        <Digest>sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7</Digest>
        <Size>7023</Size>
        <MediaType>application/vnd.docker.container.image.v1+json</MediaType>
    </Config>
</Manifest>
<Code>success</Code>

JSON format

{
    "IsSuccess": true,
    "RequestId": "D39D7151-0299-47E3-B948-E49E1EA8D406",
    "Manifest": {
        "Architecture": "null",
        "SchemaVersion": 2,
        "MediaType": "application/vnd.docker.distribution.manifest.v2+json",
        "Tag": "master",
        "Name": "null",
        "FsLayers": {
            "BlobSum": "null"
        },
        "History": {
            "V1Compatibility": "null"
        },
        "Signatures": {
            "Protected": "null",
            "Header": "null",
            "Signature": "null"
        },
        "Layers": {
            "Digest": "sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f",
            "Size": 32654,
            "MediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip"
        },
        "Config": {
            "Digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
            "Size": 7023,
            "MediaType": "application/vnd.docker.container.image.v1+json"
        }
    },
    "Code": "success"
}

Error codes

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