Skip to content

Commit 777128e

Browse files
committed
Upgrade Rust SDK to spec 1.18.6
1 parent 7d12428 commit 777128e

30 files changed

+794
-195
lines changed

.openapi-generator/FILES

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ docs/Favorite.md
4848
docs/FavoriteGroup.md
4949
docs/FavoriteGroupVisibility.md
5050
docs/FavoriteType.md
51+
docs/FavoritedWorld.md
5152
docs/FavoritesApi.md
5253
docs/File.md
5354
docs/FileData.md
@@ -98,6 +99,9 @@ docs/InviteMessage.md
9899
docs/InviteMessageType.md
99100
docs/InviteRequest.md
100101
docs/InviteResponse.md
102+
docs/Jam.md
103+
docs/JamStateChangeDates.md
104+
docs/JamsApi.md
101105
docs/License.md
102106
docs/LicenseAction.md
103107
docs/LicenseGroup.md
@@ -137,6 +141,7 @@ docs/RespondGroupJoinRequest.md
137141
docs/Response.md
138142
docs/SentNotification.md
139143
docs/SortOption.md
144+
docs/Submission.md
140145
docs/Subscription.md
141146
docs/SubscriptionPeriod.md
142147
docs/Success.md
@@ -182,6 +187,7 @@ src/apis/friends_api.rs
182187
src/apis/groups_api.rs
183188
src/apis/instances_api.rs
184189
src/apis/invite_api.rs
190+
src/apis/jams_api.rs
185191
src/apis/mod.rs
186192
src/apis/notifications_api.rs
187193
src/apis/permissions_api.rs
@@ -235,6 +241,7 @@ src/models/favorite.rs
235241
src/models/favorite_group.rs
236242
src/models/favorite_group_visibility.rs
237243
src/models/favorite_type.rs
244+
src/models/favorited_world.rs
238245
src/models/file.rs
239246
src/models/file_data.rs
240247
src/models/file_status.rs
@@ -279,6 +286,8 @@ src/models/invite_message.rs
279286
src/models/invite_message_type.rs
280287
src/models/invite_request.rs
281288
src/models/invite_response.rs
289+
src/models/jam.rs
290+
src/models/jam_state_change_dates.rs
282291
src/models/license.rs
283292
src/models/license_action.rs
284293
src/models/license_group.rs
@@ -316,6 +325,7 @@ src/models/respond_group_join_request.rs
316325
src/models/response.rs
317326
src/models/sent_notification.rs
318327
src/models/sort_option.rs
328+
src/models/submission.rs
319329
src/models/subscription.rs
320330
src/models/subscription_period.rs
321331
src/models/success.rs

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vrchatapi"
3-
version = "1.18.5"
3+
version = "1.18.6"
44
authors = ["[email protected]"]
55
description = "VRChat API Client for Rust"
66
license = "MIT"

docs/FavoritedWorld.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# FavoritedWorld
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**author_id** | **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. |
8+
**author_name** | **String** | |
9+
**capacity** | **i32** | |
10+
**description** | **String** | |
11+
**recommended_capacity** | Option<**i32**> | | [optional]
12+
**created_at** | **String** | |
13+
**favorites** | **i32** | | [default to 0]
14+
**favorite_group** | **String** | |
15+
**favorite_id** | **String** | |
16+
**featured** | **bool** | | [default to false]
17+
**visits** | Option<**i32**> | | [optional][default to 0]
18+
**heat** | **i32** | | [default to 0]
19+
**id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
20+
**image_url** | **String** | |
21+
**labs_publication_date** | **String** | |
22+
**name** | **String** | |
23+
**occupants** | **i32** | | [default to 0]
24+
**organization** | **String** | | [default to vrchat]
25+
**popularity** | **i32** | | [default to 0]
26+
**preview_youtube_id** | Option<**String**> | | [optional]
27+
**publication_date** | **String** | |
28+
**release_status** | [**models::ReleaseStatus**](ReleaseStatus.md) | |
29+
**tags** | **Vec<String>** | |
30+
**thumbnail_image_url** | **String** | |
31+
**unity_packages** | [**Vec<models::UnityPackage>**](UnityPackage.md) | |
32+
**updated_at** | **String** | |
33+
**udon_products** | Option<**Vec<String>**> | | [optional]
34+
**version** | **i32** | |
35+
36+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
37+
38+

docs/GroupMember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**accepted_by_display_name** | Option<**String**> | | [optional]
8-
**accepted_by_id** | Option<**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]
8+
**accepted_by_id** | Option<**String**> | | [optional]
99
**id** | Option<**String**> | | [optional]
1010
**group_id** | Option<**String**> | | [optional]
1111
**user_id** | Option<**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
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**user_id** | Option<**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]
1010
**role_ids** | Option<**Vec<String>**> | | [optional]
1111
**accepted_by_display_name** | Option<**String**> | | [optional]
12-
**accepted_by_id** | Option<**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]
12+
**accepted_by_id** | Option<**String**> | | [optional]
1313
**created_at** | Option<**String**> | | [optional]
1414
**manager_notes** | Option<**String**> | | [optional]
1515
**membership_status** | Option<**String**> | | [optional]

docs/Jam.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Jam
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | **String** | |
8+
**id** | **String** | |
9+
**is_visible** | **bool** | |
10+
**more_info** | **String** | |
11+
**state** | **String** | One of: - submissions_open - closed |
12+
**state_change_dates** | [**models::JamStateChangeDates**](Jam_stateChangeDates.md) | |
13+
**submission_content_gate_date** | Option<**String**> | |
14+
**submission_content_gated** | **bool** | |
15+
**title** | **String** | |
16+
**updated_at** | **String** | |
17+
18+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
19+
20+

docs/JamStateChangeDates.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# JamStateChangeDates
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**closed** | Option<**String**> | | [optional]
8+
**submissions_closed** | Option<**String**> | | [optional]
9+
**submissions_opened** | Option<**String**> | | [optional]
10+
**winners_selected** | Option<**String**> | | [optional]
11+
12+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

docs/JamsApi.md

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# \JamsApi
2+
3+
All URIs are relative to *https://vrchat.com/api/1*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**get_jam**](JamsApi.md#get_jam) | **GET** /jams/{jamId} | Show jam information
8+
[**get_jam_submissions**](JamsApi.md#get_jam_submissions) | **GET** /jams/{jamId}/submissions | Show jam submissions
9+
[**get_jams**](JamsApi.md#get_jams) | **GET** /jams | Show jams list
10+
11+
12+
13+
## get_jam
14+
15+
> models::Jam get_jam(jam_id)
16+
Show jam information
17+
18+
Returns a jam.
19+
20+
### Parameters
21+
22+
23+
Name | Type | Description | Required | Notes
24+
------------- | ------------- | ------------- | ------------- | -------------
25+
**jam_id** | **String** | Must be a valid query ID. | [required] |
26+
27+
### Return type
28+
29+
[**models::Jam**](Jam.md)
30+
31+
### Authorization
32+
33+
[authCookie](../README.md#authCookie)
34+
35+
### HTTP request headers
36+
37+
- **Content-Type**: Not defined
38+
- **Accept**: application/json
39+
40+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
41+
42+
43+
## get_jam_submissions
44+
45+
> Vec<models::Submission> get_jam_submissions(jam_id)
46+
Show jam submissions
47+
48+
Returns all submissions of a jam.
49+
50+
### Parameters
51+
52+
53+
Name | Type | Description | Required | Notes
54+
------------- | ------------- | ------------- | ------------- | -------------
55+
**jam_id** | **String** | Must be a valid query ID. | [required] |
56+
57+
### Return type
58+
59+
[**Vec<models::Submission>**](Submission.md)
60+
61+
### Authorization
62+
63+
[authCookie](../README.md#authCookie)
64+
65+
### HTTP request headers
66+
67+
- **Content-Type**: Not defined
68+
- **Accept**: application/json
69+
70+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
71+
72+
73+
## get_jams
74+
75+
> Vec<models::Jam> get_jams(r#type)
76+
Show jams list
77+
78+
Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
79+
80+
### Parameters
81+
82+
83+
Name | Type | Description | Required | Notes
84+
------------- | ------------- | ------------- | ------------- | -------------
85+
**r#type** | Option<**String**> | Only show jams of this type (`avatar` or `world`). | |
86+
87+
### Return type
88+
89+
[**Vec<models::Jam>**](Jam.md)
90+
91+
### Authorization
92+
93+
[authCookie](../README.md#authCookie)
94+
95+
### HTTP request headers
96+
97+
- **Content-Type**: Not defined
98+
- **Accept**: application/json
99+
100+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
101+

docs/LimitedWorld.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Name | Type | Description | Notes
2222
**preview_youtube_id** | Option<**String**> | | [optional]
2323
**publication_date** | **String** | |
2424
**release_status** | [**models::ReleaseStatus**](ReleaseStatus.md) | |
25-
**store_id** | Option<**String**> | |
2625
**tags** | **Vec<String>** | |
2726
**thumbnail_image_url** | **String** | |
2827
**unity_packages** | [**Vec<models::LimitedUnityPackage>**](LimitedUnityPackage.md) | |

docs/NotificationsApi.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Method | HTTP request | Description
77
[**accept_friend_request**](NotificationsApi.md#accept_friend_request) | **PUT** /auth/user/notifications/{notificationId}/accept | Accept Friend Request
88
[**clear_notifications**](NotificationsApi.md#clear_notifications) | **PUT** /auth/user/notifications/clear | Clear All Notifications
99
[**delete_notification**](NotificationsApi.md#delete_notification) | **PUT** /auth/user/notifications/{notificationId}/hide | Delete Notification
10+
[**get_notification**](NotificationsApi.md#get_notification) | **GET** /auth/user/notifications/{notificationId} | Show notification
1011
[**get_notifications**](NotificationsApi.md#get_notifications) | **GET** /auth/user/notifications | List Notifications
1112
[**mark_notification_as_read**](NotificationsApi.md#mark_notification_as_read) | **PUT** /auth/user/notifications/{notificationId}/see | Mark Notification As Read
1213

@@ -99,6 +100,36 @@ Name | Type | Description | Required | Notes
99100
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
100101

101102

103+
## get_notification
104+
105+
> models::Notification get_notification(notification_id)
106+
Show notification
107+
108+
Get a notification by notification `not_` ID.
109+
110+
### Parameters
111+
112+
113+
Name | Type | Description | Required | Notes
114+
------------- | ------------- | ------------- | ------------- | -------------
115+
**notification_id** | **String** | Must be a valid notification ID. | [required] |
116+
117+
### Return type
118+
119+
[**models::Notification**](Notification.md)
120+
121+
### Authorization
122+
123+
[authCookie](../README.md#authCookie)
124+
125+
### HTTP request headers
126+
127+
- **Content-Type**: Not defined
128+
- **Accept**: application/json
129+
130+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
131+
132+
102133
## get_notifications
103134

104135
> Vec<models::Notification> get_notifications(r#type, sent, hidden, after, n, offset)

0 commit comments

Comments
 (0)