Home /  API Reference / 

Buckets

Stedi Buckets service.

Download OpenAPI

ListBuckets

GET/buckets
Retrieve a list containing every bucket.
Parameters
Optionalquery
The maximum number of elements to return in a page
Optionalquery
The token used for pagination

Example

GET
https://buckets.cloud.us.stedi.com/2022-05-05/buckets?pageSize=1&pageToken=...

CreateBucket

POST/buckets
Create a new bucket.
Request body

application/json

Requiredstring

Bucket identifier. Be aware that the bucket namespace is shared across all customers, and try to pick a name that is not likely to already be in use.

Optionalobject
Describes the notification configuration for a Stedi bucket.
BucketNotificationConfigurations object.

Example

POST
https://buckets.cloud.us.stedi.com/2022-05-05/buckets

ReadBucket

GET/buckets/{bucketName}
Retrieve an existing bucket.
Parameters
Requiredpath
The name of the Stedi bucket Pattern: ^[a-z0-9-]+$

Example

GET
https://buckets.cloud.us.stedi.com/2022-05-05/buckets/-5c

UpdateBucket

PUT/buckets/{bucketName}
Update a bucket.
Parameters
Requiredpath
The name of the Stedi bucket Pattern: ^[a-z0-9-]+$
Request body

application/json

Optionalobject
Describes the notification configuration for a Stedi bucket.
BucketNotificationConfigurations object.

Example

PUT
https://buckets.cloud.us.stedi.com/2022-05-05/buckets/z-

DeleteBucket

DELETE/buckets/{bucketName}
Delete a bucket. Bucket must be empty.
Parameters
Requiredpath
The name of the Stedi bucket Pattern: ^[a-z0-9-]+$

Example

DELETE
https://buckets.cloud.us.stedi.com/2022-05-05/buckets/g

GetObject

GET/buckets/{bucketName}/objects/{key}

Retrieves an object from a bucket.

[IMPORTANT] This operation is currently only supported through the SDK. Direct API calls will fail.

Parameters
Requiredpath
The name of the Stedi bucket Pattern: ^[a-z0-9-]+$
Requiredpath

Example

GET
https://buckets.cloud.us.stedi.com/2022-05-05/buckets/o/objects/...

PutObject

PUT/buckets/{bucketName}/objects/{key}

Writes an object to a bucket.

[IMPORTANT] This operation is currently only supported through the SDK. Direct API calls will fail.

Parameters
Requiredpath
The name of the Stedi bucket Pattern: ^[a-z0-9-]+$
Requiredpath
Request body

application/octet-stream

Requiredstring

body
Requiredapplication/octet-stream

Binary representation of the file

Example

PUT
https://buckets.cloud.us.stedi.com/2022-05-05/buckets/z/objects/...

DeleteObject

DELETE/buckets/{bucketName}/objects/{key}
Delete an existing object.
Parameters
Requiredpath
The name of the Stedi bucket Pattern: ^[a-z0-9-]+$
Requiredpath

Example

DELETE
https://buckets.cloud.us.stedi.com/2022-05-05/buckets/4t78-0/objects/...

ListObjects

GET/buckets/{bucketName}/objects
Retrieve a list containing every object.
Parameters
Requiredpath
The name of the Stedi bucket Pattern: ^[a-z0-9-]+$
Optionalquery
The maximum number of elements to return in a page
Optionalquery
The token used for pagination
Request body

application/json

Optionalstring
Optionalstring

Example

GET
https://buckets.cloud.us.stedi.com/2022-05-05/buckets/9/objects?pageSize=1&pageToken=...