Upload batch file
PUT <batchUploadPath>
Starts uploading a batch file. Make this request after allocating a batch upload location.
Attribute |
Type |
Description |
Example |
---|---|---|---|
|
string |
The URI of the upload path. If you do not know the URI, first allocate a batch upload location. In the response, in the |
|
|
string |
The Base64-encoded version of the hex-encoded MD5 checksum. You created the hex-encoded MD5 checksum before you allocated a batch upload location. |
|
|
string |
The path to the gzipped file. You must upload a file in the body as binary data. |
|
This request returns an empty, 200 OK
response.
curl -X PUT 'https://sitecore-batch-service-dev-eu-west-1.s3.amazonaws.com/...' \
-H 'x-amz-server-side-encryption: AES256' \
-H 'Content-Md5: <Base64_string>' \
-H 'Content-Type: application/gzip' \
--data-binary '<path_to_gzipped_file>'