Dell Technologies ECS REST API

Search (SHIFT+S)




Complete Upload

POST /{object_name}?uploadId={upload_id}

Completes a multi-part upload by assembling the previously uploaded parts.

URL Format

Host Style: http://bucketname.ns1.emc.com/{object_name}?uploadId={upload_id}
Path Style: http://ns1.emc.com/bucketname/{object_name}?uploadId={upload_id}

Alternatively, both styles can specify the namespace using the x-emc-namespace header.


Query Parameters

uploadIdUnique identifier of the multi-part upload. Obtained from the Object Init Uploads operation.

Prerequisites

The following conditions must be met in order to call this operation.

  • A multi-part upload must have been initiated and returned a valid uploadId

  • BaseUrl used in a host-style request URL should be pre-configured using the ECS Management API or the ECS Portal (for example, emc.com in the URL: bucketname.ns1.emc.com).

  • Namespace and bucket corresponding to this object should exist


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
CompleteMultipartUpload
Part     0-* Elements
PartNumber Part number that identifies the part Integer
LastModified Last modified time Date
ETag Entity tag returned when the part was uploaded String
Size Size Long

Response Headers

x-amz-version-id optionalVersion number of response

Response Body

Result of assembling

Field Description Type Notes
CompleteMultipartUploadResult
Location Request URL URI
Bucket Bucket name String
Key Object name String
ETag ETag String