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] Trivial Update of "HTTP Document API" by BrianCandler
Date Tue, 24 Mar 2009 16:02:49 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 BrianCandler:
http://wiki.apache.org/couchdb/HTTP_Document_API

------------------------------------------------------------------------------
  
     * By adding {{{?include_docs=true}}} you can get the documents themselves, not just their
id and rev
     * By adding {{{?startkey="xx"&endkey="yy"}}} you can get the documents with keys
in a certain range
-    * By POSTing to _bulk_docs you can get a set of documents with arbitrary keys
+    * By POSTing to _all_docs you can get a set of documents with arbitrary keys
  
  {{{
  $ curl -d '{"keys":["bar","baz"]}' -X POST http://127.0.0.1:5984/foo/_all_docs?include_docs=true

Mime
View raw message