couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "URI templates" by ChrisAnderson
Date Mon, 09 Mar 2009 19:56:35 GMT
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 ===
  

Mime
View raw message