couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "HttpDocumentApi" by CiaranGultnieks
Date Tue, 05 Aug 2008 21:06:03 GMT
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"}}
    ]
  }
  }}}

Mime
View raw message