1. Home
  2. Docs
  3. BangDB 2.0 REST API
  4. API 2.0
  5. SERVER API
  6. List of objects/files in the bucket

On this page

List of objects/files in the bucket

Method : POST
URI : /brs/object/list/1
Body :

{"bucket_name":"<name of the bucket>"}

Note: there is 1 in the end of URI, (this will get deprecated but for now it’s there)

Example

curl -H "Content-Type: application/json" -d'{"bucket_name":"ml_bucket_info"}' -X POST http://192.168.1.105:18080/brs/object/list/1

Response

{
"total_keys": 5,
"key_list": [
{
"key": "sales_model__website:0:1:441:1648550728434692"
},
{
"key": "sales_model__website__param:0:1:932:1648550728434760"
},
{
"key": "sales_model__website__range:0:1:108:1648550728434721"
},
{
"key": "sales_model__website.traindetails:0:1:11549:1648550728435030"
},
{
"key": "sales_model__website__visitor_upload.txt:0:1:1062:1648548818373679"
}
]
}

You will notice that various files (including the model) for training was stored in this bucket.

Was this article helpful to you? Yes No