Checks the availability of one or more image layers that are within a repository in a public registry. When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/' \
--header'X-Amz-Target;' \
--header'Content-Type: application/json' \
--data-raw''
Response Response Example
200 - Example 1
{"layers":[],"failures":[]}
Request
Header Params
X-Amz-Target
string
required
Body Params application/json
registryId
string
optional
The Amazon Web Services account ID, or registry alias, associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed.
>= 2 characters<= 50 characters
repositoryName
string
required
The name of the repository that's associated with the image layers to check.