Skip to main content

buckets

Overview

Namebuckets
TypeResource
Idlinode.object_storage.buckets

Fields

NameDatatypeDescription
clusterstringThe ID of the Object Storage Cluster this bucket is in.
createdstringWhen this bucket was created.
hostnamestringThe hostname where this bucket can be accessed. This hostname can be accessed through a browser if the bucket is made public.
labelstringThe name of this bucket.
objectsintegerThe number of objects stored in this bucket.
sizeintegerThe size of the bucket in bytes.

Methods

NameAccessible byRequired ParamsDescription
getObjectStorageBucketSELECTbucket, clusterIdReturns a single Object Storage Bucket.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
getObjectStorageBucketinClusterSELECTclusterIdReturns a list of Buckets in this cluster belonging to this Account.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
getObjectStorageBucketsSELECTReturns a paginated list of all Object Storage Buckets that you own.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
createObjectStorageBucketINSERTdata__cluster, data__labelCreates an Object Storage Bucket in the specified cluster.

Accounts with negative balances cannot access this command.

If the bucket already exists and is owned by you, this endpoint returns a 200 response with that bucket as if it had just been created.

This endpoint is available for convenience. It is recommended that instead you use the more fully-featured S3 API directly.
deleteObjectStorageBucketDELETEbucket, clusterIdRemoves a single bucket.

Bucket objects must be removed prior to removing the bucket. While buckets containing objects may be
deleted using the s3cmd command-line tool, such operations
can fail if the bucket contains too many objects. The recommended
way to empty large buckets is to use the S3 API to configure lifecycle policies that
remove all objects, then delete the bucket.

This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
_getObjectStorageBucketEXECbucket, clusterIdReturns a single Object Storage Bucket.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
_getObjectStorageBucketinClusterEXECclusterIdReturns a list of Buckets in this cluster belonging to this Account.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
_getObjectStorageBucketsEXECReturns a paginated list of all Object Storage Buckets that you own.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
_viewObjectStorageBucketACLEXECbucket, clusterIdView an Object's configured Access Control List (ACL) in this Object Storage bucket.
ACLs define who can access your buckets and objects and specify the level of access
granted to those users.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
modifyObjectStorageBucketAccessEXECbucket, clusterIdAllows changing basic Cross-origin Resource Sharing (CORS) and Access Control Level (ACL) settings.
Only allows enabling/disabling CORS for all origins, and/or setting canned ACLs.


For more fine-grained control of both systems, please use the more fully-featured S3 API directly.
updateObjectStorageBucketACLEXECbucket, clusterId, data__acl, data__nameUpdate an Object's configured Access Control List (ACL) in this Object Storage bucket.
ACLs define who can access your buckets and objects and specify the level of access
granted to those users.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.
updateObjectStorageBucketAccessEXECbucket, clusterIdAllows changing basic Cross-origin Resource Sharing (CORS) and Access Control Level (ACL) settings.
Only allows enabling/disabling CORS for all origins, and/or setting canned ACLs.


For more fine-grained control of both systems, please use the more fully-featured S3 API directly.
viewObjectStorageBucketACLEXECbucket, clusterIdView an Object's configured Access Control List (ACL) in this Object Storage bucket.
ACLs define who can access your buckets and objects and specify the level of access
granted to those users.


This endpoint is available for convenience. It is recommended that instead you
use the more fully-featured S3 API directly.