Method : POST

URI : /brs/object/list?key="<key>"

Body :

{"bucket_name":"<bucket_name>"}

This is useful for listing all the files starting with some characters. So if we wish to list all the file starting with "sales_model__website_" in the bucket ml_bucket_info, then we can use this API.

Example

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

Response

{
   "total_keys":4,
   "key_list":[
      {
         "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"
      }
   ]
}