@@ -46,6 +46,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
4646| [ ** updateGroupGallery** ] ( GroupsApi.md#updateGroupGallery ) | ** PUT** /groups/{groupId}/galleries/{groupGalleryId} | Update Group Gallery |
4747| [ ** updateGroupMember** ] ( GroupsApi.md#updateGroupMember ) | ** PUT** /groups/{groupId}/members/{userId} | Update Group Member |
4848| [ ** updateGroupPost** ] ( GroupsApi.md#updateGroupPost ) | ** PUT** /groups/{groupId}/posts/{notificationId} | Edits a Group post |
49+ | [ ** updateGroupRepresentation** ] ( GroupsApi.md#updateGroupRepresentation ) | ** PUT** /groups/{groupId}/representation | Update Group Representation |
4950| [ ** updateGroupRole** ] ( GroupsApi.md#updateGroupRole ) | ** PUT** /groups/{groupId}/roles/{groupRoleId} | Update Group Role |
5051
5152
@@ -3138,6 +3139,79 @@ public class Example {
31383139| ** 401** | Error response due to missing auth cookie. | - |
31393140| ** 404** | Response after deleting a group post. | - |
31403141
3142+ <a name =" updateGroupRepresentation " ></a >
3143+ # ** updateGroupRepresentation**
3144+ > Success updateGroupRepresentation(groupId, updateGroupRepresentationRequest)
3145+
3146+ Update Group Representation
3147+
3148+ Updates whether the user is representing the group. When ` ; isRepresenting` ; is set to ` ; true` ; , this flag will be set to ` ; false` ; for all other groups
3149+
3150+ ### Example
3151+ ``` java
3152+ // Import classes:
3153+ import io.github.vrchatapi.ApiClient ;
3154+ import io.github.vrchatapi.ApiException ;
3155+ import io.github.vrchatapi.Configuration ;
3156+ import io.github.vrchatapi.auth.* ;
3157+ import io.github.vrchatapi.models.* ;
3158+ import io.github.vrchatapi.api.GroupsApi ;
3159+
3160+ public class Example {
3161+ public static void main (String [] args ) {
3162+ ApiClient defaultClient = Configuration . getDefaultApiClient();
3163+ defaultClient. setBasePath(" https://api.vrchat.cloud/api/1" );
3164+
3165+ // Configure API key authorization: authCookie
3166+ ApiKeyAuth authCookie = (ApiKeyAuth ) defaultClient. getAuthentication(" authCookie" );
3167+ authCookie. setApiKey(" YOUR API KEY" );
3168+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
3169+ // authCookie.setApiKeyPrefix("Token");
3170+
3171+ GroupsApi apiInstance = new GroupsApi (defaultClient);
3172+ String groupId = " grp_00000000-0000-0000-0000-000000000000" ; // String | Must be a valid group ID.
3173+ UpdateGroupRepresentationRequest updateGroupRepresentationRequest = new UpdateGroupRepresentationRequest (); // UpdateGroupRepresentationRequest |
3174+ try {
3175+ Success result = apiInstance. updateGroupRepresentation(groupId, updateGroupRepresentationRequest);
3176+ System . out. println(result);
3177+ } catch (ApiException e) {
3178+ System . err. println(" Exception when calling GroupsApi#updateGroupRepresentation" );
3179+ System . err. println(" Status code: " + e. getCode());
3180+ System . err. println(" Reason: " + e. getResponseBody());
3181+ System . err. println(" Response headers: " + e. getResponseHeaders());
3182+ e. printStackTrace();
3183+ }
3184+ }
3185+ }
3186+ ```
3187+
3188+ ### Parameters
3189+
3190+ | Name | Type | Description | Notes |
3191+ | ------------- | ------------- | ------------- | -------------|
3192+ | ** groupId** | ** String** | Must be a valid group ID. | |
3193+ | ** updateGroupRepresentationRequest** | [ ** UpdateGroupRepresentationRequest** ] ( UpdateGroupRepresentationRequest.md ) | | |
3194+
3195+ ### Return type
3196+
3197+ [ ** Success** ] ( Success.md )
3198+
3199+ ### Authorization
3200+
3201+ [ authCookie] ( ../README.md#authCookie )
3202+
3203+ ### HTTP request headers
3204+
3205+ - ** Content-Type** : application/json
3206+ - ** Accept** : application/json
3207+
3208+ ### HTTP response details
3209+ | Status code | Description | Response headers |
3210+ | -------------| -------------| ------------------|
3211+ | ** 200** | Successful response after updating group representation. | - |
3212+ | ** 401** | Error response due to missing auth cookie. | - |
3213+ | ** 403** | Error response when trying to perform operations on a group you are not member of. | - |
3214+
31413215<a name =" updateGroupRole " ></a >
31423216# ** updateGroupRole**
31433217> List< ; GroupRole> ; updateGroupRole(groupId, groupRoleId, updateGroupRoleRequest)
0 commit comments