Skip to content

Commit 8c50a3f

Browse files
committed
Upgrade Java SDK to spec 1.18.1
1 parent b97a868 commit 8c50a3f

File tree

185 files changed

+1411
-829
lines changed

Some content is hidden

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

185 files changed

+1411
-829
lines changed

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.0'
7+
version = '1.18.1'
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.0",
5+
version := "1.18.1",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/APIConfig.md

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,41 @@
1313
|**address** | **String** | VRChat's office address | |
1414
|**announcements** | [**Set<APIConfigAnnouncement>**](APIConfigAnnouncement.md) | Public Announcements | |
1515
|**appName** | **String** | Game name | |
16+
|**availableLanguageCodes** | **List<String>** | List of supported Languages | |
17+
|**availableLanguages** | **List<String>** | List of supported Languages | |
1618
|**buildVersionTag** | **String** | Build tag of the API server | |
1719
|**clientApiKey** | **String** | apiKey to be used for all other requests | |
1820
|**clientBPSCeiling** | **Integer** | Unknown | |
1921
|**clientDisconnectTimeout** | **Integer** | Unknown | |
22+
|**clientNetDispatchThread** | **Boolean** | Unknown | [optional] |
23+
|**clientNetInThread** | **Boolean** | Unknown | [optional] |
24+
|**clientNetInThread2** | **Boolean** | Unknown | [optional] |
25+
|**clientNetInThreadMobile** | **Boolean** | Unknown | [optional] |
26+
|**clientNetInThreadMobile2** | **Boolean** | Unknown | [optional] |
27+
|**clientNetOutThread** | **Boolean** | Unknown | [optional] |
28+
|**clientNetOutThread2** | **Boolean** | Unknown | [optional] |
29+
|**clientNetOutThreadMobile** | **Boolean** | Unknown | [optional] |
30+
|**clientNetOutThreadMobile2** | **Boolean** | Unknown | [optional] |
31+
|**clientQR** | **Integer** | Unknown | [optional] |
2032
|**clientReservedPlayerBPS** | **Integer** | Unknown | |
2133
|**clientSentCountAllowance** | **Integer** | Unknown | |
2234
|**contactEmail** | **String** | VRChat's contact email | |
2335
|**copyrightEmail** | **String** | VRChat's copyright-issues-related email | |
36+
|**currentPrivacyVersion** | **Integer** | Current version number of the Privacy Agreement | [optional] |
2437
|**currentTOSVersion** | **Integer** | Current version number of the Terms of Service | |
2538
|**defaultAvatar** | **String** | | |
2639
|**deploymentGroup** | **DeploymentGroup** | | |
27-
|**devAppVersionStandalone** | **String** | Version number for game development build | |
28-
|**devDownloadLinkWindows** | **String** | Developer Download link | |
40+
|**devLanguageCodes** | **List<String>** | Unknown | [optional] |
2941
|**devSdkUrl** | **String** | Link to download the development SDK, use downloadUrls instead | |
3042
|**devSdkVersion** | **String** | Version of the development SDK | |
31-
|**devServerVersionStandalone** | **String** | Version number for server development build | |
3243
|**disCountdown** | **OffsetDateTime** | Unknown, \"dis\" maybe for disconnect? | |
44+
|**disableAVProInProton** | **Boolean** | Unknown | [optional] |
3345
|**disableAvatarCopying** | **Boolean** | Toggles if copying avatars should be disabled | |
3446
|**disableAvatarGating** | **Boolean** | Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag | |
3547
|**disableCommunityLabs** | **Boolean** | Toggles if the Community Labs should be disabled | |
3648
|**disableCommunityLabsPromotion** | **Boolean** | Toggles if promotion out of Community Labs should be disabled | |
3749
|**disableEmail** | **Boolean** | Unknown | |
50+
|**disableCaptcha** | **Boolean** | Unknown | [optional] |
3851
|**disableEventStream** | **Boolean** | Toggles if Analytics should be disabled. | |
3952
|**disableFeedbackGating** | **Boolean** | Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. | |
4053
|**disableFrontendBuilds** | **Boolean** | Unknown, probably toggles compilation of frontend web builds? So internal flag? | |
@@ -48,26 +61,23 @@
4861
|**downloadLinkWindows** | **String** | Download link for game on the Oculus Rift website. | |
4962
|**downloadUrls** | [**APIConfigDownloadURLList**](APIConfigDownloadURLList.md) | | |
5063
|**dynamicWorldRows** | [**Set<DynamicContentRow>**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows | |
64+
|**economyPauseEnd** | **String** | Unknown | [optional] |
65+
|**economyPauseStart** | **String** | Unknown | [optional] |
66+
|**economyState** | **Integer** | Unknown | [optional] |
5167
|**events** | [**APIConfigEvents**](APIConfigEvents.md) | | |
52-
|**gearDemoRoomId** | **String** | Unknown | |
5368
|**homeWorldId** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | |
5469
|**homepageRedirectTarget** | **String** | Redirect target if you try to open the base API domain in your browser | |
5570
|**hubWorldId** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | |
71+
|**imageHostUrlList** | **List<String>** | A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). | |
5672
|**jobsEmail** | **String** | VRChat's job application email | |
57-
|**messageOfTheDay** | **String** | MOTD | |
5873
|**moderationEmail** | **String** | VRChat's moderation related email | |
59-
|**moderationQueryPeriod** | **Integer** | Unknown | |
6074
|**notAllowedToSelectAvatarInPrivateWorldMessage** | **String** | Used in-game to notify a user they aren't allowed to select avatars in private worlds | |
61-
|**plugin** | **String** | Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance | |
62-
|**releaseAppVersionStandalone** | **String** | Version number for game release build | |
63-
|**releaseSdkUrl** | **String** | Link to download the release SDK | |
64-
|**releaseSdkVersion** | **String** | Version of the release SDK | |
65-
|**releaseServerVersionStandalone** | **String** | Version number for server release build | |
6675
|**sdkDeveloperFaqUrl** | **String** | Link to the developer FAQ | |
6776
|**sdkDiscordUrl** | **String** | Link to the official VRChat Discord | |
6877
|**sdkNotAllowedToPublishMessage** | **String** | Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet | |
6978
|**sdkUnityVersion** | **String** | Unity version supported by the SDK | |
7079
|**serverName** | **String** | Server name of the API server currently responding | |
80+
|**stringHostUrlList** | **List<String>** | A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). | |
7181
|**supportEmail** | **String** | VRChat's support email | |
7282
|**timeOutWorldId** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | |
7383
|**tutorialWorldId** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | |
@@ -78,15 +88,10 @@
7888
|**uploadAnalysisPercent** | **Integer** | Unknown | |
7989
|**urlList** | **List<String>** | List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game | |
8090
|**useReliableUdpForVoice** | **Boolean** | Unknown | |
81-
|**userUpdatePeriod** | **Integer** | Unknown | |
82-
|**userVerificationDelay** | **Integer** | Unknown | |
83-
|**userVerificationRetry** | **Integer** | Unknown | |
84-
|**userVerificationTimeout** | **Integer** | Unknown | |
8591
|**viveWindowsUrl** | **String** | Download link for game on the Steam website. | |
8692
|**whiteListedAssetUrls** | **List<String>** | List of allowed URLs that are allowed to host avatar assets | |
87-
|**worldUpdatePeriod** | **Integer** | Unknown | |
88-
|**playerUrlResolverHash** | **String** | Currently used youtube-dl.exe hash in SHA-256-delimited format | |
8993
|**playerUrlResolverVersion** | **String** | Currently used youtube-dl.exe version | |
94+
|**playerUrlResolverSha1** | **String** | Currently used youtube-dl.exe hash in SHA1-delimited format | |
9095

