Batch merge of API Tests

I have a branch called dev. Inside this branch I have many tests organized in many folders/subfolders under root.

I would like now to merge all of these tests into the main branch. Is there any way possible to merge all these tests at once - like from the top root folder?

I like very much how I can do this batch merge for the docs (i.e. the Default Module) - from the top for all of them.

Also for the Requests section - I don’t see a way to merge from the dev branch to main. Is there really no way to merge the requests to main? I’d also like to be able to do that in a batch mode.

This is also very important to us because to do a back up of our Project we clone the project under a different team. But the clone only picks up the main branch content. So we have no (easy) way to backup our work from the Requests / Tests sitting in the dev branch, into the cloned project.

Hi Sandu,

Thanks for reaching out about this feature. Currently, Apidog doesn’t support merging all tests from a branch to main at once, but I’ll share your feedback with our product team for evaluation. We’ll keep you updated if there are any changes.

Let me know if you have any other questions!

Sounds good. Any thoughts on the merges for Requests?

Hi Sandu, you can click “merge to main” to merge the requests.

That seems to only merge the endpoins from the Default Module.

Not the actual requests:

how can I get those from the dev branch into the main branch?

Hi Sandu,

Currently, Requests can’t be directly merged between branches as they’re designed more for temporary debugging. We recommend saving the Requests you want to merge as endpoints first—this will allow you to merge them via branches.

Could you share more about your use case? I’ll log this feedback and keep you updated on any changes.

We design and document first the APIs endpoints.

Then we use the Requests functionality not just as temporary location for sample HTTP requests but as a longer term workspace to organize actual instantiations of these endpoints by different organizațional dimensions: different folders for each developer, examples with different requests body payloads for the same endpoint, etc.

It’s basically valuable / reusable work that we don’t want to lose if an accidental project delete occurs.

If there was a way for eg to have project snapshots (that include Requests / Tests / Endpoints from all branches) taken and stored automatically by Apidog - that allow us to revert / restore to a particular snapshot of the project, that would be another way to solve our need.

Hi Sandu,

Thank you for sharing your detailed use case and backup needs—this is incredibly valuable for understanding real-world scenarios!

Currently, features like recycle bin, history for Endpoints/Schemas/Scenarios are available, and endpoint snapshots are already on our roadmap.

I’ll share how you use Request and the “full project snapshot” requirement you mentioned with the product team for evaluation.I’ll keep you updated on any progress or decisions.

Let me know if you have further questions!

Sounds good. Thank you for listening. Does the Recycle Bin also work for restoring a deleted project or does it only handle various resources within a project?

The Recycle Bin is primarily for restoring various resources within a project and does not support recovering deleted projects.