Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 52961 invoked from network); 8 Jul 2008 18:26:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 18:26:42 -0000 Received: (qmail 30650 invoked by uid 500); 8 Jul 2008 18:26:42 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 30617 invoked by uid 500); 8 Jul 2008 18:26:42 -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 30606 invoked by uid 99); 8 Jul 2008 18:26:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 11:26:42 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.111.4.28] (HELO out4.smtp.messagingengine.com) (66.111.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 18:25:49 +0000 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 5C581137F37 for ; Tue, 8 Jul 2008 14:23:02 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 08 Jul 2008 14:23:02 -0400 X-Sasl-enc: ENvMpf3z2s2zxR/wsGVF4s87eBL3nayVkmNz7cEtoUK7 1215541381 Received: from ndrix.org (tameion.ndrix.org [166.230.131.80]) by mail.messagingengine.com (Postfix) with ESMTPSA id 1CC03689B for ; Tue, 8 Jul 2008 14:23:00 -0400 (EDT) Date: Tue, 8 Jul 2008 12:22:55 -0600 From: Michael Hendricks To: couchdb-user@incubator.apache.org Subject: Re: inserting a single document Message-ID: <20080708182255.GF16398@ginosko.ndrix.org> References: <20080707220638.GF12208@ginosko.ndrix.org> <8E613742-74D7-4F18-917B-D93E845E4CD6@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8E613742-74D7-4F18-917B-D93E845E4CD6@apache.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Jul 08, 2008 at 12:34:07AM +0200, Jan Lehnardt wrote: > We strive for buzzword compliance and the buzzword in question > is REST :-) > > Consider a client that is not interested in bulk insertion that only does > and wants GET/PUT/POST/DELETE to a single resource. That's where > the singe document PUT/POST API makes sense. Thanks Jan. I definitely like the PUT/POST API. I use it quite a bit with the couchdb commandline client … curl ;-) It's sure handy. > From your library's point of view, only using the bulk API is totally > acceptable, though. Great, I'll go ahead and do it that way then. Thanks. -- Michael