/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

/buckets/{bucketId}/objects/{objectId}

Returns a single object by id.

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

Path Parameters

bucketIdstring(uuid)required

The bucket id.

objectIdstring(uuid)required

The object id.

Response

application/json

The 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.

get/buckets/{bucketId}/objects/{objectId}
 
application/json

/buckets/{bucketId}/objects/{objectId}

Replaces the object’s data. Returns 413 when the stringified data exceeds 1MB.

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

Path Parameters

bucketIdstring(uuid)required

The bucket id.

objectIdstring(uuid)required

The object 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 updated 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.

put/buckets/{bucketId}/objects/{objectId}

Body

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

/buckets/{bucketId}/objects/{objectId}

Deletes the object.

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

Path Parameters

bucketIdstring(uuid)required

The bucket id.

objectIdstring(uuid)required

The object id.

Response

The object was deleted

delete/buckets/{bucketId}/objects/{objectId}