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 2009/04/29 14:32:59 UTC

[Couchdb Wiki] Trivial Update of "HTTP Document API" by BobDionne

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 BobDionne:
http://wiki.apache.org/couchdb/HTTP_Document_API

------------------------------------------------------------------------------
  GET /somedatabase/some_doc_id?revs=true HTTP/1.0
  }}}
  
- This returns the current revision of the document, but with an additional field, ''_revs'', the value being a list of the available revision IDs. ''Note though that not every of those revisions of the document is necessarily still available.'' For example, the content of an old revision get removed by compacting the database, or it may only exist in a different database if it was replicated.
+ This returns the current revision of the document, but with an additional field, ''_revisions'', the value being a list of the available revision IDs. ''Note though that not every of those revisions of the document is necessarily still available.'' For example, the content of an old revision get removed by compacting the database, or it may only exist in a different database if it was replicated.
  
  To get more detailed information about the available document revisions, use the ''revs_info'' parameter instead. In this case, the JSON result will contain a ''_revs_info'' property, which is an array of objects, for example: