Uniform attachment GET/PUT/DELETE interface to couchdb