POST api/v2.0/ResourceLibrary/MultipartUploaded

Complete a multipart upload once all parts have been uploaded. Reconstitutes the file from the uploaded parts in the file repository.

Request Information

URI Parameters

None.

Body Parameters

Contains the upload ID assigned to the multipart URL, the object key identifying the file uploaded to the file repository, and the set of etag values that identify each uploaded part ordered corresponding to the part numbers of the parts uploaded

MultipartUploadedRequest
NameDescriptionTypeAdditional information
ObjectKey

Object key that identifies the uploaded file in the file repository.

string

Required

UploadId

Upload ID assigned when the multipart upload was initiated.

string

Required

Etags

Set of eTags that identify each part of the upload in the sequence that the parts of the file were partitioned

Collection of string

Required

Min length: 1

Request Formats

application/json, text/json

Sample:
{
  "ObjectKey": "sample string 1",
  "UploadId": "sample string 2",
  "Etags": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<MultipartUploadedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request">
  <Etags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Etags>
  <ObjectKey>sample string 1</ObjectKey>
  <UploadId>sample string 2</UploadId>
</MultipartUploadedRequest>

Response Information

Resource Description

None.