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 JasonSmith
Date Thu, 26 Apr 2012 01:22:14 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 JasonSmith:
http://wiki.apache.org/couchdb/HTTP_database_API?action=diff&rev1=31&rev2=32

Comment:
Document _changes?descending=true

  ||'''Parameter'''||'''Value'''||'''Default value'''||'''Description'''||
  ||''since''||seqnum||''0''||Start the results from the change immediately after the given
sequence number.||
  ||''limit''||maxsequences||''none''||Limit number of result rows to the specified value
(note that using ''0'' here has the same effect as ''1'').||
+ ||''descending''||boolean||''false''||Return the change results in descending sequence order
(most recent change first)||
  ||''feed''||normal | longpoll | continuous||''normal''||Select the type of feed.||
  ||''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.*||

Mime
View raw message