Skip to content

Commit 7bcb4f9

Browse files
committed
Upgrade Java SDK to spec 1.18.6
1 parent de94287 commit 7bcb4f9

File tree

210 files changed

+3591
-698
lines changed

Some content is hidden

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

210 files changed

+3591
-698
lines changed

.openapi-generator/FILES

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ docs/Favorite.md
5050
docs/FavoriteGroup.md
5151
docs/FavoriteGroupVisibility.md
5252
docs/FavoriteType.md
53+
docs/FavoritedWorld.md
5354
docs/FavoritesApi.md
5455
docs/FileData.md
5556
docs/FileStatus.md
@@ -99,6 +100,9 @@ docs/InviteMessage.md
99100
docs/InviteMessageType.md
100101
docs/InviteRequest.md
101102
docs/InviteResponse.md
103+
docs/Jam.md
104+
docs/JamStateChangeDates.md
105+
docs/JamsApi.md
102106
docs/License.md
103107
docs/LicenseAction.md
104108
docs/LicenseGroup.md
@@ -139,6 +143,7 @@ docs/RespondGroupJoinRequest.md
139143
docs/Response.md
140144
docs/SentNotification.md
141145
docs/SortOption.md
146+
docs/Submission.md
142147
docs/Subscription.md
143148
docs/SubscriptionPeriod.md
144149
docs/Success.md
@@ -204,6 +209,7 @@ src/main/java/io/github/vrchatapi/api/FriendsApi.java
204209
src/main/java/io/github/vrchatapi/api/GroupsApi.java
205210
src/main/java/io/github/vrchatapi/api/InstancesApi.java
206211
src/main/java/io/github/vrchatapi/api/InviteApi.java
212+
src/main/java/io/github/vrchatapi/api/JamsApi.java
207213
src/main/java/io/github/vrchatapi/api/NotificationsApi.java
208214
src/main/java/io/github/vrchatapi/api/PermissionsApi.java
209215
src/main/java/io/github/vrchatapi/api/PlayermoderationApi.java
@@ -260,6 +266,7 @@ src/main/java/io/github/vrchatapi/model/Favorite.java
260266
src/main/java/io/github/vrchatapi/model/FavoriteGroup.java
261267
src/main/java/io/github/vrchatapi/model/FavoriteGroupVisibility.java
262268
src/main/java/io/github/vrchatapi/model/FavoriteType.java
269+
src/main/java/io/github/vrchatapi/model/FavoritedWorld.java
263270
src/main/java/io/github/vrchatapi/model/FileData.java
264271
src/main/java/io/github/vrchatapi/model/FileStatus.java
265272
src/main/java/io/github/vrchatapi/model/FileUploadURL.java
@@ -303,6 +310,8 @@ src/main/java/io/github/vrchatapi/model/InviteMessage.java
303310
src/main/java/io/github/vrchatapi/model/InviteMessageType.java
304311
src/main/java/io/github/vrchatapi/model/InviteRequest.java
305312
src/main/java/io/github/vrchatapi/model/InviteResponse.java
313+
src/main/java/io/github/vrchatapi/model/Jam.java
314+
src/main/java/io/github/vrchatapi/model/JamStateChangeDates.java
306315
src/main/java/io/github/vrchatapi/model/License.java
307316
src/main/java/io/github/vrchatapi/model/LicenseAction.java
308317
src/main/java/io/github/vrchatapi/model/LicenseGroup.java
@@ -340,6 +349,7 @@ src/main/java/io/github/vrchatapi/model/RespondGroupJoinRequest.java
340349
src/main/java/io/github/vrchatapi/model/Response.java
341350
src/main/java/io/github/vrchatapi/model/SentNotification.java
342351
src/main/java/io/github/vrchatapi/model/SortOption.java
352+
src/main/java/io/github/vrchatapi/model/Submission.java
343353
src/main/java/io/github/vrchatapi/model/Subscription.java
344354
src/main/java/io/github/vrchatapi/model/SubscriptionPeriod.java
345355
src/main/java/io/github/vrchatapi/model/Success.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.18.5'
7+
version = '1.18.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.18.5",
5+
version := "1.18.6",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/FavoritedWorld.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
2+
3+
# FavoritedWorld
4+
5+
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**authorId** | **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. | |
12+
|**authorName** | **String** | | |
13+
|**capacity** | **Integer** | | |
14+
|**description** | **String** | | |
15+
|**recommendedCapacity** | **Integer** | | [optional] |
16+
|**createdAt** | **OffsetDateTime** | | |
17+
|**favorites** | **Integer** | | |
18+
|**favoriteGroup** | **String** | | |
19+
|**favoriteId** | **String** | | |
20+
|**featured** | **Boolean** | | |
21+
|**visits** | **Integer** | | [optional] |
22+
|**heat** | **Integer** | | |
23+
|**id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | |
24+
|**imageUrl** | **String** | | |
25+
|**labsPublicationDate** | **String** | | |
26+
|**name** | **String** | | |
27+
|**occupants** | **Integer** | | |
28+
|**organization** | **String** | | |
29+
|**popularity** | **Integer** | | |
30+
|**previewYoutubeId** | **String** | | [optional] |
31+
|**publicationDate** | **String** | | |
32+
|**releaseStatus** | **ReleaseStatus** | | |
33+
|**tags** | **List<String>** | | |
34+
|**thumbnailImageUrl** | **String** | | |
35+
|**unityPackages** | [**List<UnityPackage>**](UnityPackage.md) | | |
36+
|**updatedAt** | **OffsetDateTime** | | |
37+
|**udonProducts** | **List<String>** | | [optional] |
38+
|**version** | **Integer** | | |
39+
40+
41+

