Skip to content

Commit 74d545a

Browse files
committed
Upgrade Java SDK to spec 1.23.1-nightly.6
1 parent aeb8307 commit 74d545a

681 files changed

Lines changed: 2272 additions & 706 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.

‎.openapi-generator/FILES‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ docs/AgreementRequest.md
3737
docs/AgreementStatus.md
3838
docs/AuthenticationApi.md
3939
docs/Avatar.md
40+
docs/AvatarList.md
4041
docs/AvatarModeration.md
4142
docs/AvatarModerationCreated.md
4243
docs/AvatarModerationType.md
@@ -321,6 +322,7 @@ docs/InfoPushWorldCategoryData.md
321322
docs/Instance.md
322323
docs/InstanceCategory.md
323324
docs/InstanceContentSettings.md
325+
docs/InstanceCount.md
324326
docs/InstanceDiscovery.md
325327
docs/InstanceDiscoveryBoost.md
326328
docs/InstanceDiscoveryMode.md
@@ -485,6 +487,8 @@ docs/RewardRedemptionData.md
485487
docs/RewardRedemptionRequest.md
486488
docs/RewardRedemptionResult.md
487489
docs/RouteNotImplemented.md
490+
docs/SearchAvatarsMarketplace.md
491+
docs/SearchAvatarsResult.md
488492
docs/SearchWorldsUser.md
489493
docs/SellerEligibility.md
490494
docs/SentNotification.md
@@ -729,6 +733,7 @@ src/main/java/io/github/vrchatapi/model/AgreementCode.java
729733
src/main/java/io/github/vrchatapi/model/AgreementRequest.java
730734
src/main/java/io/github/vrchatapi/model/AgreementStatus.java
731735
src/main/java/io/github/vrchatapi/model/Avatar.java
736+
src/main/java/io/github/vrchatapi/model/AvatarList.java
732737
src/main/java/io/github/vrchatapi/model/AvatarModeration.java
733738
src/main/java/io/github/vrchatapi/model/AvatarModerationCreated.java
734739
src/main/java/io/github/vrchatapi/model/AvatarModerationType.java
@@ -1006,6 +1011,7 @@ src/main/java/io/github/vrchatapi/model/InfoPushWorldCategoryData.java
10061011
src/main/java/io/github/vrchatapi/model/Instance.java
10071012
src/main/java/io/github/vrchatapi/model/InstanceCategory.java
10081013
src/main/java/io/github/vrchatapi/model/InstanceContentSettings.java
1014+
src/main/java/io/github/vrchatapi/model/InstanceCount.java
10091015
src/main/java/io/github/vrchatapi/model/InstanceDiscovery.java
10101016
src/main/java/io/github/vrchatapi/model/InstanceDiscoveryBoost.java
10111017
src/main/java/io/github/vrchatapi/model/InstanceDiscoveryMode.java
@@ -1161,6 +1167,8 @@ src/main/java/io/github/vrchatapi/model/RewardRedemptionData.java
11611167
src/main/java/io/github/vrchatapi/model/RewardRedemptionRequest.java
11621168
src/main/java/io/github/vrchatapi/model/RewardRedemptionResult.java
11631169
src/main/java/io/github/vrchatapi/model/RouteNotImplemented.java
1170+
src/main/java/io/github/vrchatapi/model/SearchAvatarsMarketplace.java
1171+
src/main/java/io/github/vrchatapi/model/SearchAvatarsResult.java
11641172
src/main/java/io/github/vrchatapi/model/SearchWorldsUser.java
11651173
src/main/java/io/github/vrchatapi/model/SellerEligibility.java
11661174
src/main/java/io/github/vrchatapi/model/SentNotification.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.23.1-nightly.5'
7+
version = '1.23.1-nightly.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.23.1-nightly.5",
5+
version := "1.23.1-nightly.6",
66
scalaVersion := "2.13.6",
77
scalacOptions ++= Seq("-feature"),
88
compile / javacOptions ++= Seq("-Xlint:deprecation"),

‎docs/AvatarList.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# AvatarList
4+
5+
A page of avatar search results.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**hasNext** | **Boolean** | | |
12+
|**results** | [**List<Avatar>**](Avatar.md) | | |
13+
|**totalCount** | **Integer** | | |
14+
15+
16+

