summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-07-24 22:32:31 +0200
committerJohn Villalovos <john@sodarock.com>2022-07-26 22:41:59 -0700
commit66461ba519a85bfbd3cba284a0c8de11a3ac7cde (patch)
tree853f37fb1ca26aea5339f82b9c578469d1fde401 /docs
parent8d4f13b192afd5d4610eeaf2bbea71c3b6a25964 (diff)
downloadgitlab-66461ba519a85bfbd3cba284a0c8de11a3ac7cde.tar.gz
feat(groups): add support for shared projects API
Diffstat (limited to 'docs')
-rw-r--r--docs/gl_objects/groups.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/gl_objects/groups.rst b/docs/gl_objects/groups.rst
index b3eb332..71e955f 100644
--- a/docs/gl_objects/groups.rst
+++ b/docs/gl_objects/groups.rst
@@ -31,11 +31,15 @@ List a group's projects::
projects = group.projects.list()
+List a group's shared projects::
+
+ projects = group.shared_projects.list()
+
.. note::
- ``GroupProject`` objects returned by this API call are very limited, and do
- not provide all the features of ``Project`` objects. If you need to
- manipulate projects, create a new ``Project`` object::
+ ``GroupProject`` and ``SharedProject`` objects returned by these two API calls
+ are very limited, and do not provide all the features of ``Project`` objects.
+ If you need to manipulate projects, create a new ``Project`` object::
first_group_project = group.projects.list()[0]
manageable_project = gl.projects.get(first_group_project.id, lazy=True)