Skip to content

Commit 9c803f7

Browse files
committed
Upgrade Python SDK to spec 1.20.1
1 parent a86cc36 commit 9c803f7

File tree

271 files changed

+7281
-573
lines changed

Some content is hidden

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

271 files changed

+7281
-573
lines changed

.openapi-generator/FILES

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@ docs/APIHealth.md
2626
docs/AccountDeletionLog.md
2727
docs/AddFavoriteRequest.md
2828
docs/AddGroupGalleryImageRequest.md
29+
docs/AdminAssetBundle.md
30+
docs/AdminUnityPackage.md
2931
docs/AgeVerificationStatus.md
3032
docs/AuthenticationApi.md
3133
docs/Avatar.md
3234
docs/AvatarPerformance.md
3335
docs/AvatarPublishedListingsInner.md
36+
docs/AvatarStyle.md
3437
docs/AvatarStyles.md
3538
docs/AvatarUnityPackageUrlObject.md
3639
docs/AvatarsApi.md
@@ -118,6 +121,15 @@ docs/InstanceRegion.md
118121
docs/InstanceShortNameResponse.md
119122
docs/InstanceType.md
120123
docs/InstancesApi.md
124+
docs/Inventory.md
125+
docs/InventoryApi.md
126+
docs/InventoryDrop.md
127+
docs/InventoryItem.md
128+
docs/InventoryItemType.md
129+
docs/InventoryMetadata.md
130+
docs/InventoryNotificationDetails.md
131+
docs/InventorySpawn.md
132+
docs/InventoryTemplate.md
121133
docs/InviteApi.md
122134
docs/InviteMessage.md
123135
docs/InviteMessageType.md
@@ -167,6 +179,9 @@ docs/ProductListing.md
167179
docs/ProductListingType.md
168180
docs/ProductListingVariant.md
169181
docs/ProductType.md
182+
docs/Prop.md
183+
docs/PropUnityPackage.md
184+
docs/PropsApi.md
170185
docs/Region.md
171186
docs/RegisterUserAccountRequest.md
172187
docs/ReleaseStatus.md
@@ -240,12 +255,14 @@ vrchatapi/api/files_api.py
240255
vrchatapi/api/friends_api.py
241256
vrchatapi/api/groups_api.py
242257
vrchatapi/api/instances_api.py
258+
vrchatapi/api/inventory_api.py
243259
vrchatapi/api/invite_api.py
244260
vrchatapi/api/jams_api.py
245261
vrchatapi/api/miscellaneous_api.py
246262
vrchatapi/api/notifications_api.py
247263
vrchatapi/api/playermoderation_api.py
248264
vrchatapi/api/prints_api.py
265+
vrchatapi/api/props_api.py
249266
vrchatapi/api/users_api.py
250267
vrchatapi/api/worlds_api.py
251268
vrchatapi/api_client.py
@@ -255,6 +272,8 @@ vrchatapi/models/__init__.py
255272
vrchatapi/models/account_deletion_log.py
256273
vrchatapi/models/add_favorite_request.py
257274
vrchatapi/models/add_group_gallery_image_request.py
275+
vrchatapi/models/admin_asset_bundle.py
276+
vrchatapi/models/admin_unity_package.py
258277
vrchatapi/models/age_verification_status.py
259278
vrchatapi/models/api_config.py
260279
vrchatapi/models/api_config_access_logs_urls.py
@@ -283,6 +302,7 @@ vrchatapi/models/api_health.py
283302
vrchatapi/models/avatar.py
284303
vrchatapi/models/avatar_performance.py
285304
vrchatapi/models/avatar_published_listings_inner.py
305+
vrchatapi/models/avatar_style.py
286306
vrchatapi/models/avatar_styles.py
287307
vrchatapi/models/avatar_unity_package_url_object.py
288308
vrchatapi/models/badge.py
@@ -363,6 +383,14 @@ vrchatapi/models/instance_platforms.py
363383
vrchatapi/models/instance_region.py
364384
vrchatapi/models/instance_short_name_response.py
365385
vrchatapi/models/instance_type.py
386+
vrchatapi/models/inventory.py
387+
vrchatapi/models/inventory_drop.py
388+
vrchatapi/models/inventory_item.py
389+
vrchatapi/models/inventory_item_type.py
390+
vrchatapi/models/inventory_metadata.py
391+
vrchatapi/models/inventory_notification_details.py
392+
vrchatapi/models/inventory_spawn.py
393+
vrchatapi/models/inventory_template.py
366394
vrchatapi/models/invite_message.py
367395
vrchatapi/models/invite_message_type.py
368396
vrchatapi/models/invite_request.py
@@ -406,6 +434,8 @@ vrchatapi/models/product_listing.py
406434
vrchatapi/models/product_listing_type.py
407435
vrchatapi/models/product_listing_variant.py
408436
vrchatapi/models/product_type.py
437+
vrchatapi/models/prop.py
438+
vrchatapi/models/prop_unity_package.py
409439
vrchatapi/models/region.py
410440
vrchatapi/models/register_user_account_request.py
411441
vrchatapi/models/release_status.py

