Skip to content

Commit f433eef

Browse files
committed
Upgrade Java SDK to spec 1.12.0
1 parent bc27988 commit f433eef

175 files changed

Lines changed: 1511 additions & 1975 deletions

File tree

Some content is hidden

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

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

‎docs/APIConfig.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
|**voiceEnableReceiverLimiting** | **Boolean** | Unknown, probably voice optimization testing | |
1313
|**address** | **String** | VRChat's office address | |
1414
|**announcements** | [**Set<APIConfigAnnouncement>**](APIConfigAnnouncement.md) | Public Announcements | |
15-
|**apiKey** | **String** | apiKey to be used for all other requests | |
1615
|**appName** | **String** | Game name | |
1716
|**buildVersionTag** | **String** | Build tag of the API server | |
1817
|**clientApiKey** | **String** | apiKey to be used for all other requests | |

‎docs/APIConfigDownloadURLList.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Download links for various development assets.
1111
|**sdk2** | **String** | Download link for legacy SDK2 | |
1212
|**sdk3Avatars** | **String** | Download link for SDK3 for Avatars | |
1313
|**sdk3Worlds** | **String** | Download link for SDK3 for Worlds | |
14+
|**vcc** | **String** | Download link for the Creator Companion | |
15+
|**bootstrap** | **String** | Download link for ??? | |
1416

1517

1618

‎docs/AuthenticationApi.md‎

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,13 @@ Checks if a user by a given `username`, `displayName` or &#x
2828
import io.github.vrchatapi.ApiClient;
2929
import io.github.vrchatapi.ApiException;
3030
import io.github.vrchatapi.Configuration;
31-
import io.github.vrchatapi.auth.*;
3231
import io.github.vrchatapi.models.*;
3332
import io.github.vrchatapi.api.AuthenticationApi;
3433

3534
public class Example {
3635
public static void main(String[] args) {
3736
ApiClient defaultClient = Configuration.getDefaultApiClient();
3837
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
39-
40-
// Configure API key authorization: apiKeyCookie
41-
ApiKeyAuth apiKeyCookie = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyCookie");
42-
apiKeyCookie.setApiKey("YOUR API KEY");
43-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
44-
//apiKeyCookie.setApiKeyPrefix("Token");
4538

4639
AuthenticationApi apiInstance = new AuthenticationApi(defaultClient);
4740
String email = "email_example"; // String | Filter by email.
@@ -77,7 +70,7 @@ public class Example {
7770

7871
### Authorization
7972

80-
[apiKeyCookie](../README.md#apiKeyCookie)
73+
No authorization required
8174

8275
### HTTP request headers
8376

@@ -113,12 +106,6 @@ public class Example {
113106
ApiClient defaultClient = Configuration.getDefaultApiClient();
114107
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
115108

116-
// Configure API key authorization: apiKeyCookie
117-
ApiKeyAuth apiKeyCookie = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyCookie");
118-
apiKeyCookie.setApiKey("YOUR API KEY");
119-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
120-
//apiKeyCookie.setApiKeyPrefix("Token");
121-
122109
// Configure API key authorization: authCookie
123110
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
124111
authCookie.setApiKey("YOUR API KEY");
@@ -153,7 +140,7 @@ public class Example {
153140

154141
### Authorization
155142

156-
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
143+
[authCookie](../README.md#authCookie)
157144

158145
### HTTP request headers
159146

@@ -164,7 +151,7 @@ public class Example {
164151
| Status code | Description | Response headers |
165152
|-------------|-------------|------------------|
166153
| **200** | OK | - |
167-
| **401** | Error response due to missing apiKey or auth cookie. | - |
154+
| **401** | Error response due to missing auth cookie. | - |
168155

169156
<a name="getCurrentUser"></a>
170157
# **getCurrentUser**
@@ -240,8 +227,8 @@ This endpoint does not need any parameter.
240227
### HTTP response details
241228
| Status code | Description | Response headers |
242229
|-------------|-------------|------------------|
243-
| **200** | OK | * Set-Cookie - Successful authentication returns an &#x60;auth&#x60; cookie. <br> * \0Set-Cookie - This endpoint **always** sets the &#x60;apiKey&#x60; irrespective if it is already set. <br> |
244-
| **401** | Error response due to missing apiKey or auth cookie. | - |
230+
| **200** | OK | * Set-Cookie - Successful authentication returns an &#x60;auth&#x60; cookie. <br> |
231+
| **401** | Error response due to missing auth cookie. | - |
245232

246233
<a name="logout"></a>
247234
# **logout**
@@ -307,7 +294,7 @@ This endpoint does not need any parameter.
307294
| Status code | Description | Response headers |
308295
|-------------|-------------|------------------|
309296
| **200** | OK | * Set-Cookie - Clears the &#x60;auth&#x60; cookie. <br> * \0Set-Cookie - Clears the &#x60;age&#x60; cookie. <br> * \0\0Set-Cookie - Clears the &#x60;tos&#x60; cookie. <br> |
310-
| **401** | Error response due to missing apiKey or auth cookie. | - |
297+
| **401** | Error response due to missing auth cookie. | - |
311298

312299
<a name="verify2FA"></a>
313300
# **verify2FA**
@@ -377,7 +364,7 @@ public class Example {
377364
| Status code | Description | Response headers |
378365
|-------------|-------------|------------------|
379366
| **200** | OK | * Set-Cookie - Provides a &#x60;twoFactorAuth&#x60; cookie, which can be used to bypasses the 2FA requirement for future logins on the same device. <br> |
380-
| **401** | Error response due to missing apiKey or auth cookie. | - |
367+
| **401** | Error response due to missing auth cookie. | - |
381368

382369
<a name="verify2FAEmailCode"></a>
383370
# **verify2FAEmailCode**
@@ -447,7 +434,7 @@ public class Example {
447434
| Status code | Description | Response headers |
448435
|-------------|-------------|------------------|
449436
| **200** | OK | * Set-Cookie - Provides a &#x60;twoFactorAuth&#x60; cookie, which can be used to bypasses the 2FA requirement for future logins on the same device. <br> |
450-
| **401** | Error response due to missing apiKey or auth cookie. | - |
437+
| **401** | Error response due to missing auth cookie. | - |
451438

452439
<a name="verifyAuthToken"></a>
453440
# **verifyAuthToken**
@@ -513,7 +500,7 @@ This endpoint does not need any parameter.
513500
| Status code | Description | Response headers |
514501
|-------------|-------------|------------------|
515502
| **200** | Returns wether a provided auth token is valid or not. | - |
516-
| **401** | Error response due to missing apiKey or auth cookie. | - |
503+
| **401** | Error response due to missing auth cookie. | - |
517504

518505
<a name="verifyRecoveryCode"></a>
519506
# **verifyRecoveryCode**
@@ -583,5 +570,5 @@ public class Example {
583570
| Status code | Description | Response headers |
584571
|-------------|-------------|------------------|
585572
| **200** | OK | * Set-Cookie - Provides a &#x60;twoFactorAuth&#x60; cookie, which can be used to bypasses the 2FA requirement for future logins on the same device. <br> |
586-
| **401** | Error response due to missing apiKey or auth cookie. | - |
573+
| **401** | Error response due to missing auth cookie. | - |
587574

0 commit comments

Comments
 (0)