couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vlad GURDIGA <gurd...@gmail.com>
Subject _id & _rev on request vs. id & id on response
Date Mon, 19 Oct 2009 13:14:16 GMT
Hello!

I see* we have "_id" and "_rev" in the document we send with the PUT
or POST request and in the response we get something like:

{"ok":true, "id":"123BAC", "rev":"946B7D1C"}

with "id" and "rev" without underscores.

Doesn't this sound a little inconsistent?


* http://wiki.apache.org/couchdb/HTTP_Document_API

Mime
View raw message