What is the output of this command: curl 127.0.1.1:8098/types/ldb/buckets?buckets=true
I see that our docs do *not* give an example of listing buckets in a bucket type: http://docs.basho.com/riak/kv/2.2.0/developing/api/http/list-buckets/ I have opened an issue here to improve the documentation: https://github.com/basho/basho_docs/issues/2337 On Thu, Dec 15, 2016 at 8:13 AM, Felipe Esteves <felipe.este...@b2wdigital.com> wrote: > Hi, Luke, > > The bucket_type with leveldb is called ldb. Buckets "teste and "books" > already existed. > > Python3: >>>> myClient = riak.RiakClient(http_port=8098, protocol='http', >>>> host='127.0.1.1') >>>> myBucket = myClient.bucket('foo', bucket_type='ldb') >>>> keyb = myBucket.new('bar', data='foobar') >>>> keyb.store() > <riak.riak_object.RiakObject object at 0x7fb2a168de10> >>>> myClient.get_buckets() > [<RiakBucket 'teste'>, <RiakBucket 'books'>] > > HTTP: > curl 127.0.1.1:8098/buckets?buckets=true > > {"buckets":["teste","books"]} > > If I run the same procedure without specifying bucket_type, it works well. > Couldn't figure out yet what's the problem. _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com