Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5904435B for ; Thu, 2 Jun 2011 14:31:41 +0000 (UTC) Received: (qmail 24500 invoked by uid 500); 2 Jun 2011 14:31:40 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 24450 invoked by uid 500); 2 Jun 2011 14:31:40 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 24442 invoked by uid 99); 2 Jun 2011 14:31:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:31:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of omarshall@facilityone.com designates 216.135.43.146 as permitted sender) Received: from [216.135.43.146] (HELO secure.facilityone.com) (216.135.43.146) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:31:34 +0000 X-Footer: ZmFjaWxpdHlvbmUuY29t Received: from f1dtomarshall.lou.c2fs.com.facilityone.com ([192.168.10.152]) by secure.facilityone.com (Kerio Connect 7.2.0) for user@couchdb.apache.org; Thu, 2 Jun 2011 10:31:11 -0400 Date: Thu, 02 Jun 2011 10:31:11 -0400 Message-ID: <87aae0e24w.wl%omarshall@facilityone.com> From: Owen Marshall To: user@couchdb.apache.org Subject: Re: Resolving a classical conflict in CouchDB - Looking for best practices / advise In-Reply-To: <4DE09543.8060507@gmail.com> References: <4DD670CA.3060406@gmail.com> <4DD67880.8070109@facilityone.com> <4DE09543.8060507@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.8 Emacs/24.0.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII 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 http://wiki.apache.org/couchdb/HTTP_Document_API 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 http://www.facilityone.com | (502) 805-2126