Method : POST

URI : /brs/bucket

Body : JSON doc with bucket info

Structure of body

{
   "bucket_name":"",
   "access_key":"brs_access_key",
   "secret_key":"brs_secret_key"
}

Example

curl -H "Content-Type: application/json" -d'{"bucket_name":"my_test_bucket","access_key":"brs_access_key","secret_key":"brs_secret_key"}' -X POST http://192.168.1.105:18080/brs/bucket

Response

{
   "success": 0
}

Now, if you list the BRS buckets, you will see this bucket there too.