Skip to content

Commit e45d98a

Browse files
committed
Upgrade Python SDK to spec 1.18.6
1 parent 49783b6 commit e45d98a

File tree

199 files changed

+3023
-690
lines changed

Some content is hidden

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

199 files changed

+3023
-690
lines changed

.openapi-generator/FILES

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ docs/Favorite.md
4747
docs/FavoriteGroup.md
4848
docs/FavoriteGroupVisibility.md
4949
docs/FavoriteType.md
50+
docs/FavoritedWorld.md
5051
docs/FavoritesApi.md
5152
docs/File.md
5253
docs/FileData.md
@@ -97,6 +98,9 @@ docs/InviteMessage.md
9798
docs/InviteMessageType.md
9899
docs/InviteRequest.md
99100
docs/InviteResponse.md
101+
docs/Jam.md
102+
docs/JamStateChangeDates.md
103+
docs/JamsApi.md
100104
docs/License.md
101105
docs/LicenseAction.md
102106
docs/LicenseGroup.md
@@ -136,6 +140,7 @@ docs/RespondGroupJoinRequest.md
136140
docs/Response.md
137141
docs/SentNotification.md
138142
docs/SortOption.md
143+
docs/Submission.md
139144
docs/Subscription.md
140145
docs/SubscriptionPeriod.md
141146
docs/Success.md
@@ -187,6 +192,7 @@ vrchatapi/api/friends_api.py
187192
vrchatapi/api/groups_api.py
188193
vrchatapi/api/instances_api.py
189194
vrchatapi/api/invite_api.py
195+
vrchatapi/api/jams_api.py
190196
vrchatapi/api/notifications_api.py
191197
vrchatapi/api/permissions_api.py
192198
vrchatapi/api/playermoderation_api.py
@@ -242,6 +248,7 @@ vrchatapi/models/favorite.py
242248
vrchatapi/models/favorite_group.py
243249
vrchatapi/models/favorite_group_visibility.py
244250
vrchatapi/models/favorite_type.py
251+
vrchatapi/models/favorited_world.py
245252
vrchatapi/models/file.py
246253
vrchatapi/models/file_data.py
247254
vrchatapi/models/file_status.py
@@ -286,6 +293,8 @@ vrchatapi/models/invite_message.py
286293
vrchatapi/models/invite_message_type.py
287294
vrchatapi/models/invite_request.py
288295
vrchatapi/models/invite_response.py
296+
vrchatapi/models/jam.py
297+
vrchatapi/models/jam_state_change_dates.py
289298
vrchatapi/models/license.py
290299
vrchatapi/models/license_action.py
291300
vrchatapi/models/license_group.py
@@ -322,6 +331,7 @@ vrchatapi/models/respond_group_join_request.py
322331
vrchatapi/models/response.py
323332
vrchatapi/models/sent_notification.py
324333
vrchatapi/models/sort_option.py
334+
vrchatapi/models/submission.py
325335
vrchatapi/models/subscription.py
326336
vrchatapi/models/subscription_period.py
327337
vrchatapi/models/success.py

docs/FavoritedWorld.md

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

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** | **str** | | [optional]
8-
**accepted_by_id** | **str** | 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** | **str** | | [optional]
99
**id** | **str** | | [optional]
1010
**group_id** | **str** | | [optional]
1111
**user_id** | **str** | 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** | **str** | 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** | **list[str]** | | [optional]
1111
**accepted_by_display_name** | **str** | | [optional]
12-
**accepted_by_id** | **str** | 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** | **str** | | [optional]
1313
**created_at** | **datetime** | | [optional]
1414
**manager_notes** | **str** | | [optional]
1515
**membership_status** | **str** | | [optional]

