[
https://issues.apache.org/jira/browse/COUCHDB-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140481#comment-14140481
]
ASF GitHub Bot commented on COUCHDB-404:
----------------------------------------
GitHub user kxepal opened a pull request:
https://github.com/apache/couchdb-couch-mrview/pull/5
Remove handlers of outdated mrview parameters
The `list` was introduced by COUCHDB-404 and becomes eventually
replaced by list functions since 0.10 release.
The `count` was suppressed by `limit` since 0.9 release.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kxepal/couchdb-couch-mrview patch-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-mrview/pull/5.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5
----
commit 9a55456a230cc4cb92223880455929d39f8aa873
Author: Alexander Shorin <[email protected]>
Date: 2014-09-19T13:23:25Z
Remove handlers of outdated mrview parameters
The `list` was introduced by COUCHDB-404 and becomes eventually
replaced by list functions since 0.10 release.
The `count` was suppressed by `limit` since 0.9 release.
----
> restfull and shorter urls for lists and shows
> ---------------------------------------------
>
> Key: COUCHDB-404
> URL: https://issues.apache.org/jira/browse/COUCHDB-404
> Project: CouchDB
> Issue Type: Improvement
> Components: HTTP Interface
> Affects Versions: 0.10
> Environment: *
> Reporter: Benoit Chesneau
> Attachments: formuri.diff
>
>
> We discussing yesterday with @jchris and @jasondavies about shortening
> shows and lists urls and we arrived on this format :
> /db/docid?show=dname/showname
> /db/_view/dname/vname?list=listname
> This change is very usefull since it allows shorter urls and I think
> it's more RESTFul. I had time this morning to write this and I created
> a branch on my github repository :
> http://github.com/benoitc/couchdb/tree/formuri
> To do this I refactored a little couch_httpd_show to reuse code to
> display lists and shows and added URL parameters parsing/validation.
> All changes made in this branch don't break current CouchDB behavior
> so :
> * Views are available on
> /db/_design/designame/_view/viewname (current behavior) but also on
> /db/_view/designame/viewname
> * Lists are available on
> /db/_design/designame/_list/listname/viewname (current behavior)
> but also on
> /db/_view/designame/viewname?list=listname
> * Shows are available on
> /db/_design/designame/_show/showname/docid
> but also on
> /db/docid?show=designame/showname
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)