couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject breaking changes to _view path
Date Mon, 09 Mar 2009 19:15:59 GMT
I'm about to commit a patch that changes the URL for view queries.
What was previously
http://hostname:5984/mydb/_view/designname/viewname?limit=10 will now
become:

http://hostname:5984/mydb/_design/designname/_view/viewname?limit=10

The reasoning behind this change is reflected in the "REST,
Hypermedia, and CouchApps" dev@ thread listed on this page (the gist
is that with the change, it is possible for design doc provided
resources to link to each other without hardcoding db or ddoc names.
It should also make for more awesome future extensibility):

http://mail-archives.apache.org/mod_mbox/couchdb-dev/200902.mbox/thread?3

I'll be committing this patch to trunk next thing, and I'll make a
pass through the wiki, but it may take some time for the change to be
reflected throughout the online documentation. Let's start a community
project to leave helpful notes on the comments of old blog posts, etc!

Cheers,
Chris

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message