diff options
| author | Sebastian Ziebell <sebastian.ziebell@asquera.de> | 2013-03-07 00:15:57 +0100 |
|---|---|---|
| committer | Sebastian Ziebell <sebastian.ziebell@asquera.de> | 2013-03-07 00:15:57 +0100 |
| commit | 39114d259c6e4bd5bb60b18f561d06cc24e8c852 (patch) | |
| tree | 24bd635f0ab1b763cfb537b0d203945d1565d295 /doc/api/merge_requests.md | |
| parent | b5ef6d226864d3ea132d2c6e97b74b51f2b64a6f (diff) | |
| download | gitlab-ce-39114d259c6e4bd5bb60b18f561d06cc24e8c852.tar.gz | |
API: documentation contains infos to status codes in README file.
All the info to return codes from the API functions are available in the `README.md` file as suggested.
Diffstat (limited to 'doc/api/merge_requests.md')
| -rw-r--r-- | doc/api/merge_requests.md | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index 633aca78951..111c52112eb 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -41,12 +41,6 @@ Parameters: ] ``` -Return values: - -+ `200 Ok` on success and the list of merge requests -+ `401 Unauthorized` if user is not authenticated -+ `404 Not Found` if project ID not found - ## Get single MR @@ -89,12 +83,6 @@ Parameters: } ``` -Return values: - -+ `200 Ok` on success and the single merge request -+ `401 Unauthorized` if user is not authenticated -+ `404 Not Found` if project ID or merge request ID not found - ## Create MR @@ -140,14 +128,6 @@ Parameters: } ``` -Return values: - -+ `201 Created` on success and the created merge request -+ `400 Bad Request` if one of the required attributes is missing -+ `401 Unauthorize` if user is not authenticated or not allowed -+ `403 Forbidden` if user is not allowed to create a merge request -+ `404 Not Found` if project ID not found or something else fails - ## Update MR @@ -196,13 +176,6 @@ Parameters: } ``` -Return values: - -+ `200 Ok` on success and the updated merge request -+ `401 Unauthorize` if user is not authenticated or not allowed -+ `403 Forbidden` if user is not allowed to update the merge request -+ `404 Not Found` if project ID or merge request ID not found - ## Post comment to MR @@ -232,10 +205,3 @@ Parameters: "note":"text1" } ``` - -Return values: - -+ `201 Created` on success and the new comment -+ `400 Bad Request` if the required attribute note is not given -+ `401 Unauthorized` if user is not authenticated -+ `404 Not Found` if project ID or merge request ID not found |
