You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/08/05 23:06:03 UTC
[Couchdb Wiki] Update of "HttpDocumentApi" by CiaranGultnieks
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The following page has been changed by CiaranGultnieks:
http://wiki.apache.org/couchdb/HttpDocumentApi
The comment on the change is:
Those "rev" fields returned from _all_docs do not have the leading underscore
------------------------------------------------------------------------------
{
"total_rows": 3, "offset": 0, "rows": [
- {"id": "doc1", "key": "doc1", "value": {"_rev": "4324BB"}},
+ {"id": "doc1", "key": "doc1", "value": {"rev": "4324BB"}},
- {"id": "doc2", "key": "doc2", "value": {"_rev":"2441HF"}},
+ {"id": "doc2", "key": "doc2", "value": {"rev":"2441HF"}},
- {"id": "doc3", "key": "doc3", "value": {"_rev":"74EC24"}}
+ {"id": "doc3", "key": "doc3", "value": {"rev":"74EC24"}}
]
}
}}}