Blob - End Upload

Complete the upload, providing all the data in the body, if necessary. A request without a body will just complete the upload with previously uploaded content.

PUT {url}/{nextBlobUuidLink}?digest={digest}

URI Parameters

Name In Required Type Description
nextBlobUuidLink
path True

string

Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) )

url
path True

string

Registry login URL

digest
query True

string

Digest of a BLOB

Request Body

Media Types: "application/octet-stream"

Name Type Description
value

object

Optional raw data of blob

Responses

Name Type Description
201 Created

The upload has been completed and accepted by the registry.

Headers

  • Location: string
  • Range: string
  • Docker-Content-Digest: string
Other Status Codes

AcrErrors

ACR error response describing why the operation failed.

Security

registry_auth

Type: basic

Examples

End a blob upload

Sample request

PUT acrapi.azurecr-test.io/v2/blobland/blobs/uploads/2b28c60d-d296-44b7-b2b4-1f01c63195c6?_nouploadcache=false&_state=VYABvUSCNW2yY5e5VabLHppXqwU0K7cvT0YUdq57KBt7Ik5hbWUiOiJibG9ibGFuZCIsIlVVSUQiOiIyYjI4YzYwZC1kMjk2LTQ0YjctYjJiNC0xZjAxYzYzMTk1YzYiLCJPZmZzZXQiOjAsIlN0YXJ0ZWRBdCI6IjIwMTktMDgtMjdUMjM6NTI6NDcuMDUzNjU2Mjg1WiJ9?digest=sha256:a05a7abc31b0caadd5058069eaa623cdd0538512dbddacc7ca5bad73c3957c5e

"usuallyEmpty"

Sample response

Location: /v2/blobland/blobs/sha256:a05a7abc31b0caadd5058069eaa623cdd0538512dbddacc7ca5bad73c3957c5e
Docker-Content-Digest: sha256:a05a7abc31b0caadd5058069eaa623cdd0538512dbddacc7ca5bad73c3957c5e

Definitions

Name Description
AcrErrorInfo

Error information

AcrErrors

Acr error response describing why the operation failed

AcrErrorInfo

Error information

Name Type Description
code

string

Error code

detail

object

Error details

message

string

Error message

AcrErrors

Acr error response describing why the operation failed

Name Type Description
errors

AcrErrorInfo[]

Array of detailed error