Queries the manifest information about an image.

Request information

Request line

GET /repos/[RepoNamespace]/[RepoName]/tags/[Tag]/manifest HTTP/1.1

Request line parameters

Parameter Type Required Description
RepoNamespace String Yes The name of the namespace.
RepoName String Yes The name of the repository.
Tag String Yes The image version.

Operation-specific request headers

None.

Request body

None.

Request body parameters

None.

Response information

Response line

HTTP/1.1 200 OK

Operation-specific response headers

None.

Response body

{
  "data": {
    "manifest": {
      "name": "String",
      "fsLayers": "Array",
      "history": "Array",
      "signatures": "Array",
      "architecture": "String",
      "tag": "String",
      "schemaVersion": "Integer"
    }
  },
  "requestId": "String"
}

Response body parameters

Parameter Type Description
name String The name of the image (namespace/repository name).
fsLayers String The SHA-256 hash function of each layer of the image.
history Array Unstructured historical data that complies with schema v1.
signatures Array The signature of the image.
architecture String The architecture of the image.
tag String The image version.
schemaVersion Integer The schema version. A value of 1 indicates manifest v2, schema 1 and a value of 2 indicates manifest v2, schema 2.

Examples

Sample requests

GET /repos/[RepoNamespace]/[RepoName]/tags/[Tag]/manifest HTTP/1.1
<Common request headers>

Sample responses

HTTP/1.1 200 OK
<Common response headers>

{
  "data": {
    "manifest": {
      "name": "testNamespace/testRepo",
      "fsLayers": [{
        "blobSum": "sha256:a"
      }],
      "history": [{
        "v1Compatibility": {
          "parent": "b",
          "os": "linux",
          "created": "2018-01-01T00:00:00.000000001Z",
          "container_config": {},
          "id": "c",
          "config": {},
          "docker_version": "17.12.0-ce",
          "architecture": "amd64"
        }
      }],
      "signatures": [{
        "signature": "e",
        "header": {
          "alg": "ES256",
          "jwk": {}
        },
        "protected": "f"
      }],
      "architecture": "amd64",
      "tag": "tag1",
      "schemaVersion": 1
    }
  },
  "requestId": "8DBD3292-A232-44F6-93DC-B30D70AF54E9"
}