docs/GroupMember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
1010
|**acceptedByDisplayName** | **String** | | [optional] |
11-
|**acceptedById** | **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] |
11+
|**acceptedById** | **String** | | [optional] |
1212
|**id** | **String** | | [optional] |
1313
|**groupId** | **String** | | [optional] |
1414
|**userId** | **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] |

docs/GroupMyMember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
|**userId** | **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] |
1313
|**roleIds** | **List<String>** | | [optional] |
1414
|**acceptedByDisplayName** | **String** | | [optional] |
15-
|**acceptedById** | **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] |
15+
|**acceptedById** | **String** | | [optional] |
1616
|**createdAt** | **OffsetDateTime** | | [optional] |
1717
|**managerNotes** | **String** | | [optional] |
1818
|**membershipStatus** | **String** | | [optional] |

docs/Jam.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
3+
# Jam
4+
5+
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**description** | **String** | | |
12+
|**id** | **String** | | |
13+
|**isVisible** | **Boolean** | | |
14+
|**moreInfo** | **String** | | |
15+
|**state** | **String** | One of: - submissions_open - closed | |
16+
|**stateChangeDates** | [**JamStateChangeDates**](JamStateChangeDates.md) | | |
17+
|**submissionContentGateDate** | **OffsetDateTime** | | |
18+
|**submissionContentGated** | **Boolean** | | |
19+
|**title** | **String** | | |
20+
|**updatedAt** | **OffsetDateTime** | | |
21+
22+
23+

docs/JamStateChangeDates.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# JamStateChangeDates
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**closed** | **OffsetDateTime** | | [optional] |
11+
|**submissionsClosed** | **OffsetDateTime** | | [optional] |
12+
|**submissionsOpened** | **OffsetDateTime** | | [optional] |
13+
|**winnersSelected** | **OffsetDateTime** | | [optional] |
14+
15+
16+

