I have one workspace with a bunch of folders containing a lot of requests. When exporting, I can only choose the current, or another workspace. This exports everything in the workspace.
It would be great if I could choose which folders in the workspace to export, instead of exporting everything. This is useful e.g. when only a part of an APIs requests needs to be exported to the project repository.
馃憢 Thanks for opening your first issue! If you're reporting a 馃悶 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 馃巵, please provide real
use cases that would benefit. 馃應
To help make this a smooth process, please be sure you have first read the
contributing guidelines.
I like this idea. Would it be okay to just have the ability to export a single folder, or would you need to be able to export multiple?
Multiple folders would be great! E.g. I have a folder containing all requests for one part of the API, then another folder with all requests for another part of the API, I'd like to be able to choose those two folders to export, and skip all the rest random folders with other API calls.
This structure is legacy from my Postman times, and hadn't really figured out the workspace layout in insomnia yet, but I'm working towards that. But to do that, I want to be able to export separate folders, either one or more.
Sometimes I need to export a single request and share it with my colleague. Having exporting folders supported would be helpful, but then I would need to create a folder then put the request in it first. I think exporting requests as well would be better. I think the implementation will be more or less the same in either case.
As for the behavior, what I'm thinking is that exporting a request will naturally export the enclosing folder as well (if it's inside one).
This would be a very helpful improvement! Now when I want to copy a request or some specific folders, I have to create another workspace just for exporting them.
It should be fairly easy to implement this as a feature (I think). Anyone want to take a crack at it?
I would like to work on this.
I think I am going to implement exporting requests as well, as it's not that different from exporting multiple folders.
I think I will start in one of these weeks. :smile:
Awesome! Let me know if you need any help.
One thing to note, which you may have though of already, is you need to make sure the necessary environments are also exported. I think the only thing needed is to make sure the parent folders and the workspace environments remain included in the export.
Most helpful comment
I would like to work on this.
I think I am going to implement exporting requests as well, as it's not that different from exporting multiple folders.
I think I will start in one of these weeks. :smile: