REST discovery of buckets ddocs URI and method to get ddocs