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 7AF12D7D6 for ; Wed, 3 Oct 2012 17:21:25 +0000 (UTC) Received: (qmail 70661 invoked by uid 500); 3 Oct 2012 17:21:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70630 invoked by uid 500); 3 Oct 2012 17:21:23 -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 70616 invoked by uid 99); 3 Oct 2012 17:21:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 17:21:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ambuj.wgen@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vb0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 17:21:15 +0000 Received: by vbjk17 with SMTP id k17so7566332vbj.11 for ; Wed, 03 Oct 2012 10:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6vJQPhL2U7ogs+lMgQohaY6UqMPvzSNDq96CnIr9LXQ=; b=lA2nnHJwWgA2kVVtURY1Vac36mu4ADsb4F/k4xu7zpPvQFig7LbPl/PJKRyBkyWcS6 oXh0ArgcZ23NKdT0LY3Vwgh1qK0ItFNPETu+8Qq7DSsivZR48AwMCj1ZRHrQfe9aBdiH iAhrmy8yEQgVOkUwDTNM9rF0lMt/v0xAjKWJqapxaUQvsB0lGXYizyfFhuV9dj7mn/+Q IgVv8bfIKMmReubEDGZOm8dXhN7YWPvgMdjErTTAiCD1+plW3uTmpmSS4NjxOKPJNO7D gwfyqOxwFd80/4aeqNJe2JyvIN/fxp+9M01nyEvWrIEYXEWkbxAXLn1VozKPsC3A3M9D ZFkw== MIME-Version: 1.0 Received: by 10.52.139.136 with SMTP id qy8mr1264130vdb.39.1349284854809; Wed, 03 Oct 2012 10:20:54 -0700 (PDT) Received: by 10.58.207.5 with HTTP; Wed, 3 Oct 2012 10:20:54 -0700 (PDT) Date: Wed, 3 Oct 2012 13:20:54 -0400 Message-ID: Subject: Saving multiple versions of the same doc on couchDB From: A wigen To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=bcaec51b9d0d78c49404cb2adcdf --bcaec51b9d0d78c49404cb2adcdf Content-Type: text/plain; charset=ISO-8859-1 Hi, I have a scenario in which I am not sure how to implement: (1) User1 updates the document and pushes to couchDB from his personal iPAD (2) User2 updates the same document and pushes to couchDB from his personal iPAD (3) There is another user - - admin. He pulls both the versions, merge and then create the final version. He then notifies users about the updated doc. Assumption: Once Users have "submitted" their version, they can not edit it until they hear back form administrator. I am assuming this for now to simplify my Can I have multiple versions of the same document on couchDB with more than one HTTP request (users have their own devices)? I know how to do it with one HTTP req. [1]. [1] "The _bulk_docs API lets you submit multiple updates (and/or deletes) in a single HTTP POST." Thank you. --AAT --bcaec51b9d0d78c49404cb2adcdf--