All Products
Search
Document Center

Get the image manifest information

Last Updated: May 28, 2018

Description

Query the image manifest information.

Request information

Request line

  1. GET /repos/{RepoNamespace}/{RepoName}/tags/{Tag}/manifest HTTP/1.1

Request line parameters (URI parameters)

None.

Special request header

None.

Request body

None.

Request body explanation

Name 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.

Response information

Response line

  1. HTTP/1.1 200 OK

Special response header

None.

Response body

  1. {
  2. "data": {
  3. "manifest": {
  4. "name": "String",
  5. "fsLayers": "Array",
  6. "history": "Array",
  7. "signatures": "Array",
  8. "architecture": "String",
  9. "tag": "String",
  10. "schemaVersion": "Integer"
  11. }
  12. },
  13. "requestId": "String"
  14. }

Response body explanation

Name Type Description
name String The name of the image (the name of the namespace/the name of the repository).
fsLayers String
history Array
signatures Array
architecture String
tag String The image version (tag).
schemaVersion Integer The schema version.

Example

Request example

  1. GET /repos/namespace1/repo1/tags/tag1/layers HTTP/1.1
  2. <Common request header>

Response example

  1. HTTP/1.1 200 OK
  2. <Common response header>
  3. {
  4. "data": {
  5. "manifest": {
  6. "name": "namespace1/repo1",
  7. "fsLayers": [{
  8. "blobSum": "sha256:a"
  9. }],
  10. "history": [{
  11. "v1Compatibility": {
  12. "parent": "b",
  13. "os": "linux",
  14. "created": "2018-01-01T00:00:00.000000001Z",
  15. "container_config": {},
  16. "id": "c",
  17. "config": {},
  18. "docker_version": "17.12.0-ce",
  19. "architecture": "amd64"
  20. }
  21. }],
  22. "signatures": [{
  23. "signature": "e",
  24. "header": {
  25. "alg": "ES256",
  26. "jwk": {}
  27. },
  28. "protected": "f"
  29. }],
  30. "architecture": "amd64",
  31. "tag": "tag1",
  32. "schemaVersion": 1
  33. }
  34. },
  35. "requestId": "requestId"
  36. }