It seems like a hole in the API to me. POSTing keys to a _view is certainly possible, I don't see why that should be disallowed for a _list.
Adam On Apr 18, 2010, at 4:12 AM, Nils Breunese wrote: > I don't think so. A list function is a function that processes the results of > a view query, so you can use the HTTP view API [0] for querying. See > 'Formatting with Show and List' on the wiki [1] and list_views.js in the > CouchDB test suite for more examples. > > Nils Breunese. > > [0] http://wiki.apache.org/couchdb/HTTP_view_API > [1] http://wiki.apache.org/couchdb/Formatting_with_Show_and_List > ________________________________________ > Van: Jarrod Roberson [[email protected]] > Verzonden: zondag 18 april 2010 5:45 > Aan: [email protected] > Onderwerp: how to submit multiple keys to a list of a view? > > right now I am trying the following > > curl -X POST -d '{"keys":[["cnnid","22222222"],["src","e"]]}' > http://localhost:5984/test/_design/transfer/_list/search/search1?group=true&group_level=1 > > I have searched Google with no luck on how to run a list with mulitple > keys as input, is this even possible? > > -- > Jarrod Roberson > > De informatie vervat in deze e-mail en meegezonden bijlagen is uitsluitend > bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie > bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking > van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO > staat niet in voor de juiste en volledige overbrenging van de inhoud van een > verzonden e-mail, noch voor tijdige ontvangst daarvan.
