Exposing pipeline_id for commit status api
What does this MR do and why?
We are exposing pipeline_id response attribute for commit status APIs. This is to help the consumers understand which pipeline the status refers to.
Screenshots or screen recordings
For POST /projects/:id/statuses/:sha
And for GET /projects/:id/repository/commits/:sha/statuses
Before | After |
---|---|
How to set up and validate locally
- Trigger these APIs locally, pipeline_id should now be returned
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #207500 (closed)
Edited by Max Fan