From commits-return-1982-apmail-couchdb-commits-archive=couchdb.apache.org@couchdb.apache.org Mon Mar 09 19:56:58 2009 Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 37641 invoked from network); 9 Mar 2009 19:56:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2009 19:56:58 -0000 Received: (qmail 87793 invoked by uid 500); 9 Mar 2009 19:56:57 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 87698 invoked by uid 500); 9 Mar 2009 19:56:57 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 87689 invoked by uid 500); 9 Mar 2009 19:56:57 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 87686 invoked by uid 99); 9 Mar 2009 19:56:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 12:56:57 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO aurora.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 19:56:56 +0000 Received: from aurora.apache.org (localhost [127.0.0.1]) by aurora.apache.org (8.13.8+Sun/8.13.8) with ESMTP id n29JuZnC010711 for ; Mon, 9 Mar 2009 19:56:35 GMT Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: couchdb-commits@incubator.apache.org Date: Mon, 09 Mar 2009 19:56:35 -0000 Message-ID: <20090309195635.10668.89739@aurora.apache.org> Subject: [Couchdb Wiki] Update of "URI templates" by ChrisAnderson X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by ChrisAnderson: http://wiki.apache.org/couchdb/URI_templates The comment on the change is: change view paths ------------------------------------------------------------------------------ To see a design document: - /''dbname''/_design/''designdocid'' + /''dbname''/_design/''designdocname'' To query a view: - /''dbname''/_view/''designdocid''/viewname?''query'' + /''dbname''/_design/''designdocname''/_view/''viewname?''query'' To query a temporary ("slow") view (with the custom view function in the body of the request): @@ -42, +42 @@ To format a document through a "show" template: - /''dbname''/_show/''designdocid''/''showname''/''docid'' + /''dbname''/_design/''designdocname''/_show/''showname''/''docid'' To format a view through a "list" template: - /''dbname''/_list/''designdocid''/''listname''/''viewname''?''query'' + /''dbname''/_design/''designdocname''/_list/''listname''/''viewname''?''query'' === View Query Syntax ===