@@ -2103,11 +2103,11 @@ public class Example {
21032103
21042104<a name =" joinGroup " ></a >
21052105# ** joinGroup**
2106- > Group joinGroup(groupId)
2106+ > GroupMember joinGroup(groupId)
21072107
21082108Join Group
21092109
2110- Join a Group by ID and returns the joined Group .
2110+ Join a Group by ID and returns the member object .
21112111
21122112### Example
21132113``` java
@@ -2139,7 +2139,7 @@ public class Example {
21392139 GroupsApi apiInstance = new GroupsApi (defaultClient);
21402140 String groupId = " grp_00000000-0000-0000-0000-000000000000" ; // String | Must be a valid group ID.
21412141 try {
2142- Group result = apiInstance. joinGroup(groupId);
2142+ GroupMember result = apiInstance. joinGroup(groupId);
21432143 System . out. println(result);
21442144 } catch (ApiException e) {
21452145 System . err. println(" Exception when calling GroupsApi#joinGroup" );
@@ -2160,7 +2160,7 @@ public class Example {
21602160
21612161### Return type
21622162
2163- [ ** Group ** ] ( Group .md)
2163+ [ ** GroupMember ** ] ( GroupMember .md)
21642164
21652165### Authorization
21662166
@@ -2174,7 +2174,7 @@ public class Example {
21742174### HTTP response details
21752175| Status code | Description | Response headers |
21762176| -------------| -------------| ------------------|
2177- | ** 200** | Returns a single Group object . | - |
2177+ | ** 200** | Returns a list of GroupMember objects . | - |
21782178| ** 400** | Error response when trying to join a group that the user is already a member of. | - |
21792179| ** 401** | Error response due to missing apiKey or auth cookie. | - |
21802180| ** 404** | Error response when trying to perform operations on a non-existing group. | - |
0 commit comments