Skip to content

Commit 713c1e9

Browse files
committed
Upgrade Java SDK to spec 1.19.4
1 parent abfc940 commit 713c1e9

File tree

247 files changed

+1110
-742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+1110
-742
lines changed

.openapi-generator/FILES

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ docs/LimitedUser.md
137137
docs/LimitedUserGroups.md
138138
docs/LimitedWorld.md
139139
docs/MIMEType.md
140+
docs/MiscellaneousApi.md
140141
docs/ModelFile.md
141142
docs/ModerateUserRequest.md
142143
docs/Notification.md
@@ -154,7 +155,6 @@ docs/Pending2FAResult.md
154155
docs/PerformanceLimiterInfo.md
155156
docs/PerformanceRatings.md
156157
docs/Permission.md
157-
docs/PermissionsApi.md
158158
docs/PlatformBuildInfo.md
159159
docs/PlayerModeration.md
160160
docs/PlayerModerationType.md
@@ -184,7 +184,6 @@ docs/Submission.md
184184
docs/Subscription.md
185185
docs/SubscriptionPeriod.md
186186
docs/Success.md
187-
docs/SystemApi.md
188187
docs/TiliaStatus.md
189188
docs/TiliaTOS.md
190189
docs/TokenBundle.md
@@ -202,6 +201,7 @@ docs/UpdateAvatarRequest.md
202201
docs/UpdateFavoriteGroupRequest.md
203202
docs/UpdateGroupGalleryRequest.md
204203
docs/UpdateGroupMemberRequest.md
204+
docs/UpdateGroupRepresentationRequest.md
205205
docs/UpdateGroupRequest.md
206206
docs/UpdateGroupRoleRequest.md
207207
docs/UpdateInviteMessageRequest.md
@@ -256,11 +256,10 @@ src/main/java/io/github/vrchatapi/api/GroupsApi.java
256256
src/main/java/io/github/vrchatapi/api/InstancesApi.java
257257
src/main/java/io/github/vrchatapi/api/InviteApi.java
258258
src/main/java/io/github/vrchatapi/api/JamsApi.java
259+
src/main/java/io/github/vrchatapi/api/MiscellaneousApi.java
259260
src/main/java/io/github/vrchatapi/api/NotificationsApi.java
260-
src/main/java/io/github/vrchatapi/api/PermissionsApi.java
261261
src/main/java/io/github/vrchatapi/api/PlayermoderationApi.java
262262
src/main/java/io/github/vrchatapi/api/PrintsApi.java
263-
src/main/java/io/github/vrchatapi/api/SystemApi.java
264263
src/main/java/io/github/vrchatapi/api/UsersApi.java
265264
src/main/java/io/github/vrchatapi/api/WorldsApi.java
266265
src/main/java/io/github/vrchatapi/auth/ApiKeyAuth.java
@@ -453,6 +452,7 @@ src/main/java/io/github/vrchatapi/model/UpdateAvatarRequest.java
453452
src/main/java/io/github/vrchatapi/model/UpdateFavoriteGroupRequest.java
454453
src/main/java/io/github/vrchatapi/model/UpdateGroupGalleryRequest.java
455454
src/main/java/io/github/vrchatapi/model/UpdateGroupMemberRequest.java
455+
src/main/java/io/github/vrchatapi/model/UpdateGroupRepresentationRequest.java
456456
src/main/java/io/github/vrchatapi/model/UpdateGroupRequest.java
457457
src/main/java/io/github/vrchatapi/model/UpdateGroupRoleRequest.java
458458
src/main/java/io/github/vrchatapi/model/UpdateInviteMessageRequest.java

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'io.github.vrchatapi'
7-
version = '1.19.3'
7+
version = '1.19.4'
88

99
buildscript {
1010
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "io.github.vrchatapi",
44
name := "vrchatapi",
5-
version := "1.19.3",
5+
version := "1.19.4",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/GroupsApi.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 &#x60;isRepresenting&#x60; is set to &#x60;true&#x60;, this flag will be set to &#x60;false&#x60; 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&lt;GroupRole&gt; updateGroupRole(groupId, groupRoleId, updateGroupRoleRequest)

0 commit comments

Comments
 (0)