docs/Jam.md

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

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+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**closed** | **datetime** | | [optional]
8+
**submissions_closed** | **datetime** | | [optional]
9+
**submissions_opened** | **datetime** | | [optional]
10+
**winners_selected** | **datetime** | | [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: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
# vrchatapi.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+
# **get_jam**
13+
> Jam get_jam(jam_id)
14+
15+
Show jam information
16+
17+
Returns a jam.
18+
19+
### Example
20+
21+
* Api Key Authentication (authCookie):
22+
```python
23+
from __future__ import print_function
24+
import time
25+
import vrchatapi
26+
from vrchatapi.rest import ApiException
27+
from pprint import pprint
28+
# Defining the host is optional and defaults to https://vrchat.com/api/1
29+
# See configuration.py for a list of all supported configuration parameters.
30+
configuration = vrchatapi.Configuration(
31+
host = "https://vrchat.com/api/1"
32+
)
33+
34+
# The client must configure the authentication and authorization parameters
35+
# in accordance with the API server security policy.
36+
# Examples for each auth method are provided below, use the example that
37+
# satisfies your auth use case.
38+
39+
# Configure API key authorization: authCookie
40+
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
41+
42+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
43+
# configuration.api_key_prefix['authCookie'] = 'Bearer'
44+
45+
# Enter a context with an instance of the API client
46+
with vrchatapi.ApiClient(configuration) as api_client:
47+
# Create an instance of the API class
48+
api_instance = vrchatapi.JamsApi(api_client)
49+
jam_id = 'jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9' # str | Must be a valid query ID.
50+
51+
try:
52+
# Show jam information
53+
api_response = api_instance.get_jam(jam_id)
54+
pprint(api_response)
55+
except ApiException as e:
56+
print("Exception when calling JamsApi->get_jam: %s\n" % e)
57+
```
58+
59+
### Parameters
60+
61+
Name | Type | Description | Notes
62+
------------- | ------------- | ------------- | -------------
63+
**jam_id** | **str**| Must be a valid query ID. |
64+
65+
### Return type
66+
67+
[**Jam**](Jam.md)
68+
69+
### Authorization
70+
71+
[authCookie](../README.md#authCookie)
72+
73+
### HTTP request headers
74+
75+
- **Content-Type**: Not defined
76+
- **Accept**: application/json
77+
78+
### HTTP response details
79+
| Status code | Description | Response headers |
80+
|-------------|-------------|------------------|
81+
**200** | Returns a Jam object. | - |
82+
**404** | Error response when trying to show information about a non-existent jam. | - |
83+
84+
[[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)
85+
86+
# **get_jam_submissions**
87+
> list[Submission] get_jam_submissions(jam_id)
88+
89+
Show jam submissions
90+
91+
Returns all submissions of a jam.
92+
93+
### Example
94+
95+
* Api Key Authentication (authCookie):
96+
```python
97+
from __future__ import print_function
98+
import time
99+
import vrchatapi
100+
from vrchatapi.rest import ApiException
101+
from pprint import pprint
102+
# Defining the host is optional and defaults to https://vrchat.com/api/1
103+
# See configuration.py for a list of all supported configuration parameters.
104+
configuration = vrchatapi.Configuration(
105+
host = "https://vrchat.com/api/1"
106+
)
107+
108+
# The client must configure the authentication and authorization parameters
109+
# in accordance with the API server security policy.
110+
# Examples for each auth method are provided below, use the example that
111+
# satisfies your auth use case.
112+
113+
# Configure API key authorization: authCookie
114+
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
115+
116+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
117+
# configuration.api_key_prefix['authCookie'] = 'Bearer'
118+
119+
# Enter a context with an instance of the API client
120+
with vrchatapi.ApiClient(configuration) as api_client:
121+
# Create an instance of the API class
122+
api_instance = vrchatapi.JamsApi(api_client)
123+
jam_id = 'jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9' # str | Must be a valid query ID.
124+
125+
try:
126+
# Show jam submissions
127+
api_response = api_instance.get_jam_submissions(jam_id)
128+
pprint(api_response)
129+
except ApiException as e:
130+
print("Exception when calling JamsApi->get_jam_submissions: %s\n" % e)
131+
```
132+
133+
### Parameters
134+
135+
Name | Type | Description | Notes
136+
------------- | ------------- | ------------- | -------------
137+
**jam_id** | **str**| Must be a valid query ID. |
138+
139+
### Return type
140+
141+
[**list[Submission]**](Submission.md)
142+
143+
### Authorization
144+
145+
[authCookie](../README.md#authCookie)
146+
147+
### HTTP request headers
148+
149+
- **Content-Type**: Not defined
150+
- **Accept**: application/json
151+
152+
### HTTP response details
153+
| Status code | Description | Response headers |
154+
|-------------|-------------|------------------|
155+
**200** | Returns a list of Submission objects. | - |
156+
**404** | Error response when trying to show information about a non-existent jam. | - |
157+
158+
[[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)
159+
160+
# **get_jams**
161+
> list[Jam] get_jams(type=type)
162+
163+
Show jams list
164+
165+
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`. ``
166+
167+
### Example
168+
169+
* Api Key Authentication (authCookie):
170+
```python
171+
from __future__ import print_function
172+
import time
173+
import vrchatapi
174+
from vrchatapi.rest import ApiException
175+
from pprint import pprint
176+
# Defining the host is optional and defaults to https://vrchat.com/api/1
177+
# See configuration.py for a list of all supported configuration parameters.
178+
configuration = vrchatapi.Configuration(
179+
host = "https://vrchat.com/api/1"
180+
)
181+
182+
# The client must configure the authentication and authorization parameters
183+
# in accordance with the API server security policy.
184+
# Examples for each auth method are provided below, use the example that
185+
# satisfies your auth use case.
186+
187+
# Configure API key authorization: authCookie
188+
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
189+
190+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
191+
# configuration.api_key_prefix['authCookie'] = 'Bearer'
192+
193+
# Enter a context with an instance of the API client
194+
with vrchatapi.ApiClient(configuration) as api_client:
195+
# Create an instance of the API class
196+
api_instance = vrchatapi.JamsApi(api_client)
197+
type = 'avatar' # str | Only show jams of this type (`avatar` or `world`). (optional)
198+
199+
try:
200+
# Show jams list
201+
api_response = api_instance.get_jams(type=type)
202+
pprint(api_response)
203+
except ApiException as e:
204+
print("Exception when calling JamsApi->get_jams: %s\n" % e)
205+
```
206+
207+
### Parameters
208+
209+
Name | Type | Description | Notes
210+
------------- | ------------- | ------------- | -------------
211+
**type** | **str**| Only show jams of this type (`avatar` or `world`). | [optional]
212+
213+
### Return type
214+
215+
[**list[Jam]**](Jam.md)
216+
217+
### Authorization
218+
219+
[authCookie](../README.md#authCookie)
220+
221+
### HTTP request headers
222+
223+
- **Content-Type**: Not defined
224+
- **Accept**: application/json
225+
226+
### HTTP response details
227+
| Status code | Description | Response headers |
228+
|-------------|-------------|------------------|
229+
**200** | Returns a list of Jam objects. | - |
230+
231+
[[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)
232+

docs/LimitedWorld.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Name | Type | Description | Notes
2323
**preview_youtube_id** | **str** | | [optional]
2424
**publication_date** | **str** | |
2525
**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | |
26-
**store_id** | **str** | |
2726
**tags** | **list[str]** | |
2827
**thumbnail_image_url** | **str** | |
2928
**unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | |

0 commit comments

Comments
 (0)