From 66461ba519a85bfbd3cba284a0c8de11a3ac7cde Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Sun, 24 Jul 2022 22:32:31 +0200 Subject: feat(groups): add support for shared projects API --- docs/gl_objects/groups.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs/gl_objects') 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) -- cgit v1.2.1