new module:api/BucketsApi(apiClient)
Constructs a new BucketsApi.
Parameters:
| Name | Type | Description |
|---|---|---|
apiClient |
module:ApiClient | Optional API client implementation to use, default to module:ApiClient#instance if unspecified. |
- Source:
Methods
createBucket(postBuckets, opts, oauth2client, credentials)
Use this endpoint to create a bucket. Buckets are arbitrary spaces created and owned by applications. Bucket keys are globally unique across all regions, regardless of where they were created, and they cannot be changed. The application creating the bucket is the owner of the bucket.
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
postBuckets |
module:model/PostBucketsPayload | Body Structure |
||||||
opts |
Object | Optional parameters Properties
|
||||||
oauth2client |
Object | oauth2client for the call |
||||||
credentials |
Object | credentials for the call |
- Source:
deleteBucket(bucketKey, oauth2client, credentials)
This endpoint will delete a bucket.
Parameters:
| Name | Type | Description |
|---|---|---|
bucketKey |
String | URL-encoded bucket key |
oauth2client |
Object | oauth2client for the call |
credentials |
Object | credentials for the call |
- Source:
getBucketDetails(bucketKey, oauth2client, credentials)
This endpoint will return the buckets owned by the application. This endpoint supports pagination.
Parameters:
| Name | Type | Description |
|---|---|---|
bucketKey |
String | URL-encoded bucket key data is of type: {module:model/Bucket} |
oauth2client |
Object | oauth2client for the call |
credentials |
Object | credentials for the call |
- Source:
getBuckets(opts, oauth2client, credentials)
This endpoint will return the buckets owned by the application. This endpoint supports pagination.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object | Optional parameters Properties
|
||||||||||||
oauth2client |
Object | oauth2client for the call |
||||||||||||
credentials |
Object | credentials for the call |
- Source: