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/10/28 04:38:35 UTC
[Couchdb Wiki] Update of "HttpViewApi" by MattLyon
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 MattLyon:
http://wiki.apache.org/couchdb/HttpViewApi
The comment on the change is:
from irc
------------------------------------------------------------------------------
The following URL query arguments are allowed:
* key=keyvalue
+ * keys=[keys]
* startkey=keyvalue
* startkey_docid=docid
* endkey=keyvalue
@@ -156, +157 @@
* reduce=false ''Trunk only (0.9)''
* include_docs=true ''Trunk only (0.9)''
- ''key'', ''startkey'', and ''endkey'' need to be properly JSON encoded values (for example, startkey="string" for a string value).
+ ''key'', ''keys'', ''startkey'', and ''endkey'' need to be properly JSON encoded values (for example, startkey="string" for a string value).
If you specify ''?count=0'' you don't get any data, but all meta-data for this View. The number of documents in this View for example. If ''count'' is specified as a negative number, you will receive that many documents prior to the specified ''startkey''.