‎docs/AvatarsApi.md‎

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -746,11 +746,11 @@ public class Example {
746746

747747
<a id="searchAvatars"></a>
748748
# **searchAvatars**
749-
> List&lt;Avatar&gt; searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, isInternalVariant)
749+
> SearchAvatarsResult searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, isInternalVariant, marketplace, search, metadata, minPrice, maxPrice, performanceAtLeast, minAssetVersion, maxAssetVersion)
750750
751751
Search Avatars
752752

753-
Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars.
753+
Search and list avatars by query filters. Without &#x60;marketplace&#x60;, you can only search your own or featured avatars.
754754

755755
### Example
756756
```java
@@ -788,8 +788,16 @@ public class Example {
788788
String minUnityVersion = "minUnityVersion_example"; // String | The minimum Unity version supported by the asset.
789789
String platform = "platform_example"; // String | The platform the asset supports.
790790
Boolean isInternalVariant = true; // Boolean | Not quite sure what this actually does (exists on the website but doesn't seem to be used)
791+
SearchAvatarsMarketplace marketplace = SearchAvatarsMarketplace.fromValue("all"); // SearchAvatarsMarketplace | Search avatars listed in the marketplace.
792+
String search = "search_example"; // String | Text to search for. Requires `marketplace`.
793+
Boolean metadata = true; // Boolean | Wrap the results in an AvatarList.
794+
Integer minPrice = 56; // Integer |
795+
Integer maxPrice = 56; // Integer |
796+
Integer performanceAtLeast = 56; // Integer |
797+
Integer minAssetVersion = 56; // Integer |
798+
Integer maxAssetVersion = 56; // Integer |
791799
try {
792-
List<Avatar> result = apiInstance.searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, isInternalVariant);
800+
SearchAvatarsResult result = apiInstance.searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, isInternalVariant, marketplace, search, metadata, minPrice, maxPrice, performanceAtLeast, minAssetVersion, maxAssetVersion);
793801
System.out.println(result);
794802
} catch (ApiException e) {
795803
System.err.println("Exception when calling AvatarsApi#searchAvatars");
@@ -820,10 +828,18 @@ public class Example {
820828
| **minUnityVersion** | **String**| The minimum Unity version supported by the asset. | [optional] |
821829
| **platform** | **String**| The platform the asset supports. | [optional] |
822830
| **isInternalVariant** | **Boolean**| Not quite sure what this actually does (exists on the website but doesn&#39;t seem to be used) | [optional] |
831+
| **marketplace** | [**SearchAvatarsMarketplace**](.md)| Search avatars listed in the marketplace. | [optional] [enum: all, free, paid] |
832+
| **search** | **String**| Text to search for. Requires &#x60;marketplace&#x60;. | [optional] |
833+
| **metadata** | **Boolean**| Wrap the results in an AvatarList. | [optional] |
834+
| **minPrice** | **Integer**| | [optional] |
835+
| **maxPrice** | **Integer**| | [optional] |
836+
| **performanceAtLeast** | **Integer**| | [optional] |
837+
| **minAssetVersion** | **Integer**| | [optional] |
838+
| **maxAssetVersion** | **Integer**| | [optional] |
823839

824840
### Return type
825841

826-
[**List&lt;Avatar&gt;**](Avatar.md)
842+
[**SearchAvatarsResult**](SearchAvatarsResult.md)
827843

828844
### Authorization
829845

@@ -837,7 +853,7 @@ public class Example {
837853
### HTTP response details
838854
| Status code | Description | Response headers |
839855
|-------------|-------------|------------------|
840-
| **200** | | - |
856+
| **200** | Returns a list of Avatar objects, wrapped in a paginated object when &#x60;metadata&#x60; is &#x60;true&#x60;. | - |
841857
| **400** | The request failed validation. VRChat validates the request before it looks up the resource, so this response is returned even when the ID in the path does not exist. The message names the offending field or parameter. | - |
842858
| **401** | Error response due to missing auth cookie. | - |
843859

‎docs/EconomyApi.md‎

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
1919
| [**getEconomyPayoutStatus**](EconomyApi.md#getEconomyPayoutStatus) | **GET** /user/{userId}/economy/payouts/status | Get Economy Payout Status |
2020
| [**getEconomyPayouts**](EconomyApi.md#getEconomyPayouts) | **GET** /user/{userId}/economy/payouts/list | Get Economy Payouts |
2121
| [**getEconomyStatus**](EconomyApi.md#getEconomyStatus) | **GET** /economy/status | Get Economy Status |
22+
| [**getEconomySubscriptions**](EconomyApi.md#getEconomySubscriptions) | **GET** /economy/subscriptions | List Economy Subscriptions |
2223
| [**getLicenseGroup**](EconomyApi.md#getLicenseGroup) | **GET** /licenseGroups/{licenseGroupId} | Get License Group |
2324
| [**getProductListing**](EconomyApi.md#getProductListing) | **GET** /listing/{productId} | Get Product Listing |
2425
| [**getProductListingAlternate**](EconomyApi.md#getProductListingAlternate) | **GET** /products/{productId} | Get Product Listing (alternate) |
@@ -1095,6 +1096,82 @@ This endpoint does not need any parameter.
10951096
| **200** | | - |
10961097
| **401** | Error response due to missing auth cookie. | - |
10971098

1099+
<a id="getEconomySubscriptions"></a>
1100+
# **getEconomySubscriptions**
1101+
> List&lt;Object&gt; getEconomySubscriptions(subscriberId, n, offset)
1102+
1103+
List Economy Subscriptions
1104+
1105+
List a subscriber&#39;s economy subscriptions.
1106+
1107+
### Example
1108+
```java
1109+
// Import classes:
1110+
import io.github.vrchatapi.ApiClient;
1111+
import io.github.vrchatapi.ApiException;
1112+
import io.github.vrchatapi.Configuration;
1113+
import io.github.vrchatapi.auth.*;
1114+
import io.github.vrchatapi.models.*;
1115+
import io.github.vrchatapi.api.EconomyApi;
1116+
1117+
public class Example {
1118+
public static void main(String[] args) {
1119+
ApiClient defaultClient = Configuration.getDefaultApiClient();
1120+
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
1121+
1122+
// Configure API key authorization: authCookie
1123+
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
1124+
authCookie.setApiKey("YOUR API KEY");
1125+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
1126+
//authCookie.setApiKeyPrefix("Token");
1127+
1128+
EconomyApi apiInstance = new EconomyApi(defaultClient);
1129+
String subscriberId = "subscriberId_example"; // String |
1130+
Integer n = 60; // Integer | The number of objects to return.
1131+
Integer offset = 56; // Integer | A zero-based offset from the default object sorting from where search results start.
1132+
try {
1133+
List<Object> result = apiInstance.getEconomySubscriptions(subscriberId, n, offset);
1134+
System.out.println(result);
1135+
} catch (ApiException e) {
1136+
System.err.println("Exception when calling EconomyApi#getEconomySubscriptions");
1137+
System.err.println("Status code: " + e.getCode());
1138+
System.err.println("Reason: " + e.getResponseBody());
1139+
System.err.println("Response headers: " + e.getResponseHeaders());
1140+
e.printStackTrace();
1141+
}
1142+
}
1143+
}
1144+
```
1145+
1146+
### Parameters
1147+
1148+
| Name | Type | Description | Notes |
1149+
|------------- | ------------- | ------------- | -------------|
1150+
| **subscriberId** | **String**| | |
1151+
| **n** | **Integer**| The number of objects to return. | [optional] [default to 60] |
1152+
| **offset** | **Integer**| A zero-based offset from the default object sorting from where search results start. | [optional] |
1153+
1154+
### Return type
1155+
1156+
**List&lt;Object&gt;**
1157+
1158+
### Authorization
1159+
1160+
[authCookie](../README.md#authCookie)
1161+
1162+
### HTTP request headers
1163+
1164+
- **Content-Type**: Not defined
1165+
- **Accept**: application/json
1166+
1167+
### HTTP response details
1168+
| Status code | Description | Response headers |
1169+
|-------------|-------------|------------------|
1170+
| **200** | | - |
1171+
| **400** | The request failed validation. VRChat validates the request before it looks up the resource, so this response is returned even when the ID in the path does not exist. The message names the offending field or parameter. | - |
1172+
| **401** | Error response due to missing auth cookie. | - |
1173+
| **403** | Error response when requesting another user&#39;s economy subscriptions. | - |
1174+
10981175
<a id="getLicenseGroup"></a>
10991176
# **getLicenseGroup**
11001177
> LicenseGroup getLicenseGroup(licenseGroupId)

‎docs/InstanceCount.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# InstanceCount
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**asOf** | **OffsetDateTime** | | |
11+
|**events** | **Integer** | | |
12+
|**friends** | **Integer** | | |
13+
|**instances** | **Integer** | | |
14+
15+
16+

‎docs/InstancesApi.md‎

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
1111
| [**getInstance**](InstancesApi.md#getInstance) | **GET** /instances/{worldId}:{instanceId} | Get Instance |
1212
| [**getInstanceByShortName**](InstancesApi.md#getInstanceByShortName) | **GET** /instances/s/{shortName} | Get Instance By Short Name |
1313
| [**getInstanceCategories**](InstancesApi.md#getInstanceCategories) | **GET** /instanceCategories | List Instance Categories |
14+
| [**getInstanceCount**](InstancesApi.md#getInstanceCount) | **GET** /instances/count | Get Instance Count |
1415
| [**getInstanceVibes**](InstancesApi.md#getInstanceVibes) | **GET** /instanceVibes | List Instance Vibes |
1516
| [**getRecentLocations**](InstancesApi.md#getRecentLocations) | **GET** /instances/recent | List Recent Locations |
1617
| [**getShortName**](InstancesApi.md#getShortName) | **GET** /instances/{worldId}:{instanceId}/shortName | Get Instance Short Name |
@@ -549,6 +550,72 @@ This endpoint does not need any parameter.
549550
|-------------|-------------|------------------|
550551
| **200** | | - |
551552

553+
<a id="getInstanceCount"></a>
554+
# **getInstanceCount**
555+
> InstanceCount getInstanceCount()
556+
557+
Get Instance Count
558+
559+
Returns instance and event counts as of &#x60;asOf&#x60;.
560+
561+
### Example
562+
```java
563+
// Import classes:
564+
import io.github.vrchatapi.ApiClient;
565+
import io.github.vrchatapi.ApiException;
566+
import io.github.vrchatapi.Configuration;
567+
import io.github.vrchatapi.auth.*;
568+
import io.github.vrchatapi.models.*;
569+
import io.github.vrchatapi.api.InstancesApi;
570+
571+
public class Example {
572+
public static void main(String[] args) {
573+
ApiClient defaultClient = Configuration.getDefaultApiClient();
574+
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
575+
576+
// Configure API key authorization: authCookie
577+
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
578+
authCookie.setApiKey("YOUR API KEY");
579+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
580+
//authCookie.setApiKeyPrefix("Token");
581+
582+
InstancesApi apiInstance = new InstancesApi(defaultClient);
583+
try {
584+
InstanceCount result = apiInstance.getInstanceCount();
585+
System.out.println(result);
586+
} catch (ApiException e) {
587+
System.err.println("Exception when calling InstancesApi#getInstanceCount");
588+
System.err.println("Status code: " + e.getCode());
589+
System.err.println("Reason: " + e.getResponseBody());
590+
System.err.println("Response headers: " + e.getResponseHeaders());
591+
e.printStackTrace();
592+
}
593+
}
594+
}
595+
```
596+
597+
### Parameters
598+
This endpoint does not need any parameter.
599+
600+
### Return type
601+
602+
[**InstanceCount**](InstanceCount.md)
603+
604+
### Authorization
605+
606+
[authCookie](../README.md#authCookie)
607+
608+
### HTTP request headers
609+
610+
- **Content-Type**: Not defined
611+
- **Accept**: application/json
612+
613+
### HTTP response details
614+
| Status code | Description | Response headers |
615+
|-------------|-------------|------------------|
616+
| **200** | Returns a single InstanceCount object. | - |
617+
| **401** | Error response due to missing auth cookie. | - |
618+
552619
<a id="getInstanceVibes"></a>
553620
# **getInstanceVibes**
554621
> List&lt;InstanceVibe&gt; getInstanceVibes()

‎docs/SearchAvatarsMarketplace.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# SearchAvatarsMarketplace
4+
5+
## Enum
6+
7+
8+
* `ALL` (value: `"all"`)
9+
10+
* `FREE` (value: `"free"`)
11+
12+
* `PAID` (value: `"paid"`)
13+
14+
15+

‎docs/SearchAvatarsResult.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# SearchAvatarsResult
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**hasNext** | **Boolean** | | |
11+
|**results** | [**List&lt;Avatar&gt;**](Avatar.md) | | |
12+
|**totalCount** | **Integer** | | |
13+
14+
15+

0 commit comments

Comments
 (0)