Closed ujibang closed 8 years ago
There is a problem with buckets and collection. A db can contain both collections and buckets. So you need to get the two arrays and merge them (for instance, using lodash) eventually.
Also the embedded resources of schema stores (URI /db/_schemas) are rh:schema
Fixed with commit 1b759dfa22f20b5ebe2954b6b9bb16f6126ce216
looking at the code:
the embedded data in not actually included for root (that has embedded['rh:db']_ array) and db (that can have _embedded['rh:bucket'] and embedded['rh:coll']_ arrays)