Sure - but if there are libcouchbase apis specifically for the management stuff, we should remember to use it rather than the http interface from libcouchbase. I was worried about circuit breakers, retry logic, etc.. Though maybe they will work with the http calls too?
Also - there are a bunch of other methods in couchbase/management/collections.py that need implementation. Here's a list: drop_collection, drop_scope, get_scope, get_all_scopes, scope_exists, flush_collection. And the IScopeSpec, along with all the options. Also – maybe we get rid of those non-idiomatic names for the Specs while we are there.
The REST operations are all done through libcouchbase, in fact - it offers an lcb_http call that is already used in PYCBC to implement REST functionality.