On this page

List of all buckets in the db

Method : POST
URI : /brs/list/<flag>
Body :

{"access_key":"brs_access_key"}

Example

curl -H "Content-Type: application/json" -d'{"access_key":"brs_access_key"}' -X POST http://192.168.1.105:18080/brs/list

Response

{
"total_buckets": 4,
"bucket_list": [
{
"bucket_info": "{\"bucket_name\":\"ml_bucket_info\",\"access_key\":\"brs_access_key\",\"secret_key\":\"brs_secret_key\",\"ttl\":604800,\"create_time\":1648495823801531,\"_pk\":\"ml_bucket_info\",\"_v\":1}"
},
{
"bucket_info": "{\"bucket_name\":\"bangdb_udf_bucket\",\"access_key\":\"brs_access_key\",\"secret_key\":\"brs_secret_key\",\"ttl\":604800,\"create_time\":1648495823838877,\"_pk\":\"bangdb_udf_bucket\",\"_v\":1}"
},
{
"bucket_info": "{\"bucket_name\":\"user_service_media_bucket\",\"access_key\":\"brs_access_key\",\"secret_key\":\"brs_secret_key\",\"create_time\":1648495826702257,\"_pk\":\"user_service_media_bucket\",\"_v\":1}"
},
{
"bucket_info": "{\"bucket_name\":\"_bucket_info_billing\",\"access_key\":\"brs_access_key\",\"secret_key\":\"brs_secret_key\",\"create_time\":1648495826757492,\"_pk\":\"_bucket_info_billing\",\"_v\":1}"
}
]
}
Was this article helpful to you? Yes No