desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Add a way to export/download a private file

Open distinctgrey opened this issue 7 years ago • 1 comments

Steps to reproduce: while working in the Electron app, click the export action on a Swagger file.

screen shot 2018-06-13 at 10 56 01

Expected behavior: file download or new window with raw Swagger JSON

Actual behavior: link opens in browser, and returns HTTP 404 since I'm not authenticated with my Stoplight user in the browser.

Temporary workaround: make sure you're authenticated on next.stoplight.io in the browser as well, then click the link from within the app.

distinctgrey avatar Jun 13 '18 08:06 distinctgrey

I like the "Download File" idea while in the desktop app. I think this should still be separate from the export URL though. The export URL is helpful for sharing or importing without needing the actual file. If the project is marked as "public" you won't need to authenticate to view the export.

Another idea would be to allow generating a "Public export URL" for a file or project. Or allowing to generate an access token to view the export of a private file.

lott-ai avatar Jun 26 '18 16:06 lott-ai