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/groups.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/groups.md')
| -rw-r--r-- | doc/api/groups.md | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md index c97851a5db3..25b9741f68a 100644 --- a/doc/api/groups.md +++ b/doc/api/groups.md @@ -17,12 +17,6 @@ GET /groups ] ``` -Return values: - -+ `200 Ok` on success and list of groups -+ `401 Unauthorized` if user is not authenticated -+ `404 Not Found` if something fails - ## Details of a group @@ -36,12 +30,6 @@ Parameters: + `id` (required) - The ID of a group -Return values: - -+ `200 Ok` on success and the details of a group -+ `401 Unauthorized` if user not authenticated -+ `404 Not Found` if group ID not found - ## New group @@ -56,10 +44,3 @@ Parameters: + `name` (required) - The name of the group + `path` (required) - The path of the group -Return valueS: - -+ `201 Created` on success and the newly created group -+ `400 Bad Request` if one of the required attributes not given -+ `401 Unauthorized` if user is not authenticated -+ `404 Not Found` if something fails - |
