v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142314899.7 KB

Uploads an image layer part to Amazon ECR.

When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (about 20MB). The UploadLayerPart API is called once for each new image layer part.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

post/#X-Amz-Target=SpencerFrontendService.UploadLayerPart

Headers

X-Amz-Target'SpencerFrontendService.UploadLayerPart' required

Request body

registryIdstring

The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.

repositoryNamestring required

The name of the repository that you're uploading layer parts to.

uploadIdstring required

The upload ID from a previous <a>InitiateLayerUpload</a> operation to associate with the layer part upload.

partFirstByteinteger required

The position of the first byte of the layer part witin the overall image layer.

partLastByteinteger required

The position of the last byte of the layer part within the overall image layer.

layerPartBlobstring required

The base64-encoded layer part payload.

Response

Success

registryIdstring

The registry ID that's associated with the request.

repositoryNamestring

The repository name that's associated with the request.

uploadIdstring

The upload ID that's associated with the request.

lastByteReceivedinteger

The integer value of the last byte that's received in the request.