couchdb, collections, api