v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1441293181.2 KB

Gets detailed information for an image. Images are specified with either an imageTag or imageDigest.

When an image is pulled, the BatchGetImage API is called once to retrieve the image manifest.

post/#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.BatchGetImage

Headers

X-Amz-Target'AmazonEC2ContainerRegistry_V20150921.BatchGetImage' required

Request body

registryIdstring

The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.

repositoryNamestring required

The repository that contains the images to describe.

acceptedMediaTypesMediaType[]
<p>The accepted media types for the request.</p> <p>Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> | <code>application/vnd.docker.distribution.manifest.v2+json</code> | <code>application/vnd.oci.image.manifest.v1+json</code> </p>

Response

Success

Example response

{
  "failures": [],
  "images": [
    {
      "imageId": {
        "imageDigest": "sha256:example76bdff6d83a09ba2a818f0d00000063724a9ac3ba5019c56f74ebf42a",
        "imageTag": "precise"
      },
      "imageManifest": "{\n \"schemaVersion\": 1,\n \"name\": \"ubuntu\",\n \"tag\": \"precise\",\n...",
      "registryId": "244698725403",
      "repositoryName": "ubuntu"
    }
  ]
}