MyDockerRegistry
    • Get Image Manifest
      GET
    • Put image manifest
      PUT
    • Check if manifest exists
      HEAD
    • Delete image manifest
      DELETE
    • Initiate blob upload or attempt cross-repository blob mount
      POST
    • Check existence of blob
      HEAD
    • Retrieve blob
      GET
    • Get blob upload status
      GET
    • Complete blob upload
      PUT
    • Upload blob chunk
      PATCH
    • Cancel blob upload
      GET

      Get Image Manifest

      开发中
      GET
      /v2/{name}/manifests/{reference}
      获取 manifest

      请求参数

      Path 参数

      Header 参数

      请求示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location '/v2//manifests/' \
      --header 'Accept: application/vnd.docker.distribution.manifest.v2+json'

      返回响应

      🟢200成功
      application/json
      Headers

      Bodyapplication/json

      示例
      {
          "schemaVersion": 2,
          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
          "config": {
              "mediaType": "application/vnd.docker.container.image.v1+json",
              "size": 7023,
              "digest": "sha256:123456abcdef..."
          },
          "layers": [
              {
                  "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
                  "size": 32654,
                  "digest": "sha256:abcdef123456..."
              },
              {
                  "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
                  "size": 16724,
                  "digest": "sha256:7890abcdef12..."
              }
          ]
      }
      🟠400请求有误
      🟠404未找到
      修改于 2025-10-02 06:22:08
      下一页
      Put image manifest
      Built with