Skip to content

Commit ab99a08

Browse files
committed
Upgrade Java SDK to spec 1.3.0
1 parent 400000d commit ab99a08

132 files changed

Lines changed: 2622 additions & 948 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: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ docs/FileData.md
2424
docs/FileStatus.md
2525
docs/FileVersion.md
2626
docs/FilesApi.md
27+
docs/FriendStatus.md
2728
docs/FriendsApi.md
2829
docs/InlineObject.md
2930
docs/InlineObject1.md
@@ -46,10 +47,12 @@ docs/InlineResponse2003.md
4647
docs/InlineResponse2004.md
4748
docs/InlineResponse2005.md
4849
docs/InlineResponse2006.md
49-
docs/InlineResponse2007.md
50-
docs/InlineResponse403.md
50+
docs/InlineResponse400.md
5151
docs/Instance.md
5252
docs/InstancePlatforms.md
53+
docs/InviteApi.md
54+
docs/InviteMessage.md
55+
docs/InviteMessageType.md
5356
docs/LimitedUnityPackage.md
5457
docs/LimitedUser.md
5558
docs/LimitedWorld.md
@@ -60,7 +63,6 @@ docs/NotificationsApi.md
6063
docs/PastDisplayName.md
6164
docs/Permission.md
6265
docs/PermissionsApi.md
63-
docs/Platform.md
6466
docs/PlayerModeration.md
6567
docs/PlayerModerationType.md
6668
docs/PlayermoderationApi.md
@@ -102,6 +104,7 @@ src/main/java/io/github/vrchatapi/api/AvatarsApi.java
102104
src/main/java/io/github/vrchatapi/api/FavoritesApi.java
103105
src/main/java/io/github/vrchatapi/api/FilesApi.java
104106
src/main/java/io/github/vrchatapi/api/FriendsApi.java
107+
src/main/java/io/github/vrchatapi/api/InviteApi.java
105108
src/main/java/io/github/vrchatapi/api/NotificationsApi.java
106109
src/main/java/io/github/vrchatapi/api/PermissionsApi.java
107110
src/main/java/io/github/vrchatapi/api/PlayermoderationApi.java
@@ -130,6 +133,7 @@ src/main/java/io/github/vrchatapi/model/FavoriteType.java
130133
src/main/java/io/github/vrchatapi/model/FileData.java
131134
src/main/java/io/github/vrchatapi/model/FileStatus.java
132135
src/main/java/io/github/vrchatapi/model/FileVersion.java
136+
src/main/java/io/github/vrchatapi/model/FriendStatus.java
133137
src/main/java/io/github/vrchatapi/model/InlineObject.java
134138
src/main/java/io/github/vrchatapi/model/InlineObject1.java
135139
src/main/java/io/github/vrchatapi/model/InlineObject10.java
@@ -151,10 +155,11 @@ src/main/java/io/github/vrchatapi/model/InlineResponse2003.java
151155
src/main/java/io/github/vrchatapi/model/InlineResponse2004.java
152156
src/main/java/io/github/vrchatapi/model/InlineResponse2005.java
153157
src/main/java/io/github/vrchatapi/model/InlineResponse2006.java
154-
src/main/java/io/github/vrchatapi/model/InlineResponse2007.java
155-
src/main/java/io/github/vrchatapi/model/InlineResponse403.java
158+
src/main/java/io/github/vrchatapi/model/InlineResponse400.java
156159
src/main/java/io/github/vrchatapi/model/Instance.java
157160
src/main/java/io/github/vrchatapi/model/InstancePlatforms.java
161+
src/main/java/io/github/vrchatapi/model/InviteMessage.java
162+
src/main/java/io/github/vrchatapi/model/InviteMessageType.java
158163
src/main/java/io/github/vrchatapi/model/LimitedUnityPackage.java
159164
src/main/java/io/github/vrchatapi/model/LimitedUser.java
160165
src/main/java/io/github/vrchatapi/model/LimitedWorld.java
@@ -163,7 +168,6 @@ src/main/java/io/github/vrchatapi/model/Notification.java
163168
src/main/java/io/github/vrchatapi/model/NotificationType.java
164169
src/main/java/io/github/vrchatapi/model/PastDisplayName.java
165170
src/main/java/io/github/vrchatapi/model/Permission.java
166-
src/main/java/io/github/vrchatapi/model/Platform.java
167171
src/main/java/io/github/vrchatapi/model/PlayerModeration.java
168172
src/main/java/io/github/vrchatapi/model/PlayerModerationType.java
169173
src/main/java/io/github/vrchatapi/model/ReleaseStatus.java

