diff options
| author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-14 10:17:52 +0200 |
|---|---|---|
| committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-14 10:17:52 +0200 |
| commit | cbc90565b55d89704d64bc48db323b82b739a873 (patch) | |
| tree | f6bb4220068bafab7a1b1a57d2b13631a553c4a2 /doc/api/merge_requests.md | |
| parent | 04ad197bcc41a26da2c2a80c5b4ffbfad2c296ee (diff) | |
| download | gitlab-ce-cbc90565b55d89704d64bc48db323b82b739a873.tar.gz | |
Do label validation for issues/merge requests API
Diffstat (limited to 'doc/api/merge_requests.md')
| -rw-r--r-- | doc/api/merge_requests.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index a46472a0812..f56e968e7c2 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -136,6 +136,9 @@ Parameters: } ``` +If the operation is successful, 200 and the newly created merge request is returned. +If an error occurs, an error number and a message explaining the reason is returned. + ## Update MR Updates an existing merge request. You can change branches, title, or even close the MR. @@ -183,15 +186,18 @@ Parameters: } ``` +If the operation is successful, 200 and the updated merge request is returned. +If an error occurs, an error number and a message explaining the reason is returned. + ## Accept MR -Merge changes submitted with MR usign this API. +Merge changes submitted with MR using this API. If merge success you get 200 OK. If it has some conflicts and can not be merged - you get 405 and error message 'Branch cannot be merged' -If merge request is already merged or closed - you get 405 and error message 'Method Not Allowed' +If merge request is already merged or closed - you get 405 and error message 'Method Not Allowed' If you dont have permissions to accept this merge request - you get 401 |
