Skip to content

Commit b9d5ba1

Browse files
committed
Upgrade Java SDK to spec 1.16.6
1 parent 8ceaf11 commit b9d5ba1

File tree

165 files changed

+1118
-184
lines changed

Some content is hidden

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

165 files changed

+1118
-184
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ docs/PlayerModerationType.md
102102
docs/PlayermoderationApi.md
103103
docs/Region.md
104104
docs/ReleaseStatus.md
105+
docs/RepresentedGroup.md
105106
docs/RequestInviteRequest.md
106107
docs/RespondGroupJoinRequest.md
107108
docs/Response.md
@@ -271,6 +272,7 @@ src/main/java/io/github/vrchatapi/model/PlayerModeration.java
271272
src/main/java/io/github/vrchatapi/model/PlayerModerationType.java
272273
src/main/java/io/github/vrchatapi/model/Region.java
273274
src/main/java/io/github/vrchatapi/model/ReleaseStatus.java
275+
src/main/java/io/github/vrchatapi/model/RepresentedGroup.java
274276
src/main/java/io/github/vrchatapi/model/RequestInviteRequest.java
275277
src/main/java/io/github/vrchatapi/model/RespondGroupJoinRequest.java
276278
src/main/java/io/github/vrchatapi/model/Response.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.16.5'
7+
version = '1.16.6'
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.16.5",
5+
version := "1.16.6",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/CreateAvatarRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
|**releaseStatus** | **ReleaseStatus** | | [optional] |
1717
|**version** | **BigDecimal** | | [optional] |
1818
|**unityPackageUrl** | **String** | | [optional] |
19+
|**unityVersion** | **String** | | [optional] |
1920

2021

2122

docs/GroupAuditLogEntry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
|**createdAt** | **OffsetDateTime** | | [optional] |
1212
|**groupId** | **String** | | [optional] |
1313
|**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] |
14-
|**actorDisplayname** | **String** | | [optional] |
14+
|**actorDisplayName** | **String** | | [optional] |
1515
|**targetId** | **String** | Typically GroupID or GroupRoleID, but could be other types of IDs. | [optional] |
1616
|**eventType** | **String** | The type of event that occurred. This is a string that is prefixed with the type of object that the event occurred on. For example, a group role update event would be prefixed with `group.role`. | [optional] |
1717
|**description** | **String** | A human-readable description of the event. | [optional] |

docs/RepresentedGroup.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
3+
# RepresentedGroup
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**name** | **String** | | [optional] |
11+
|**shortCode** | **String** | | [optional] |
12+
|**discriminator** | **String** | | [optional] |
13+
|**description** | **String** | | [optional] |
14+
|**iconId** | **String** | | [optional] |
15+
|**iconUrl** | **String** | | [optional] |
16+
|**bannerId** | **String** | | [optional] |
17+
|**bannerUrl** | **String** | | [optional] |
18+
|**privacy** | **GroupPrivacy** | | [optional] |
19+
|**ownerId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] |
20+
|**memberCount** | **Integer** | | [optional] |
21+
|**groupId** | **String** | | [optional] |
22+
|**memberVisibility** | **GroupUserVisibility** | | [optional] |
23+
|**isRepresenting** | **Boolean** | | [optional] |
24+
25+
26+

docs/UpdateAvatarRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
|**releaseStatus** | **ReleaseStatus** | | [optional] |
1717
|**version** | **BigDecimal** | | [optional] |
1818
|**unityPackageUrl** | **String** | | [optional] |
19+
|**unityVersion** | **String** | | [optional] |
1920

2021

2122

docs/UsersApi.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
88
| [**getUserByName**](UsersApi.md#getUserByName) | **GET** /users/{username}/name | Get User by Username |
99
| [**getUserGroupRequests**](UsersApi.md#getUserGroupRequests) | **GET** /users/{userId}/groups/requested | Get User Group Requests |
1010
| [**getUserGroups**](UsersApi.md#getUserGroups) | **GET** /users/{userId}/groups | Get User Groups |
11+
| [**getUserRepresentedGroup**](UsersApi.md#getUserRepresentedGroup) | **GET** /users/{userId}/groups/represented | Get user's current represented group |
1112
| [**searchUsers**](UsersApi.md#searchUsers) | **GET** /users | Search All Users |
1213
| [**updateUser**](UsersApi.md#updateUser) | **PUT** /users/{userId} | Update User Info |
1314

@@ -292,6 +293,76 @@ public class Example {
292293
| **200** | Returns a list of Group objects. | - |
293294
| **401** | Error response due to missing auth cookie. | - |
294295

296+
<a name="getUserRepresentedGroup"></a>
297+
# **getUserRepresentedGroup**
298+
> RepresentedGroup getUserRepresentedGroup(userId)
299+
300+
Get user&#39;s current represented group
301+
302+
Returns the current group that the user is currently representing
303+
304+
### Example
305+
```java
306+
// Import classes:
307+
import io.github.vrchatapi.ApiClient;
308+
import io.github.vrchatapi.ApiException;
309+
import io.github.vrchatapi.Configuration;
310+
import io.github.vrchatapi.auth.*;
311+
import io.github.vrchatapi.models.*;
312+
import io.github.vrchatapi.api.UsersApi;
313+
314+
public class Example {
315+
public static void main(String[] args) {
316+
ApiClient defaultClient = Configuration.getDefaultApiClient();
317+
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
318+
319+
// Configure API key authorization: authCookie
320+
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
321+
authCookie.setApiKey("YOUR API KEY");
322+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
323+
//authCookie.setApiKeyPrefix("Token");
324+
325+
UsersApi apiInstance = new UsersApi(defaultClient);
326+
String userId = "userId_example"; // String | Must be a valid user ID.
327+
try {
328+
RepresentedGroup result = apiInstance.getUserRepresentedGroup(userId);
329+
System.out.println(result);
330+
} catch (ApiException e) {
331+
System.err.println("Exception when calling UsersApi#getUserRepresentedGroup");
332+
System.err.println("Status code: " + e.getCode());
333+
System.err.println("Reason: " + e.getResponseBody());
334+
System.err.println("Response headers: " + e.getResponseHeaders());
335+
e.printStackTrace();
336+
}
337+
}
338+
}
339+
```
340+
341+
### Parameters
342+
343+
| Name | Type | Description | Notes |
344+
|------------- | ------------- | ------------- | -------------|
345+
| **userId** | **String**| Must be a valid user ID. | |
346+
347+
### Return type
348+
349+
[**RepresentedGroup**](RepresentedGroup.md)
350+
351+
### Authorization
352+
353+
[authCookie](../README.md#authCookie)
354+
355+
### HTTP request headers
356+
357+
- **Content-Type**: Not defined
358+
- **Accept**: application/json
359+
360+
### HTTP response details
361+
| Status code | Description | Response headers |
362+
|-------------|-------------|------------------|
363+
| **200** | OK | - |
364+
| **401** | Error response due to missing auth cookie. | - |
365+
295366
<a name="searchUsers"></a>
296367
# **searchUsers**
297368
> List&lt;LimitedUser&gt; searchUsers(search, developerType, n, offset)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>vrchatapi</artifactId>
66
<packaging>jar</packaging>
77
<name>vrchatapi</name>
8-
<version>1.16.5</version>
8+
<version>1.16.6</version>
99
<url>https://github.com/openapitools/openapi-generator</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

src/main/java/io/github/vrchatapi/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* VRChat API Documentation
33
*
4-
* The version of the OpenAPI document: 1.16.5
4+
* The version of the OpenAPI document: 1.16.6
55
* Contact: vrchatapi.lpv0t@aries.fyi
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)