9196

9297

docs/AuthenticationApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All URIs are relative to *https://vrchat.com/api/1*
1616

1717
<a name="checkUserExists"></a>
1818
# **checkUserExists**
19-
> UserExists checkUserExists(email, displayName, userId, excludeUserId)
19+
> UserExists checkUserExists(email, displayName, username, excludeUserId)
2020
2121
Check User Exists
2222

@@ -39,10 +39,10 @@ public class Example {
3939
AuthenticationApi apiInstance = new AuthenticationApi(defaultClient);
4040
String email = "email_example"; // String | Filter by email.
4141
String displayName = "displayName_example"; // String | Filter by displayName.
42-
String userId = "userId_example"; // String | Filter by UserID.
42+
String username = "username_example"; // String | Filter by Username.
4343
String excludeUserId = "excludeUserId_example"; // String | Exclude by UserID.
4444
try {
45-
UserExists result = apiInstance.checkUserExists(email, displayName, userId, excludeUserId);
45+
UserExists result = apiInstance.checkUserExists(email, displayName, username, excludeUserId);
4646
System.out.println(result);
4747
} catch (ApiException e) {
4848
System.err.println("Exception when calling AuthenticationApi#checkUserExists");
@@ -61,7 +61,7 @@ public class Example {
6161
|------------- | ------------- | ------------- | -------------|
6262
| **email** | **String**| Filter by email. | [optional] |
6363
| **displayName** | **String**| Filter by displayName. | [optional] |
64-
| **userId** | **String**| Filter by UserID. | [optional] |
64+
| **username** | **String**| Filter by Username. | [optional] |
6565
| **excludeUserId** | **String**| Exclude by UserID. | [optional] |
6666

6767
### Return type

docs/FileData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
|------------ | ------------- | ------------- | -------------|
1111
|**category** | [**CategoryEnum**](#CategoryEnum) | | |
1212
|**fileName** | **String** | | |
13-
|**md5** | **String** | | |
13+
|**md5** | **String** | | [optional] |
1414
|**sizeInBytes** | **Integer** | | |
1515
|**status** | **FileStatus** | | |
1616
|**uploadId** | **String** | | |

docs/FilesApi.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public class Example {
158158

159159
<a name="deleteFile"></a>
160160
# **deleteFile**
161-
> Success deleteFile(fileId)
161+
> ModelFile deleteFile(fileId)
162162
163163
Delete File
164164

@@ -188,7 +188,7 @@ public class Example {
188188
FilesApi apiInstance = new FilesApi(defaultClient);
189189
String fileId = "file_00000000-0000-0000-0000-000000000000"; // String | Must be a valid file ID.
190190
try {
191-
Success result = apiInstance.deleteFile(fileId);
191+
ModelFile result = apiInstance.deleteFile(fileId);
192192
System.out.println(result);
193193
} catch (ApiException e) {
194194
System.err.println("Exception when calling FilesApi#deleteFile");
@@ -209,7 +209,7 @@ public class Example {
209209

210210
### Return type
211211

212-
[**Success**](Success.md)
212+
[**ModelFile**](ModelFile.md)
213213

214214
### Authorization
215215

@@ -223,7 +223,7 @@ public class Example {
223223
### HTTP response details
224224
| Status code | Description | Response headers |
225225
|-------------|-------------|------------------|
226-
| **200** | Successful response after deleting a File. | - |
226+
| **200** | Returns a single File object. | - |
227227
| **404** | Error response when trying to delete a non-existent file. | - |
228228

229229
<a name="deleteFileVersion"></a>
@@ -297,7 +297,7 @@ public class Example {
297297
|-------------|-------------|------------------|
298298
| **200** | Returns a single File object. | - |
299299
| **400** | Error response when trying to delete the initial version of a file. Delete the main File object instead. | - |
300-
| **500** | Error response when trying to delete any version of a file that is not hte last one. | - |
300+
| **500** | Error response when trying to delete any version of a file that is not the last one. | - |
301301

302302
<a name="downloadFileVersion"></a>
303303
# **downloadFileVersion**
@@ -362,12 +362,13 @@ null (empty response body)
362362
### HTTP request headers
363363

364364
- **Content-Type**: Not defined
365-
- **Accept**: Not defined
365+
- **Accept**: application/json
366366

367367
### HTTP response details
368368
| Status code | Description | Response headers |
369369
|-------------|-------------|------------------|
370370
| **200** | Raw file | - |
371+
| **404** | Error response when trying to show information about a non-existent file. | - |
371372

372373
<a name="finishFileDataUpload"></a>
373374
# **finishFileDataUpload**

docs/Group.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@
2626
|**isVerified** | **Boolean** | | [optional] |
2727
|**joinState** | **GroupJoinState** | | [optional] |
2828
|**tags** | **List&lt;String&gt;** | | [optional] |
29+
|**transferTargetId** | **String** | A users unique ID, usually in the form of &#x60;usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469&#x60;. Legacy players can have old IDs in the form of &#x60;8JoV9XEdpo&#x60;. The ID can never be changed. | [optional] |
2930
|**galleries** | [**List&lt;GroupGallery&gt;**](GroupGallery.md) | | [optional] |
3031
|**createdAt** | **OffsetDateTime** | | [optional] |
32+
|**updatedAt** | **OffsetDateTime** | | [optional] |
33+
|**lastPostCreatedAt** | **OffsetDateTime** | | [optional] |
3134
|**onlineMemberCount** | **Integer** | | [optional] |
3235
|**membershipStatus** | **GroupMemberStatus** | | [optional] |
3336
|**myMember** | [**GroupMyMember**](GroupMyMember.md) | | [optional] |

docs/GroupMyMember.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
|**groupId** | **String** | | [optional] |
1212
|**userId** | **String** | A users unique ID, usually in the form of &#x60;usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469&#x60;. Legacy players can have old IDs in the form of &#x60;8JoV9XEdpo&#x60;. The ID can never be changed. | [optional] |
1313
|**roleIds** | **List&lt;String&gt;** | | [optional] |
14+
|**acceptedByDisplayName** | **String** | | [optional] |
15+
|**acceptedById** | **String** | A users unique ID, usually in the form of &#x60;usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469&#x60;. Legacy players can have old IDs in the form of &#x60;8JoV9XEdpo&#x60;. The ID can never be changed. | [optional] |
16+
|**createdAt** | **OffsetDateTime** | | [optional] |
1417
|**managerNotes** | **String** | | [optional] |
1518
|**membershipStatus** | **String** | | [optional] |
1619
|**isSubscribedToAnnouncements** | **Boolean** | | [optional] |
@@ -19,6 +22,9 @@
1922
|**joinedAt** | **OffsetDateTime** | | [optional] |
2023
|**bannedAt** | **String** | | [optional] |
2124
|**has2FA** | **Boolean** | | [optional] |
25+
|**hasJoinedFromPurchase** | **Boolean** | | [optional] |
26+
|**lastPostReadAt** | **OffsetDateTime** | | [optional] |
27+
|**mRoleIds** | **List&lt;String&gt;** | | [optional] |
2228
|**permissions** | **List&lt;String&gt;** | | [optional] |
2329

2430

docs/GroupsApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,6 +1583,7 @@ public class Example {
15831583
|-------------|-------------|------------------|
15841584
| **200** | Returns a list of GroupMember objects. | - |
15851585
| **401** | Error response due to missing auth cookie. | - |
1586+
| **403** | Error response due to missing permissions. | - |
15861587
| **404** | Error response when trying to perform operations on a non-existing group. | - |
15871588

15881589
<a name="getGroupGalleryImages"></a>
@@ -1882,6 +1883,7 @@ public class Example {
18821883
|-------------|-------------|------------------|
18831884
| **200** | Returns a list of GroupMember objects. | - |
18841885
| **401** | Error response due to missing auth cookie. | - |
1886+
| **403** | Error response when trying to perform operations on a group you are not member of. | - |
18851887
| **404** | Error response when trying to perform operations on a non-existing group. | - |
18861888

18871889
<a name="getGroupMembers"></a>

docs/Permission.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
| Name | Type | Description | Notes |
1010
|------------ | ------------- | ------------- | -------------|
1111
|**id** | **String** | | |
12+
|**ownerDisplayName** | **String** | | |
1213
|**name** | **String** | | |
1314
|**ownerId** | **String** | A users unique ID, usually in the form of &#x60;usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469&#x60;. Legacy players can have old IDs in the form of &#x60;8JoV9XEdpo&#x60;. The ID can never be changed. | |
1415
|**data** | **Object** | | [optional] |

0 commit comments

Comments
 (0)