Sample versioning API for Couchbase