diff options
author | Rémy Coutable <remy@rymai.me> | 2016-10-31 18:37:13 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-10-31 18:47:30 +0100 |
commit | e5c6f943fe6e33510813f05a6f7e6d56af47461a (patch) | |
tree | d93062daf78ef0179cf96c071cdb999e0ccca74e /doc/api | |
parent | a60cc42b262cb63ce5d2284f1f3f41d6521daa14 (diff) | |
download | gitlab-ce-e5c6f943fe6e33510813f05a6f7e6d56af47461a.tar.gz |
Backport Group API code that was added in EE onlybackport-ee-js-groups-api
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/groups.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md index e81d6f9de4b..b56d74d25e0 100644 --- a/doc/api/groups.md +++ b/doc/api/groups.md @@ -2,7 +2,12 @@ ## List groups -Get a list of groups. (As user: my groups, as admin: all groups) +Get a list of groups. (As user: my groups or all available, as admin: all groups). + +Parameters: + +- `all_available` (optional) - if passed, show all groups you have access to +- `skip_groups` (optional)(array of group IDs) - if passed, skip groups ``` GET /groups @@ -21,7 +26,6 @@ GET /groups You can search for groups by name or path, see below. - ## List a group's projects Get a list of projects in this group. |