Get Bucket Details
The following SDK method will allow you to get all available details of a particular bucket. The Bucket reference used in the below code snippet is the component instance.
copy
const buckets = await bucket.getDetails(); // get details of a given bucket
console.log(buckets);
Example Response
copy
{
"bucket_name": "zcstratus122",
"project_details": {
"project_name": "Learn",
"id": "6759000000014001",
"project_type": "Live"
},
"created_by": {
"zuid": "74660608",
"is_confirmed": "False",
"email_id": "emmy@zylker.com",
"first_name": "Amelia Burrows",
"last_name": "C",
"user_type": "Admin",
"user_id": "6759000000009004"
},
"created_time": "Mar 26, 2024 12:44 PM",
"modified_by": {
"zuid": "74660608",
"is_confirmed": "False",
"email_id": "emmy@zylker.com",
"first_name": "Amelia Burrows",
"last_name": "C",
"user_type": "Admin",
"user_id": "6759000000009004"
},
"modified_time": "Mar 30, 2024 11:38 AM",
"bucket_meta": {
"versioning": "False",
"caching": {
"status": "Enabled",
"delivery_point_id": "01ht6zj7k536c29ymsgfeky1mg"
},
"encryption": "False",
"audit_consent": "False"
},
"bucket_url": "https://zcstratus122-development.zohostratus.com",
"caching_url": "https://zcstratus122-development.nimbuslocaledge.com",
"objects_count": "74",
"size_in_bytes": "925906411"
}
Last Updated 2025-07-02 15:43:56 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit