Programmatically export data
See original GitHub issueHi!
Scenario
- API hosted on Github, team uses Insomnia to work on it
- API documentation served on my webhost, using Insomnia-Documenter https://www.npmjs.com/package/insomnia-documenter, with latest fixes by me it runs smoothly in every cases
Problem
Insomnia Documenter uses the export json file to create a nice looking documentation: https://api.projectalice.io/ . This json file can be obtained by exporting the Insomnia data as in: application => preferences => data => export, but not programatically using inso
cli. This leads to me having to pull the latest changes made by the team, daily, export the data and upload it to my webhost.
Possible solutions
- CLI command to export the data, in the
inso
npm package. This would allow Github actions to install the CLI and export the data in the desired format.
- PROS: integrated
- CONS: one more step
- The Insomnia “push” function does, if setting enabled to, export the data and include them in the commit/push
- PROS: totally transparent, no extra steps, awesome
- CONS: not intuitive as includes extra data to a commit without the user to be really aware of it. Would also need branch settings and others.
- Have insomnia documenter use not the exported data, but the raw data available on Github
- PROS: Nothing for you guys to do, works out of the box
- CONS: Unlikely to happen as the documenter dev is very busy
- Feel free to add in comments
Benefits
Having such a function would allow a totally automated workflow when pushing new data on the API repo, allowing everyone to generate nice documentation without any hassle. I must say, it competes easily with Postman
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Export Data Programmatically - MATLAB & Simulink
Export Data Programmatically ... Database Toolbox™ enables you to analyze data and export the results. To export data from the MATLAB workspace, use...
Read more >Call URL export programmatically
You can dynamically export data from a script or web service by calling a URL export from any programming language.
Read more >How to export data programmatically in Episerver.
Episerver provides us with a great GUI tool to export data from within the application. The idea is that you select your root...
Read more >Exporting Reporting Data Programmatically - Marketing Nation
Hi All,. I find the reporting in Marketo to be less flexible than I want bc I need to tie the email data...
Read more >How to programmatically export data from segment statistics?
I use segment statistics to generate a table of all the information I need. My question is how can I export the table...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That is interesting. Hadn’t realised the designer could be used in that way.
Unfortunately issue 2639 means I can’t use git sync with our corporate git repository, but if that ever gets resolved it looks promising.
I think this is definitely something suited for Inso, as we have export functions for Designer but not Core.