Jan Lehnardt created COUCHDB-2433:
-------------------------------------

             Summary: Allow downloading of views
                 Key: COUCHDB-2433
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2433
             Project: CouchDB
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Fauxton
            Reporter: Jan Lehnardt


I have a non-technical user of CouchDB that would like a “JSON Export” of views 
in Fauxton. They can’t use the command line where they can just `curl $viewurl 
> export.json`.

One way to implement this is add a new query parameter to view queries could be 
`/db/_design/_view/name?download=true` which adds a Content-Disposition header 
so browsers offer the link as a download (and whatever else is necessary to 
make browsers behave :)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to