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 "HttpPostRevsDiff" by JensAlfke
Date Tue, 07 Feb 2012 02:09:30 GMT
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
  

Mime
View raw message