Create new endpoint to return list of all bridge jobs in a project
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
As a developer, I would like to have an API that will return me the list of all bridge jobs in a specific project
Intended users
- Developer
- Development Team Lead
- Product Manager
User experience goal
As of now there isn't any API that returns bridge jobs of any project.
There is an issue #207996 (closed) which will return bridge jobs for individual pipeline. But this will require the user to get list of all pipelines in a project and query the bridge jobs for every pipeline one-by-one. This will end up in a lot of API calls. This not going to be convenient and will not have a good performance.
We are looking out a way to monitor project as a whole.
Proposal
We can have a GET :id/bridges
endpoint (similar to the GET :id/jobs
endpoint) that will return all the bridge jobs associated with a project
Further details
As this feature might be an additional support to discussions and work being done for #207996 (closed), we can use the Ci::Bridge
class and Entities::Bridge
entity.