Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV/JSON as GET urls #10545

Open
key88sf opened this issue Aug 9, 2019 · 2 comments

Comments

@key88sf
Copy link

commented Aug 9, 2019

Is your feature request related to a problem? Please describe.
Currently you cannot link to a CSV/JSON report for a question unless it's via the public shareable URLs, which are unsafe for most organizations. We would like a way to link to CSVs that still requires the authorization check.

Describe the solution you'd like
The ability to easily link to a CSV version of a question. For example, by adding /csv or ?format=csv to the end of any question URL. That would use the default parameters for the query.

Describe alternatives you've considered
Parsing the returned HTML from the standard GET request for a question.

How important is this feature to you?
VERY important, since it enables things like importing to google sheets without public sharing.

Additional context
Add any other context or screenshots about the feature request here.

@flamber

This comment has been minimized.

Copy link
Contributor

commented Aug 9, 2019

Hi @key88sf
How should the authentication be handled if you're using GET requests without cookies?
As I wrote in the forum, you can do POST requests in Google Sheets:
https://discourse.metabase.com/t/access-csv-of-a-query-result-without-publicly-sharing/4688/8

EDIT: You might want to upvote #9978 about password protection, by clicking 👍 on the first post.

@key88sf

This comment has been minimized.

Copy link
Author

commented Aug 9, 2019

@flamber Auth would be handled by using an OAuth provider like Google Auth, not username/password. e.g. the user would already be logged into metabase before making the request from Sheets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.