Dear Wiki user,

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

The "HttpPostRevsDiff" page has been changed by JensAlfke:
http://wiki.apache.org/couchdb/HttpPostRevsDiff?action=diff&rev1=1&rev2=2

Comment:
possible_ancestors

  Both the request and response bodies are JSON objects whose keys are document 
IDs; but the values are structured differently:
  
   * In the ''request'', a value is an array of revision IDs for that document.
-  * In the ''response'', a value is an object with a {{{"missing":}}} key, 
whose value is a list of revision IDs for that document (the ones that are not 
stored in the database.)
+  * In the ''response'', a value is an object with a {{{"missing":}}} key, 
whose value is a list of revision IDs for that document (the ones that are not 
stored in the database) and optionally a {{{"possible_ancestors"}}} key, whose 
value is an array of revision IDs that ''are'' known that might be ancestors of 
the missing revisions.
  
  '''Disclaimer:''' This information was derived from mailing-list posts and 
experimentation and has not yet been reviewed by someone familiar with the 
implementation. --JensAlfke, Dec. 2011
  

Reply via email to