Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "HTTP_Document_API" page has been changed by BrianCandler. The comment on this change is: Document open_revs. http://wiki.apache.org/couchdb/HTTP_Document_API?action=diff&rev1=57&rev2=58 -------------------------------------------------- } }}} Here, ''disk'' means the revision content is stored on disk and can still be retrieved. The other values indicate that the content of that revision is not available. + + You can fetch the bodies of multiple revisions at once using the parameter `open_revs=["rev1","rev2",...]`, or you can fetch all leaf revisions using `open_revs=all` (see [[Replication_and_conflicts]]). The JSON returns an array of objects with an "ok" key pointing to the document, or a "missing" key pointing to the rev string. + + {{{ + [ + {"missing":"1-fbd8a6da4d669ae4b909fcdb42bb2bfd"}, + {"ok":{"_id":"test","_rev":"2-5bc3c6319edf62d4c624277fdd0ae191","hello":"foo"}} + ] + }}} <<Anchor(create_or_update_document)>>
