POST buckets/{bucket}?key={key}&requestTime={requestTime}&signature={signature}&authType={authType}
Requests a new bucket.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bucket |
The name of the desired bucket. |
string |
Required |
key |
The key that will be the owner of the bucket, and 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 |
authType |
The authorization type. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
A response with the created bucket, as well as an indication of whether the call was successful or not.
RequestNewBucketResponseName | Description | Type | Additional information |
---|---|---|---|
Bucket | string |
None. |
|
Success | boolean |
None. |
|
Error | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<RequestNewBucketResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Error>sample string 3</Error> <Success>true</Success> <Bucket>sample string 1</Bucket> </RequestNewBucketResponse>
application/json, text/json
Sample:
{ "Bucket": "sample string 1", "Success": true, "Error": "sample string 3" }