Add the ability to enable/disable merge trains programmatically

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

As a DevOps engineer, I want the ability to enable merge trains programmatically.

Proposal

Add the ability to enable merge trains to the projects API.

Further details

This will also require enabling Merged Result pipelines. A separate issue and endpoint may be required for that OR we can enable both with this endpoint.

With the ability to enable merge trains via the API, we will have the ability to automate the management of our projects without requiring manual intervention.

Edited by 🤖 GitLab Bot 🤖