[ 
https://issues.apache.org/jira/browse/COUCHDB-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802557#action_12802557
 ] 

Chris Anderson commented on COUCHDB-289:
----------------------------------------

Not an objection, but something to bear in mind.

Right now POSTing the keys to views kinda sucks, because it's so limited.

We'd like to change the API so that you post an object the specifies a list of 
queries, not just keys:

{
"queries" : [
{
  "startkey" : "foo",
  "limit" : 5,
 },
{
  "startkey" : "baz",
  "limit" : 5,
}
]
}

which gives the current functionality but also much more flexibility. It's also 
harder to compress into get params, but not impossible.

Anyway, just a heads up.


> _all_docs should support both GET and POST
> ------------------------------------------
>
>                 Key: COUCHDB-289
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-289
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10
>            Reporter: Matt Aimonetti
>
> As of 0.9, if you want to query multiple documents at once and load them, you 
> have to do: 
> 'POST' /my_db/_all_docs?include_docs=true and pass the document ids.
> The problem with that approach is that the requests can't be cached. Being to 
> make a GET request (with the obvious limitations) would make a lot of sense.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to