@@ -626,6 +628,7 @@ PUT /projects/:id/merge_requests/:merge_request_iid
| `state_event` | string | no | New state (close/reopen) |
| `remove_source_branch` | boolean | no | Flag indicating if a merge request should remove the source branch when merging |
| `discussion_locked` | boolean | no | Flag indicating if the merge request's discussion is locked. If the discussion is locked only project members can add, edit or resolve comments. |
| `allow_maintainer_to_push` | boolean | no | Wether or not a maintainer of the target project can push to the source branch |
Must include at least one non-required attribute from above.
...
...
@@ -634,7 +637,7 @@ Must include at least one non-required attribute from above.
"id":1,
"iid":1,
"target_branch":"master",
"project_id":3,
"project_id":4,
"title":"test1",
"state":"opened",
"upvotes":0,
...
...
@@ -655,7 +658,7 @@ Must include at least one non-required attribute from above.
"state":"active",
"created_at":"2012-04-29T08:46:00Z"
},
"source_project_id":4,
"source_project_id":3,
"target_project_id":4,
"labels":[],
"description":"description1",
...
...
@@ -682,6 +685,7 @@ Must include at least one non-required attribute from above.