@@ -6,6 +6,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
66| ------------- | ------------- | -------------|
77| [ ** addGroupGalleryImage** ] ( GroupsApi.md#addGroupGalleryImage ) | ** POST** /groups/{groupId}/galleries/{groupGalleryId}/images | Add Group Gallery Image |
88| [ ** addGroupMemberRole** ] ( GroupsApi.md#addGroupMemberRole ) | ** PUT** /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Add Role to GroupMember |
9+ | [ ** addGroupPost** ] ( GroupsApi.md#addGroupPost ) | ** POST** /groups/{groupId}/posts | Create a post in a Group |
910| [ ** banGroupMember** ] ( GroupsApi.md#banGroupMember ) | ** POST** /groups/{groupId}/bans | Ban Group Member |
1011| [ ** cancelGroupRequest** ] ( GroupsApi.md#cancelGroupRequest ) | ** DELETE** /groups/{groupId}/requests | Cancel Group Join Request |
1112| [ ** createGroup** ] ( GroupsApi.md#createGroup ) | ** POST** /groups | Create Group |
@@ -18,6 +19,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
1819| [ ** deleteGroupGallery** ] ( GroupsApi.md#deleteGroupGallery ) | ** DELETE** /groups/{groupId}/galleries/{groupGalleryId} | Delete Group Gallery |
1920| [ ** deleteGroupGalleryImage** ] ( GroupsApi.md#deleteGroupGalleryImage ) | ** DELETE** /groups/{groupId}/galleries/{groupGalleryId}/images/{groupGalleryImageId} | Delete Group Gallery Image |
2021| [ ** deleteGroupInvite** ] ( GroupsApi.md#deleteGroupInvite ) | ** DELETE** /groups/{groupId}/invites/{userId} | Delete User Invite |
22+ | [ ** deleteGroupPost** ] ( GroupsApi.md#deleteGroupPost ) | ** DELETE** /groups/{groupId}/posts/{notificationId} | Delete a Group post |
2123| [ ** deleteGroupRole** ] ( GroupsApi.md#deleteGroupRole ) | ** DELETE** /groups/{groupId}/roles/{groupRoleId} | Delete Group Role |
2224| [ ** getGroup** ] ( GroupsApi.md#getGroup ) | ** GET** /groups/{groupId} | Get Group by ID |
2325| [ ** getGroupAnnouncements** ] ( GroupsApi.md#getGroupAnnouncements ) | ** GET** /groups/{groupId}/announcement | Get Group Announcement |
@@ -29,6 +31,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
2931| [ ** getGroupMember** ] ( GroupsApi.md#getGroupMember ) | ** GET** /groups/{groupId}/members/{userId} | Get Group Member |
3032| [ ** getGroupMembers** ] ( GroupsApi.md#getGroupMembers ) | ** GET** /groups/{groupId}/members | List Group Members |
3133| [ ** getGroupPermissions** ] ( GroupsApi.md#getGroupPermissions ) | ** GET** /groups/{groupId}/permissions | List Group Permissions |
34+ | [ ** getGroupPost** ] ( GroupsApi.md#getGroupPost ) | ** GET** /groups/{groupId}/posts | Get posts from a Group |
3235| [ ** getGroupRequests** ] ( GroupsApi.md#getGroupRequests ) | ** GET** /groups/{groupId}/requests | Get Group Join Requests |
3336| [ ** getGroupRoles** ] ( GroupsApi.md#getGroupRoles ) | ** GET** /groups/{groupId}/roles | Get Group Roles |
3437| [ ** joinGroup** ] ( GroupsApi.md#joinGroup ) | ** POST** /groups/{groupId}/join | Join Group |
@@ -194,6 +197,78 @@ public class Example {
194197| ** 401** | Error response due to missing auth cookie. | - |
195198| ** 404** | Error response when trying to perform operations on a non-existing group. | - |
196199
200+ <a name =" addGroupPost " ></a >
201+ # ** addGroupPost**
202+ > GroupPost addGroupPost(groupId, createGroupPostRequest)
203+
204+ Create a post in a Group
205+
206+ Create a post in a Group.
207+
208+ ### Example
209+ ``` java
210+ // Import classes:
211+ import io.github.vrchatapi.ApiClient ;
212+ import io.github.vrchatapi.ApiException ;
213+ import io.github.vrchatapi.Configuration ;
214+ import io.github.vrchatapi.auth.* ;
215+ import io.github.vrchatapi.models.* ;
216+ import io.github.vrchatapi.api.GroupsApi ;
217+
218+ public class Example {
219+ public static void main (String [] args ) {
220+ ApiClient defaultClient = Configuration . getDefaultApiClient();
221+ defaultClient. setBasePath(" https://api.vrchat.cloud/api/1" );
222+
223+ // Configure API key authorization: authCookie
224+ ApiKeyAuth authCookie = (ApiKeyAuth ) defaultClient. getAuthentication(" authCookie" );
225+ authCookie. setApiKey(" YOUR API KEY" );
226+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
227+ // authCookie.setApiKeyPrefix("Token");
228+
229+ GroupsApi apiInstance = new GroupsApi (defaultClient);
230+ String groupId = " grp_00000000-0000-0000-0000-000000000000" ; // String | Must be a valid group ID.
231+ CreateGroupPostRequest createGroupPostRequest = new CreateGroupPostRequest (); // CreateGroupPostRequest |
232+ try {
233+ GroupPost result = apiInstance. addGroupPost(groupId, createGroupPostRequest);
234+ System . out. println(result);
235+ } catch (ApiException e) {
236+ System . err. println(" Exception when calling GroupsApi#addGroupPost" );
237+ System . err. println(" Status code: " + e. getCode());
238+ System . err. println(" Reason: " + e. getResponseBody());
239+ System . err. println(" Response headers: " + e. getResponseHeaders());
240+ e. printStackTrace();
241+ }
242+ }
243+ }
244+ ```
245+
246+ ### Parameters
247+
248+ | Name | Type | Description | Notes |
249+ | ------------- | ------------- | ------------- | -------------|
250+ | ** groupId** | ** String** | Must be a valid group ID. | |
251+ | ** createGroupPostRequest** | [ ** CreateGroupPostRequest** ] ( CreateGroupPostRequest.md ) | | |
252+
253+ ### Return type
254+
255+ [ ** GroupPost** ] ( GroupPost.md )
256+
257+ ### Authorization
258+
259+ [ authCookie] ( ../README.md#authCookie )
260+
261+ ### HTTP request headers
262+
263+ - ** Content-Type** : application/json
264+ - ** Accept** : application/json
265+
266+ ### HTTP response details
267+ | Status code | Description | Response headers |
268+ | -------------| -------------| ------------------|
269+ | ** 200** | Returns a GroupPost object. | - |
270+ | ** 401** | Error response due to missing auth cookie. | - |
271+
197272<a name =" banGroupMember " ></a >
198273# ** banGroupMember**
199274> GroupMember banGroupMember(groupId, banGroupMemberRequest)
@@ -1062,7 +1137,81 @@ null (empty response body)
10621137| Status code | Description | Response headers |
10631138| -------------| -------------| ------------------|
10641139| ** 200** | OK | - |
1140+ | ** 400** | Bad request error response when deleting a group invite | - |
1141+ | ** 401** | Error response due to missing auth cookie. | - |
1142+
1143+ <a name =" deleteGroupPost " ></a >
1144+ # ** deleteGroupPost**
1145+ > Success deleteGroupPost(groupId, notificationId)
1146+
1147+ Delete a Group post
1148+
1149+ Delete a Group post
1150+
1151+ ### Example
1152+ ``` java
1153+ // Import classes:
1154+ import io.github.vrchatapi.ApiClient ;
1155+ import io.github.vrchatapi.ApiException ;
1156+ import io.github.vrchatapi.Configuration ;
1157+ import io.github.vrchatapi.auth.* ;
1158+ import io.github.vrchatapi.models.* ;
1159+ import io.github.vrchatapi.api.GroupsApi ;
1160+
1161+ public class Example {
1162+ public static void main (String [] args ) {
1163+ ApiClient defaultClient = Configuration . getDefaultApiClient();
1164+ defaultClient. setBasePath(" https://api.vrchat.cloud/api/1" );
1165+
1166+ // Configure API key authorization: authCookie
1167+ ApiKeyAuth authCookie = (ApiKeyAuth ) defaultClient. getAuthentication(" authCookie" );
1168+ authCookie. setApiKey(" YOUR API KEY" );
1169+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
1170+ // authCookie.setApiKeyPrefix("Token");
1171+
1172+ GroupsApi apiInstance = new GroupsApi (defaultClient);
1173+ String groupId = " grp_00000000-0000-0000-0000-000000000000" ; // String | Must be a valid group ID.
1174+ String notificationId = " notificationId_example" ; // String | Must be a valid notification ID.
1175+ try {
1176+ Success result = apiInstance. deleteGroupPost(groupId, notificationId);
1177+ System . out. println(result);
1178+ } catch (ApiException e) {
1179+ System . err. println(" Exception when calling GroupsApi#deleteGroupPost" );
1180+ System . err. println(" Status code: " + e. getCode());
1181+ System . err. println(" Reason: " + e. getResponseBody());
1182+ System . err. println(" Response headers: " + e. getResponseHeaders());
1183+ e. printStackTrace();
1184+ }
1185+ }
1186+ }
1187+ ```
1188+
1189+ ### Parameters
1190+
1191+ | Name | Type | Description | Notes |
1192+ | ------------- | ------------- | ------------- | -------------|
1193+ | ** groupId** | ** String** | Must be a valid group ID. | |
1194+ | ** notificationId** | ** String** | Must be a valid notification ID. | |
1195+
1196+ ### Return type
1197+
1198+ [ ** Success** ] ( Success.md )
1199+
1200+ ### Authorization
1201+
1202+ [ authCookie] ( ../README.md#authCookie )
1203+
1204+ ### HTTP request headers
1205+
1206+ - ** Content-Type** : Not defined
1207+ - ** Accept** : application/json
1208+
1209+ ### HTTP response details
1210+ | Status code | Description | Response headers |
1211+ | -------------| -------------| ------------------|
1212+ | ** 200** | Response after deleting a group post. | - |
10651213| ** 401** | Error response due to missing auth cookie. | - |
1214+ | ** 404** | Response after deleting a group post. | - |
10661215
10671216<a name =" deleteGroupRole " ></a >
10681217# ** deleteGroupRole**
@@ -1884,6 +2033,82 @@ public class Example {
18842033| ** 401** | Error response due to missing auth cookie. | - |
18852034| ** 404** | Error response when trying to perform operations on a non-existing group. | - |
18862035
2036+ <a name =" getGroupPost " ></a >
2037+ # ** getGroupPost**
2038+ > GroupPost getGroupPost(groupId, n, offset, publicOnly)
2039+
2040+ Get posts from a Group
2041+
2042+ Get posts from a Group
2043+
2044+ ### Example
2045+ ``` java
2046+ // Import classes:
2047+ import io.github.vrchatapi.ApiClient ;
2048+ import io.github.vrchatapi.ApiException ;
2049+ import io.github.vrchatapi.Configuration ;
2050+ import io.github.vrchatapi.auth.* ;
2051+ import io.github.vrchatapi.models.* ;
2052+ import io.github.vrchatapi.api.GroupsApi ;
2053+
2054+ public class Example {
2055+ public static void main (String [] args ) {
2056+ ApiClient defaultClient = Configuration . getDefaultApiClient();
2057+ defaultClient. setBasePath(" https://api.vrchat.cloud/api/1" );
2058+
2059+ // Configure API key authorization: authCookie
2060+ ApiKeyAuth authCookie = (ApiKeyAuth ) defaultClient. getAuthentication(" authCookie" );
2061+ authCookie. setApiKey(" YOUR API KEY" );
2062+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
2063+ // authCookie.setApiKeyPrefix("Token");
2064+
2065+ GroupsApi apiInstance = new GroupsApi (defaultClient);
2066+ String groupId = " grp_00000000-0000-0000-0000-000000000000" ; // String | Must be a valid group ID.
2067+ Integer n = 60 ; // Integer | The number of objects to return.
2068+ Integer offset = 56 ; // Integer | A zero-based offset from the default object sorting from where search results start.
2069+ Boolean publicOnly = true ; // Boolean | See public posts only.
2070+ try {
2071+ GroupPost result = apiInstance. getGroupPost(groupId, n, offset, publicOnly);
2072+ System . out. println(result);
2073+ } catch (ApiException e) {
2074+ System . err. println(" Exception when calling GroupsApi#getGroupPost" );
2075+ System . err. println(" Status code: " + e. getCode());
2076+ System . err. println(" Reason: " + e. getResponseBody());
2077+ System . err. println(" Response headers: " + e. getResponseHeaders());
2078+ e. printStackTrace();
2079+ }
2080+ }
2081+ }
2082+ ```
2083+
2084+ ### Parameters
2085+
2086+ | Name | Type | Description | Notes |
2087+ | ------------- | ------------- | ------------- | -------------|
2088+ | ** groupId** | ** String** | Must be a valid group ID. | |
2089+ | ** n** | ** Integer** | The number of objects to return. | [ optional] [ default to 60] |
2090+ | ** offset** | ** Integer** | A zero-based offset from the default object sorting from where search results start. | [ optional] |
2091+ | ** publicOnly** | ** Boolean** | See public posts only. | [ optional] |
2092+
2093+ ### Return type
2094+
2095+ [ ** GroupPost** ] ( GroupPost.md )
2096+
2097+ ### Authorization
2098+
2099+ [ authCookie] ( ../README.md#authCookie )
2100+
2101+ ### HTTP request headers
2102+
2103+ - ** Content-Type** : Not defined
2104+ - ** Accept** : application/json
2105+
2106+ ### HTTP response details
2107+ | Status code | Description | Response headers |
2108+ | -------------| -------------| ------------------|
2109+ | ** 200** | Returns a GroupPost object. | - |
2110+ | ** 401** | Error response due to missing auth cookie. | - |
2111+
18872112<a name =" getGroupRequests " ></a >
18882113# ** getGroupRequests**
18892114> List< ; GroupMember> ; getGroupRequests(groupId, n, offset)
0 commit comments