docs/AdminAssetBundle.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# AdminAssetBundle
2+
3+
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**created_at** | **datetime** | |
9+
**updated_at** | **datetime** | |
10+
**asset_type** | **str** | |
11+
**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. |
12+
**author_name** | **str** | |
13+
**description** | **str** | |
14+
**image_url** | **str** | |
15+
**name** | **str** | |
16+
**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | |
17+
**tags** | **list[str]** | |
18+
**thumbnail_image_url** | **str** | |
19+
**unity_package_url** | **str** | |
20+
**unity_packages** | [**list[AdminUnityPackage]**](AdminUnityPackage.md) | |
21+
22+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
23+
24+

docs/AdminUnityPackage.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# AdminUnityPackage
2+
3+
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**asset_url** | **str** | |
9+
**asset_version** | **int** | |
10+
**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. |
11+
**unity_version** | **str** | | [default to '2022.3.22f1-DWR']
12+
**variant** | **str** | |
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

docs/AvatarStyle.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AvatarStyle
2+
3+
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**id** | **str** | |
9+
**style_name** | **str** | |
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/AvatarsApi.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Method | HTTP request | Description
99
[**delete_impostor**](AvatarsApi.md#delete_impostor) | **DELETE** /avatars/{avatarId}/impostor | Delete generated Impostor
1010
[**enqueue_impostor**](AvatarsApi.md#enqueue_impostor) | **POST** /avatars/{avatarId}/impostor/enqueue | Enqueue Impostor generation
1111
[**get_avatar**](AvatarsApi.md#get_avatar) | **GET** /avatars/{avatarId} | Get Avatar
12+
[**get_avatar_styles**](AvatarsApi.md#get_avatar_styles) | **GET** /avatarStyles | Get Avatar Styles
1213
[**get_favorited_avatars**](AvatarsApi.md#get_favorited_avatars) | **GET** /avatars/favorites | List Favorited Avatars
1314
[**get_impostor_queue_stats**](AvatarsApi.md#get_impostor_queue_stats) | **GET** /avatars/impostor/queue/stats | Get Impostor Queue Stats
1415
[**get_licensed_avatars**](AvatarsApi.md#get_licensed_avatars) | **GET** /avatars/licensed | List Licensed Avatars
@@ -393,6 +394,64 @@ Name | Type | Description | Notes
393394

394395
[[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)
395396

397+
# **get_avatar_styles**
398+
> list[AvatarStyle] get_avatar_styles()
399+
400+
Get Avatar Styles
401+
402+
List avatar styles.
403+
404+
### Example
405+
406+
```python
407+
from __future__ import print_function
408+
import time
409+
import vrchatapi
410+
from vrchatapi.rest import ApiException
411+
from pprint import pprint
412+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
413+
# See configuration.py for a list of all supported configuration parameters.
414+
configuration = vrchatapi.Configuration(
415+
host = "https://api.vrchat.cloud/api/1"
416+
)
417+
418+
419+
# Enter a context with an instance of the API client
420+
with vrchatapi.ApiClient() as api_client:
421+
# Create an instance of the API class
422+
api_instance = vrchatapi.AvatarsApi(api_client)
423+
424+
try:
425+
# Get Avatar Styles
426+
api_response = api_instance.get_avatar_styles()
427+
pprint(api_response)
428+
except ApiException as e:
429+
print("Exception when calling AvatarsApi->get_avatar_styles: %s\n" % e)
430+
```
431+
432+
### Parameters
433+
This endpoint does not need any parameter.
434+
435+
### Return type
436+
437+
[**list[AvatarStyle]**](AvatarStyle.md)
438+
439+
### Authorization
440+
441+
No authorization required
442+
443+
### HTTP request headers
444+
445+
- **Content-Type**: Not defined
446+
- **Accept**: application/json
447+
448+
### HTTP response details
449+
| Status code | Description | Response headers |
450+
|-------------|-------------|------------------|
451+
**200** | Returns a list of AvatarStyle objects. | - |
452+
453+
[[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)
454+
396455
# **get_favorited_avatars**
397456
> list[Avatar] get_favorited_avatars(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id)
398457

docs/EconomyApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ n = 60 # int | The number of objects to return. (optional) (default to 60)
353353
offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional)
354354
hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional)
355355
group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. (optional)
356-
active = True # bool | Filter for users' listings. (optional)
356+
active = True # bool | Filter for users' listings and inventory bundles. (optional)
357357

358358
try:
359359
# Get User Product Listings
@@ -372,7 +372,7 @@ Name | Type | Description | Notes
372372
**offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional]
373373
**hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional]
374374
**group_id** | **str**| Must be a valid group ID. | [optional]
375-
**active** | **bool**| Filter for users' listings. | [optional]
375+
**active** | **bool**| Filter for users' listings and inventory bundles. | [optional]
376376

377377
### Return type
378378

docs/FilesApi.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Method | HTTP request | Description
1010
[**delete_file_version**](FilesApi.md#delete_file_version) | **DELETE** /file/{fileId}/{versionId} | Delete File Version
1111
[**download_file_version**](FilesApi.md#download_file_version) | **GET** /file/{fileId}/{versionId} | Download File Version
1212
[**finish_file_data_upload**](FilesApi.md#finish_file_data_upload) | **PUT** /file/{fileId}/{versionId}/{fileType}/finish | Finish FileData Upload
13+
[**get_admin_asset_bundle**](FilesApi.md#get_admin_asset_bundle) | **GET** /adminassetbundles/{adminAssetBundleId} | Get AdminAssetBundle
1314
[**get_file**](FilesApi.md#get_file) | **GET** /file/{fileId} | Show File
1415
[**get_file_analysis**](FilesApi.md#get_file_analysis) | **GET** /analysis/{fileId}/{versionId} | Get File Version Analysis
1516
[**get_file_analysis_security**](FilesApi.md#get_file_analysis_security) | **GET** /analysis/{fileId}/{versionId}/security | Get File Version Analysis Security
@@ -476,6 +477,79 @@ Name | Type | Description | Notes
476477

477478
[[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)
478479

480+
# **get_admin_asset_bundle**
481+
> AdminAssetBundle get_admin_asset_bundle(admin_asset_bundle_id)
482+
483+
Get AdminAssetBundle
484+
485+
Returns an AdminAssetBundle
486+
487+
### Example
488+
489+
* Api Key Authentication (authCookie):
490+
```python
491+
from __future__ import print_function
492+
import time
493+
import vrchatapi
494+
from vrchatapi.rest import ApiException
495+
from pprint import pprint
496+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
497+
# See configuration.py for a list of all supported configuration parameters.
498+
configuration = vrchatapi.Configuration(
499+
host = "https://api.vrchat.cloud/api/1"
500+
)
501+
502+
# The client must configure the authentication and authorization parameters
503+
# in accordance with the API server security policy.
504+
# Examples for each auth method are provided below, use the example that
505+
# satisfies your auth use case.
506+
507+
# Configure API key authorization: authCookie
508+
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
509+
510+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
511+
# configuration.api_key_prefix['authCookie'] = 'Bearer'
512+
513+
# Enter a context with an instance of the API client
514+
with vrchatapi.ApiClient(configuration) as api_client:
515+
# Create an instance of the API class
516+
api_instance = vrchatapi.FilesApi(api_client)
517+
admin_asset_bundle_id = 'aab_e159e72c-ce54-4fbe-8c37-96af02f6d18d' # str | Must be a valid admin asset bundle ID.
518+
519+
try:
520+
# Get AdminAssetBundle
521+
api_response = api_instance.get_admin_asset_bundle(admin_asset_bundle_id)
522+
pprint(api_response)
523+
except ApiException as e:
524+
print("Exception when calling FilesApi->get_admin_asset_bundle: %s\n" % e)
525+
```
526+
527+
### Parameters
528+
529+
Name | Type | Description | Notes
530+
------------- | ------------- | ------------- | -------------
531+
**admin_asset_bundle_id** | **str**| Must be a valid admin asset bundle ID. |
532+
533+
### Return type
534+
535+
[**AdminAssetBundle**](AdminAssetBundle.md)
536+
537+
### Authorization
538+
539+
[authCookie](../README.md#authCookie)
540+
541+
### HTTP request headers
542+
543+
- **Content-Type**: Not defined
544+
- **Accept**: application/json
545+
546+
### HTTP response details
547+
| Status code | Description | Response headers |
548+
|-------------|-------------|------------------|
549+
**200** | Returns a single AdminAssetBundle object. | - |
550+
551+
[[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)
552+
479553
# **get_file**
480554
> File get_file(file_id)
481555

docs/Inventory.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Inventory
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**data** | [**list[InventoryItem]**](InventoryItem.md) | |
8+
**total_count** | **int** | |
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

0 commit comments

Comments
 (0)