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 "HTTP_database_API" by OwainDavies
Date Tue, 06 Mar 2012 16:00:55 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "HTTP_database_API" page has been changed by OwainDavies:
http://wiki.apache.org/couchdb/HTTP_database_API?action=diff&rev1=30&rev2=31

  ||''heartbeat''||milliseconds||''60000''||Period in milliseconds after which an empty line
is sent in the results. Only applicable for ''longpoll'' or ''continuous'' feeds. Overrides
any ''timeout'' to keep the feed alive indefinitely.||
  ||''timeout''||milliseconds||''60000''||Maximum period in milliseconds to wait for a change
before the response is sent, even if there are no results. Only applicable for ''longpoll''
or ''continuous'' feeds. '''Note''' that 60000 is also the default maximum timeout to prevent
undetected dead connections.*||
  ||''filter''||designdoc/filtername||''none''||Reference a filter function from a design
document to selectively get updates. See the [[http://books.couchdb.org/relax/reference/change-notifications|section
in the book]] for more information.||
- ||''include_docs''||boolean||''false''||Include the associated document with each result.
(New in version 0.11)||
+ ||''include_docs''||boolean||''false''||Include the associated document with each result.
If there are conflicts, only the winning revision is returned. (New in version 0.11)||
+ ||''style''|| all_docs | main_only ||''main_only''||Specifies how many revisions are returned
in the changes array. The default, ''main_only'', will only return the winning revision; ''all_docs''
will return all the conflicting revisions.||
  
  * You can change the default maximum timeout in your ini-configuration:
  {{{

Mime
View raw message