POST upload/files/{bucket}/{path}?key={key}&requestTime={requestTime}&signature={signature}

Uploads a file.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bucket

The bucket where the file will be stored.

string

Required

path

The path to the file.

string

Required

key

The key that was used to sign this request.

string

Required

requestTime

The time the request was made.

integer

Required

signature

The signature that proves that you are who you say you are.

string

Required

Body Parameters

None.

Response Information

Resource Description

A response with the bucket and path of the file, as well as an indication that the call was successful or not.

UploadCompleteResponse
NameDescriptionTypeAdditional information
Bucket

string

None.

Path

string

None.

Success

boolean

None.

Error

string

None.

Response Formats

application/xml, text/xml

Sample:
<UploadCompleteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Error>sample string 4</Error>
  <Success>true</Success>
  <Bucket>sample string 1</Bucket>
  <Path>sample string 2</Path>
</UploadCompleteResponse>

application/json, text/json

Sample:
{
  "Bucket": "sample string 1",
  "Path": "sample string 2",
  "Success": true,
  "Error": "sample string 4"
}