summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-12-31 16:55:19 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2017-12-31 16:55:19 +0100
commit928865ef3533401163192faa0889019bc6b0cd2a (patch)
tree7e42a50b3c3c3da9dd507ac4401a3298dbdcc299 /docs
parent81c9d1f95ef710ccd2472bc9fe4267d8a8be4ae1 (diff)
downloadgitlab-928865ef3533401163192faa0889019bc6b0cd2a.tar.gz
Add support for subgroups listing
Closes #390
Diffstat (limited to 'docs')
-rw-r--r--docs/gl_objects/groups.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/gl_objects/groups.rst b/docs/gl_objects/groups.rst
index 5e413af..9006ceb 100644
--- a/docs/gl_objects/groups.rst
+++ b/docs/gl_objects/groups.rst
@@ -72,6 +72,25 @@ Remove a group:
:start-after: # delete
:end-before: # end delete
+Subgroups
+=========
+
+Reference
+---------
+
+* v4 API:
+
+ + :class:`gitlab.v4.objects.GroupSubgroup`
+ + :class:`gitlab.v4.objects.GroupSubgroupManager`
+ + :attr:`gitlab.v4.objects.Group.subgroups`
+
+Examples
+--------
+
+List the subgroups for a group::
+
+ subgroups = group.subgroups.list()
+
Group members
=============