docs/JamsApi.md

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
# JamsApi
2+
3+
All URIs are relative to *https://vrchat.com/api/1*
4+
5+
| Method | HTTP request | Description |
6+
|------------- | ------------- | -------------|
7+
| [**getJam**](JamsApi.md#getJam) | **GET** /jams/{jamId} | Show jam information |
8+
| [**getJamSubmissions**](JamsApi.md#getJamSubmissions) | **GET** /jams/{jamId}/submissions | Show jam submissions |
9+
| [**getJams**](JamsApi.md#getJams) | **GET** /jams | Show jams list |
10+
11+
12+
<a name="getJam"></a>
13+
# **getJam**
14+
> Jam getJam(jamId)
15+
16+
Show jam information
17+
18+
Returns a jam.
19+
20+
### Example
21+
```java
22+
// Import classes:
23+
import io.github.vrchatapi.ApiClient;
24+
import io.github.vrchatapi.ApiException;
25+
import io.github.vrchatapi.Configuration;
26+
import io.github.vrchatapi.auth.*;
27+
import io.github.vrchatapi.models.*;
28+
import io.github.vrchatapi.api.JamsApi;
29+
30+
public class Example {
31+
public static void main(String[] args) {
32+
ApiClient defaultClient = Configuration.getDefaultApiClient();
33+
defaultClient.setBasePath("https://vrchat.com/api/1");
34+
35+
// Configure API key authorization: authCookie
36+
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
37+
authCookie.setApiKey("YOUR API KEY");
38+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
39+
//authCookie.setApiKeyPrefix("Token");
40+
41+
JamsApi apiInstance = new JamsApi(defaultClient);
42+
String jamId = "jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9"; // String | Must be a valid query ID.
43+
try {
44+
Jam result = apiInstance.getJam(jamId);
45+
System.out.println(result);
46+
} catch (ApiException e) {
47+
System.err.println("Exception when calling JamsApi#getJam");
48+
System.err.println("Status code: " + e.getCode());
49+
System.err.println("Reason: " + e.getResponseBody());
50+
System.err.println("Response headers: " + e.getResponseHeaders());
51+
e.printStackTrace();
52+
}
53+
}
54+
}
55+
```
56+
57+
### Parameters
58+
59+
| Name | Type | Description | Notes |
60+
|------------- | ------------- | ------------- | -------------|
61+
| **jamId** | **String**| Must be a valid query ID. | |
62+
63+
### Return type
64+
65+
[**Jam**](Jam.md)
66+
67+
### Authorization
68+
69+
[authCookie](../README.md#authCookie)
70+
71+
### HTTP request headers
72+
73+
- **Content-Type**: Not defined
74+
- **Accept**: application/json
75+
76+
### HTTP response details
77+
| Status code | Description | Response headers |
78+
|-------------|-------------|------------------|
79+
| **200** | Returns a Jam object. | - |
80+
| **404** | Error response when trying to show information about a non-existent jam. | - |
81+
82+
<a name="getJamSubmissions"></a>
83+
# **getJamSubmissions**
84+
> List&lt;Submission&gt; getJamSubmissions(jamId)
85+
86+
Show jam submissions
87+
88+
Returns all submissions of a jam.
89+
90+
### Example
91+
```java
92+
// Import classes:
93+
import io.github.vrchatapi.ApiClient;
94+
import io.github.vrchatapi.ApiException;
95+
import io.github.vrchatapi.Configuration;
96+
import io.github.vrchatapi.auth.*;
97+
import io.github.vrchatapi.models.*;
98+
import io.github.vrchatapi.api.JamsApi;
99+
100+
public class Example {
101+
public static void main(String[] args) {
102+
ApiClient defaultClient = Configuration.getDefaultApiClient();
103+
defaultClient.setBasePath("https://vrchat.com/api/1");
104+
105+
// Configure API key authorization: authCookie
106+
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
107+
authCookie.setApiKey("YOUR API KEY");
108+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
109+
//authCookie.setApiKeyPrefix("Token");
110+
111+
JamsApi apiInstance = new JamsApi(defaultClient);
112+
String jamId = "jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9"; // String | Must be a valid query ID.
113+
try {
114+
List<Submission> result = apiInstance.getJamSubmissions(jamId);
115+
System.out.println(result);
116+
} catch (ApiException e) {
117+
System.err.println("Exception when calling JamsApi#getJamSubmissions");
118+
System.err.println("Status code: " + e.getCode());
119+
System.err.println("Reason: " + e.getResponseBody());
120+
System.err.println("Response headers: " + e.getResponseHeaders());
121+
e.printStackTrace();
122+
}
123+
}
124+
}
125+
```
126+
127+
### Parameters
128+
129+
| Name | Type | Description | Notes |
130+
|------------- | ------------- | ------------- | -------------|
131+
| **jamId** | **String**| Must be a valid query ID. | |
132+
133+
### Return type
134+
135+
[**List&lt;Submission&gt;**](Submission.md)
136+
137+
### Authorization
138+
139+
[authCookie](../README.md#authCookie)
140+
141+
### HTTP request headers
142+
143+
- **Content-Type**: Not defined
144+
- **Accept**: application/json
145+
146+
### HTTP response details
147+
| Status code | Description | Response headers |
148+
|-------------|-------------|------------------|
149+
| **200** | Returns a list of Submission objects. | - |
150+
| **404** | Error response when trying to show information about a non-existent jam. | - |
151+
152+
<a name="getJams"></a>
153+
# **getJams**
154+
> List&lt;Jam&gt; getJams(type)
155+
156+
Show jams list
157+
158+
Lists World Jams or Avatar Jams, both currently running and ones that have ended. &#x60;isActive&#x60; is used to select only active or already ended jams. &#x60;type&#x60; is used to select only world or avatar jams, and can only take &#x60;world&#x60; or &#x60;avatar&#x60;. &#x60;&#x60;
159+
160+
### Example
161+
```java
162+
// Import classes:
163+
import io.github.vrchatapi.ApiClient;
164+
import io.github.vrchatapi.ApiException;
165+
import io.github.vrchatapi.Configuration;
166+
import io.github.vrchatapi.auth.*;
167+
import io.github.vrchatapi.models.*;
168+
import io.github.vrchatapi.api.JamsApi;
169+
170+
public class Example {
171+
public static void main(String[] args) {
172+
ApiClient defaultClient = Configuration.getDefaultApiClient();
173+
defaultClient.setBasePath("https://vrchat.com/api/1");
174+
175+
// Configure API key authorization: authCookie
176+
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
177+
authCookie.setApiKey("YOUR API KEY");
178+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
179+
//authCookie.setApiKeyPrefix("Token");
180+
181+
JamsApi apiInstance = new JamsApi(defaultClient);
182+
String type = "avatar"; // String | Only show jams of this type (`avatar` or `world`).
183+
try {
184+
List<Jam> result = apiInstance.getJams(type);
185+
System.out.println(result);
186+
} catch (ApiException e) {
187+
System.err.println("Exception when calling JamsApi#getJams");
188+
System.err.println("Status code: " + e.getCode());
189+
System.err.println("Reason: " + e.getResponseBody());
190+
System.err.println("Response headers: " + e.getResponseHeaders());
191+
e.printStackTrace();
192+
}
193+
}
194+
}
195+
```
196+
197+
### Parameters
198+
199+
| Name | Type | Description | Notes |
200+
|------------- | ------------- | ------------- | -------------|
201+
| **type** | **String**| Only show jams of this type (&#x60;avatar&#x60; or &#x60;world&#x60;). | [optional] |
202+
203+
### Return type
204+
205+
[**List&lt;Jam&gt;**](Jam.md)
206+
207+
### Authorization
208+
209+
[authCookie](../README.md#authCookie)
210+
211+
### HTTP request headers
212+
213+
- **Content-Type**: Not defined
214+
- **Accept**: application/json
215+
216+
### HTTP response details
217+
| Status code | Description | Response headers |
218+
|-------------|-------------|------------------|
219+
| **200** | Returns a list of Jam objects. | - |
220+

0 commit comments

Comments
 (0)