Create a merge request dependency
POST
/api/v4/projects/{id}/merge_requests/{merge_request_iid}/blocks
Creates a merge request dependency between two merge requests. The merge request is blocked until the dependency merges.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Body
Section titled “Request Body”Media typeapplication/json
object
Examplegenerated
{ "blocking_merge_request_id": 1, "blocking_merge_request_iid": 1, "blocking_project_id": "example"}Responses
Section titled “Responses”Created
Bad Request
Not Found