Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 92168 invoked from network); 27 Nov 2008 06:54:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2008 06:54:31 -0000 Received: (qmail 237 invoked by uid 500); 27 Nov 2008 06:54:41 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 195 invoked by uid 500); 27 Nov 2008 06:54:41 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 184 invoked by uid 99); 27 Nov 2008 06:54:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 22:54:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [64.22.68.8] (HELO assmule.apisnetworks.com) (64.22.68.8) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 06:53:13 +0000 Received: from [192.168.0.11] (206-248-172-247.dsl.teksavvy.com [206.248.172.247]) by assmule.apisnetworks.com (Postfix) with ESMTPSA id 3BEAB2756F7 for ; Thu, 27 Nov 2008 01:53:29 -0500 (EST) Message-ID: <492E43E1.6010501@silencegreys.com> Date: Thu, 27 Nov 2008 01:53:21 -0500 From: Jedediah Smith User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: couchdb-user@incubator.apache.org Subject: Re: partial/diff updates? References: <41DF7DCF-E050-4A02-B6C6-100787592E2D@gmail.com> In-Reply-To: <41DF7DCF-E050-4A02-B6C6-100787592E2D@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Has something like this been considered? { "_id": "abc123", "foo": { "bar": [1,2,{ "baz": 3 }] } } GET /db/abc123/foo/bar/2/baz 3 PUT /db/abc123/foo/durr [4,5,6] GET /db/abc123 { "_id": "abc123", "foo": { "bar": [1,2,{ "baz": 3 }], "durr": [4,5,6] } } You'd need a few rules for resolving ambiguities and attachments would probably have to use a different url (_attachment/file?) but it would be very convenient and RESTful.