Details
Description
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
[edit]:
from https://github.com/apache/couchdb/pull/310#issuecomment-89025857:
a button with download=true could be the solution
it is important to note that the button will download the view itself – not the view results. the view results would be covered by the api-url button