[ https://issues.apache.org/jira/browse/COUCHDB-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395729#comment-14395729
]
Robert Kowalski commented on COUCHDB-2433:
------------------------------------------
from https://github.com/apache/couchdb/pull/310#issuecomment-89025857:
a button with download=true would be the solution
> 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
> Affects Versions: 2.0.0
> Reporter: Jan Lehnardt
> Priority: Minor
>
> 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)
|