File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,14 @@ public async Task<Group> GetAsync(GroupId groupId) =>
59
59
public async Task < IList < Group > > GetSubgroupsAsync ( GroupId groupId ) =>
60
60
await _httpFacade . GetPagedList < Group > ( $ "groups/{ groupId } /subgroups") ;
61
61
62
+ /// <summary>
63
+ /// Get a list of visible descendant groups of this group.
64
+ /// This endpoint can be accessed without authentication if the group is publicly accessible.
65
+ /// </summary>
66
+ /// <param name="groupId">The ID, path or <see cref="Group"/> of the group.</param>
67
+ public async Task < IList < Group > > GetDescendantGroupsAsync ( GroupId groupId ) =>
68
+ await _httpFacade . GetPagedList < Group > ( $ "groups/{ groupId } /descendant_groups") ;
69
+
62
70
/// <summary>
63
71
/// Get all groups that match your string in their name or path.
64
72
/// </summary>
Original file line number Diff line number Diff line change @@ -28,6 +28,13 @@ public interface IGroupsClient
28
28
/// <param name="groupId">The ID, path or <see cref="Group"/> of the group.</param>
29
29
Task < IList < Group > > GetSubgroupsAsync ( GroupId groupId ) ;
30
30
31
+ /// <summary>
32
+ /// Get a list of visible descendant groups of this group.
33
+ /// This endpoint can be accessed without authentication if the group is publicly accessible.
34
+ /// </summary>
35
+ /// <param name="groupId">The ID, path or <see cref="Group"/> of the group.</param>
36
+ Task < IList < Group > > GetDescendantGroupsAsync ( GroupId groupId ) ;
37
+
31
38
/// <summary>
32
39
/// Get all groups that match your string in their name or path.
33
40
/// </summary>
You can’t perform that action at this time.
0 commit comments