/buckets/{bucketId}

Returns a single bucket by id.

get
https://api.rest.rodeo/storage/api/v1/buckets/{bucketId}

Path Parameters

bucketIdstring(uuid)required

The bucket id.

Response

application/json

The bucket

Bucket

* Additional properties are NOT allowed.
idstring(uuid)required

The bucket id.

namestringrequired

The bucket name.

<= 256 characters

get/buckets/{bucketId}
 
application/json

/buckets/{bucketId}

Replaces the bucket’s name.

put
https://api.rest.rodeo/storage/api/v1/buckets/{bucketId}

Path Parameters

bucketIdstring(uuid)required

The bucket id.

Body

application/json

BucketRequest

* Additional properties are NOT allowed.
namestringrequired

The bucket name.

>= 1 characters<= 256 characters

Response

application/json

The updated bucket

Bucket

* Additional properties are NOT allowed.
idstring(uuid)required

The bucket id.

namestringrequired

The bucket name.

<= 256 characters

put/buckets/{bucketId}

Body

{ "name": "archived-files" }
 
application/json

/buckets/{bucketId}

Deletes the bucket. Rejected with 409 while the bucket still contains objects.

delete
https://api.rest.rodeo/storage/api/v1/buckets/{bucketId}

Path Parameters

bucketIdstring(uuid)required

The bucket id.

Response

The bucket was deleted

delete/buckets/{bucketId}
 

/buckets/{bucketId}/objects

Lists every object in the bucket.

get
https://api.rest.rodeo/storage/api/v1/buckets/{bucketId}/objects

Path Parameters

bucketIdstring(uuid)required

The bucket id.

Response

application/json

All objects in the bucket

ObjectsList

* Additional properties are NOT allowed.
objectsarray[object]required
Show Child Parameters
get/buckets/{bucketId}/objects
 
application/json

/buckets/{bucketId}/objects

Creates an object in the bucket. Returns 402 when the subscription tier’s total object quota is already reached, and 413 when the stringified data exceeds 1MB.

post
https://api.rest.rodeo/storage/api/v1/buckets/{bucketId}/objects

Path Parameters

bucketIdstring(uuid)required

The bucket id.

Body

application/json

ObjectRequest

* Additional properties are NOT allowed.
datarequired

The JSON value to store. May be any JSON type and any depth, as long as its stringified content does not exceed 1MB.

Response

application/json

The created object

StoredObject

idstring(uuid)required

The object id.

datarequired

The stored JSON value. May be any JSON type and any depth, as long as its stringified content does not exceed 1MB.

post/buckets/{bucketId}/objects

Body

{ "data": { "name": "manifest.json", "size": 1024 } }
 
application/json