POST api/resources/multipart/upload
Uploads a portion of a resource to the repository. Part should be between 5MB and ~50MB.
Request Information
URI Parameters
None.
Body Parameters
Arguments describing the part of the resource being uploaded with this request.
UploadMultipartResourcePartArgs| Name | Description | Type | Additional information |
|---|---|---|---|
| ResourceIdentifier |
The identifier for the resource |
globally unique identifier |
None. |
| PartNumber |
The sequence number of this part of the resource. |
integer |
None. |
| FinalPart |
Is this the final part segment of the resource. |
boolean |
None. |
| Md5Digest |
The Md5Digest of the resource bytes in this part. This helps ensure the resource got transferred correctly. |
string |
None. |
| ResourceBytes |
The bytes of the resource to be stored. |
Collection of byte |
None. |
Request Formats
application/json, text/json
{
"ResourceIdentifier": "066384c5-d65d-463e-acca-52b817e8ca26",
"PartNumber": 2,
"FinalPart": true,
"Md5Digest": "sample string 4",
"ResourceBytes": "QEA="
}
application/xml, text/xml
<UploadMultipartResourcePartArgs xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ResourceIdentifier>066384c5-d65d-463e-acca-52b817e8ca26</ResourceIdentifier> <PartNumber>2</PartNumber> <FinalPart>true</FinalPart> <Md5Digest>sample string 4</Md5Digest> <ResourceBytes>QEA=</ResourceBytes> </UploadMultipartResourcePartArgs>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Simple HttpStatusCode response. <br /> In the case of a MD5 hash mismatch, a HTTP Status of 422 will be returned. https://tools.ietf.org/html/rfc4918#section-11.2 <br /> In rare cases, a HTTP status of 409 could be returned as well.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.