incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Marshall <>
Subject Re: Resolving a classical conflict in CouchDB - Looking for best practices / advise
Date Thu, 02 Jun 2011 14:31:11 GMT
At Sat, 28 May 2011 09:25:07 +0300,
Oren Shani wrote:

> I have one question tough (to Oern or to anyone who may know) - 
> how do I access the older revisions?

For the plain HTTP API:

GET /db/document_id?rev=old_rev_id
You can also GET /db/document_id?open_revs=["r1", "r2", ...] and CouchDB will return those
full revisions in an array.
See for more.

Unfortunately I haven't used Couch Potato so I can't help there... surely though there is
a way to pass in extra parameters, and I'd try throwing in a {'rev': 'blah'} there.

Owen Marshall
FacilityONE | (502) 805-2126

View raw message