‎build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
33
apply plugin: 'java'
44

55
group = 'io.github.vrchatapi'
6-
version = '1.1.2'
6+
version = '1.3.0'
77

88
buildscript {
99
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.1.2",
5+
version := "1.3.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

‎docs/Avatar.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**assetUrl** | **String** | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. | [optional]
1111
**assetUrlObject** | **Object** | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. | [optional]
12-
**authorId** | **String** | | [readonly]
12+
**authorId** | **String** | |
1313
**authorName** | **String** | | [readonly]
1414
**createdAt** | **OffsetDateTime** | | [readonly]
1515
**description** | **String** | |

‎docs/AvatarsApi.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Name | Type | Description | Notes
245245

246246
<a name="getFavoritedAvatars"></a>
247247
# **getFavoritedAvatars**
248-
> getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId)
248+
> List&lt;Avatar&gt; getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId)
249249
250250
List Favorited Avatars
251251

@@ -293,7 +293,8 @@ public class Example {
293293
String platform = "platform_example"; // String | The platform the asset supports.
294294
String userId = "userId_example"; // String | Target user to see information on, admin-only.
295295
try {
296-
apiInstance.getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId);
296+
List<Avatar> result = apiInstance.getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId);
297+
System.out.println(result);
297298
} catch (ApiException e) {
298299
System.err.println("Exception when calling AvatarsApi#getFavoritedAvatars");
299300
System.err.println("Status code: " + e.getCode());
@@ -325,7 +326,7 @@ Name | Type | Description | Notes
325326

326327
### Return type
327328

328-
null (empty response body)
329+
[**List&lt;Avatar&gt;**](Avatar.md)
329330

330331
### Authorization
331332

@@ -339,8 +340,9 @@ null (empty response body)
339340
### HTTP response details
340341
| Status code | Description | Response headers |
341342
|-------------|-------------|------------------|
342-
**200** | OK | - |
343+
**200** | Returns a list of Avatar objects. | - |
343344
**401** | Error response due to missing apiKey or auth cookie. | - |
345+
**403** | Error response when trying to see favourited avatars of another user without sufficient admin permissions. | - |
344346

345347
<a name="searchAvatars"></a>
346348
# **searchAvatars**

‎docs/CurrentUser.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**id** | **String** | | [readonly]
10+
**id** | **String** | |
1111
**username** | **String** | |
1212
**displayName** | **String** | |
1313
**userIcon** | **String** | |
@@ -44,7 +44,7 @@ Name | Type | Description | Notes
4444
**tags** | **List&lt;String&gt;** | |
4545
**developerType** | **DeveloperType** | |
4646
**lastLogin** | **OffsetDateTime** | |
47-
**lastPlatform** | **Platform** | |
47+
**lastPlatform** | **String** | This can be &#x60;standalonewindows&#x60; or &#x60;android&#x60;, but can also pretty much be any random Unity verison such as &#x60;2019.2.4-801-Release&#x60; or &#x60;2019.2.2-772-Release&#x60; or even &#x60;unknownplatform&#x60;. |
4848
**allowAvatarCopying** | **Boolean** | |
4949
**status** | **UserStatus** | |
5050
**dateJoined** | **LocalDate** | | [readonly]

‎docs/Favorite.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**id** | **String** | | [readonly]
10+
**id** | **String** | |
1111
**type** | **FavoriteType** | |
1212
**favoriteId** | **String** | MUST be either AvatarID, UserID or WorldID. |
1313
**tags** | **List&lt;String&gt;** | |

‎docs/FavoriteGroup.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**id** | **String** | | [readonly]
11-
**ownerId** | **String** | | [readonly]
10+
**id** | **String** | |
11+
**ownerId** | **String** | |
1212
**ownerDisplayName** | **String** | |
1313
**name** | **String** | |
1414
**displayName** | **String** | |

‎docs/FavoritesApi.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Name | Type | Description | Notes
9393

9494
<a name="clearFavoriteGroup"></a>
9595
# **clearFavoriteGroup**
96-
> Error clearFavoriteGroup(favoriteGroupType, favoriteGroupName, userId)
96+
> Success clearFavoriteGroup(favoriteGroupType, favoriteGroupName, userId)
9797
9898
Clear Favorite Group
9999

@@ -131,7 +131,7 @@ public class Example {
131131
String favoriteGroupName = "favoriteGroupName_example"; // String |
132132
String userId = "userId_example"; // String |
133133
try {
134-
Error result = apiInstance.clearFavoriteGroup(favoriteGroupType, favoriteGroupName, userId);
134+
Success result = apiInstance.clearFavoriteGroup(favoriteGroupType, favoriteGroupName, userId);
135135
System.out.println(result);
136136
} catch (ApiException e) {
137137
System.err.println("Exception when calling FavoritesApi#clearFavoriteGroup");
@@ -154,7 +154,7 @@ Name | Type | Description | Notes
154154

155155
### Return type
156156

157-
[**Error**](Error.md)
157+
[**Success**](Success.md)
158158

159159
### Authorization
160160

@@ -490,7 +490,7 @@ Name | Type | Description | Notes
490490

491491
<a name="removeFavorite"></a>
492492
# **removeFavorite**
493-
> Error removeFavorite(favoriteId)
493+
> Success removeFavorite(favoriteId)
494494
495495
Remove Favorite
496496

@@ -526,7 +526,7 @@ public class Example {
526526
FavoritesApi apiInstance = new FavoritesApi(defaultClient);
527527
String favoriteId = "favoriteId_example"; // String |
528528
try {
529-
Error result = apiInstance.removeFavorite(favoriteId);
529+
Success result = apiInstance.removeFavorite(favoriteId);
530530
System.out.println(result);
531531
} catch (ApiException e) {
532532
System.err.println("Exception when calling FavoritesApi#removeFavorite");
@@ -547,7 +547,7 @@ Name | Type | Description | Notes
547547

548548
### Return type
549549

550-
[**Error**](Error.md)
550+
[**Success**](Success.md)
551551

552552
### Authorization
553553

‎docs/FilesApi.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ Name | Type | Description | Notes
558558

559559
<a name="getFileDataUploadStatus"></a>
560560
# **getFileDataUploadStatus**
561-
> InlineResponse2004 getFileDataUploadStatus(fileId, versionId, fileType)
561+
> InlineResponse2003 getFileDataUploadStatus(fileId, versionId, fileType)
562562
563563
Check FileData Upload Status
564564

@@ -596,7 +596,7 @@ public class Example {
596596
Integer versionId = 1; // Integer |
597597
String fileType = "file"; // String |
598598
try {
599-
InlineResponse2004 result = apiInstance.getFileDataUploadStatus(fileId, versionId, fileType);
599+
InlineResponse2003 result = apiInstance.getFileDataUploadStatus(fileId, versionId, fileType);
600600
System.out.println(result);
601601
} catch (ApiException e) {
602602
System.err.println("Exception when calling FilesApi#getFileDataUploadStatus");
@@ -619,7 +619,7 @@ Name | Type | Description | Notes
619619

620620
### Return type
621621

622-
[**InlineResponse2004**](InlineResponse2004.md)
622+
[**InlineResponse2003**](InlineResponse2003.md)
623623

624624
### Authorization
625625

@@ -718,7 +718,7 @@ Name | Type | Description | Notes
718718

719719
<a name="startFileDataUpload"></a>
720720
# **startFileDataUpload**
721-
> InlineResponse2005 startFileDataUpload(fileId, versionId, fileType, partNumber)
721+
> InlineResponse2004 startFileDataUpload(fileId, versionId, fileType, partNumber)
722722
723723
Start FileData Upload
724724

@@ -757,7 +757,7 @@ public class Example {
757757
String fileType = "file"; // String |
758758
Integer partNumber = 1; // Integer |
759759
try {
760-
InlineResponse2005 result = apiInstance.startFileDataUpload(fileId, versionId, fileType, partNumber);
760+
InlineResponse2004 result = apiInstance.startFileDataUpload(fileId, versionId, fileType, partNumber);
761761
System.out.println(result);
762762
} catch (ApiException e) {
763763
System.err.println("Exception when calling FilesApi#startFileDataUpload");
@@ -781,7 +781,7 @@ Name | Type | Description | Notes
781781

782782
### Return type
783783

784-
[**InlineResponse2005**](InlineResponse2005.md)
784+
[**InlineResponse2004**](InlineResponse2004.md)
785785

786786
### Authorization
787787

0 commit comments

Comments
 (0)