@@ -626,6 +628,7 @@ PUT /projects/:id/merge_requests/:merge_request_iid
...
@@ -626,6 +628,7 @@ PUT /projects/:id/merge_requests/:merge_request_iid
| `state_event` | string | no | New state (close/reopen) |
| `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 |
| `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. |
| `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.
Must include at least one non-required attribute from above.
...
@@ -634,7 +637,7 @@ 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,
"id":1,
"iid":1,
"iid":1,
"target_branch":"master",
"target_branch":"master",
"project_id":3,
"project_id":4,
"title":"test1",
"title":"test1",
"state":"opened",
"state":"opened",
"upvotes":0,
"upvotes":0,
...
@@ -655,7 +658,7 @@ Must include at least one non-required attribute from above.
...
@@ -655,7 +658,7 @@ Must include at least one non-required attribute from above.
"state":"active",
"state":"active",
"created_at":"2012-04-29T08:46:00Z"
"created_at":"2012-04-29T08:46:00Z"
},
},
"source_project_id":4,
"source_project_id":3,
"target_project_id":4,
"target_project_id":4,
"labels":[],
"labels":[],
"description":"description1",
"description":"description1",
...
@@ -682,6 +685,7 @@ Must include at least one non-required attribute from above.
...
@@ -682,6 +685,7 @@ Must include at least one non-required attribute from above.