when I add some data into a bucket,
curl -XPUT http://localhost:8098/types/my_bucket_type/buckets/some-bucket/keys/babbbvv -H "Content-Type: application/json" -d '{"name": "John Smith", "age": 42, "email": "john.smith@example.caa1111odd9911m"}'
I can only get the key name "babbbvv " , but I can not get the bucket name "some-bucket".
But if i use "riak remote_console", enter the erlang shell , Input this code:
This Riak version is 3.2.0, using Post-commit hook .
This is my erlang code:
when I add some data into a bucket,
curl -XPUT http://localhost:8098/types/my_bucket_type/buckets/some-bucket/keys/babbbvv -H "Content-Type: application/json" -d '{"name": "John Smith", "age": 42, "email": "john.smith@example.caa1111odd9911m"}'
I can only get the key name "babbbvv " , but I can not get the bucket name "some-bucket".
But if i use "riak remote_console", enter the erlang shell , Input this code:
I can get not only this key name "my_key", but also the bucket name "my_bucket".