Working with couchbase-rest-api