Skip to content

Commit 65295e4

Browse files
committed
Upgrade Python SDK to spec 1.20.5
1 parent 7782d62 commit 65295e4

File tree

288 files changed

+3053
-311
lines changed

Some content is hidden

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

288 files changed

+3053
-311
lines changed

.openapi-generator/FILES

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ docs/AdminUnityPackage.md
3131
docs/AgeVerificationStatus.md
3232
docs/AuthenticationApi.md
3333
docs/Avatar.md
34+
docs/AvatarModeration.md
35+
docs/AvatarModerationType.md
3436
docs/AvatarPerformance.md
3537
docs/AvatarPublishedListingsInner.md
3638
docs/AvatarStyle.md
@@ -55,12 +57,14 @@ docs/CreateGroupPostRequest.md
5557
docs/CreateGroupRequest.md
5658
docs/CreateGroupRoleRequest.md
5759
docs/CreateInstanceRequest.md
60+
docs/CreatePermissionRequest.md
5861
docs/CreateWorldRequest.md
5962
docs/CurrentUser.md
6063
docs/CurrentUserPlatformHistoryInner.md
6164
docs/CurrentUserPresence.md
6265
docs/DeveloperType.md
6366
docs/Disable2FAResult.md
67+
docs/DiscordDetails.md
6468
docs/DynamicContentRow.md
6569
docs/EconomyAccount.md
6670
docs/EconomyApi.md
@@ -236,6 +240,7 @@ docs/UpdateGroupRequest.md
236240
docs/UpdateGroupRoleRequest.md
237241
docs/UpdateInventoryItemRequest.md
238242
docs/UpdateInviteMessageRequest.md
243+
docs/UpdatePermissionRequest.md
239244
docs/UpdateUserBadgeRequest.md
240245
docs/UpdateUserNoteRequest.md
241246
docs/UpdateUserRequest.md
@@ -318,6 +323,8 @@ vrchatapi/models/api_config_report_options_world.py
318323
vrchatapi/models/api_config_report_reasons.py
319324
vrchatapi/models/api_health.py
320325
vrchatapi/models/avatar.py
326+
vrchatapi/models/avatar_moderation.py
327+
vrchatapi/models/avatar_moderation_type.py
321328
vrchatapi/models/avatar_performance.py
322329
vrchatapi/models/avatar_published_listings_inner.py
323330
vrchatapi/models/avatar_style.py
@@ -340,12 +347,14 @@ vrchatapi/models/create_group_post_request.py
340347
vrchatapi/models/create_group_request.py
341348
vrchatapi/models/create_group_role_request.py
342349
vrchatapi/models/create_instance_request.py
350+
vrchatapi/models/create_permission_request.py
343351
vrchatapi/models/create_world_request.py
344352
vrchatapi/models/current_user.py
345353
vrchatapi/models/current_user_platform_history_inner.py
346354
vrchatapi/models/current_user_presence.py
347355
vrchatapi/models/developer_type.py
348356
vrchatapi/models/disable2_fa_result.py
357+
vrchatapi/models/discord_details.py
349358
vrchatapi/models/dynamic_content_row.py
350359
vrchatapi/models/economy_account.py
351360
vrchatapi/models/error.py
@@ -507,6 +516,7 @@ vrchatapi/models/update_group_request.py
507516
vrchatapi/models/update_group_role_request.py
508517
vrchatapi/models/update_inventory_item_request.py
509518
vrchatapi/models/update_invite_message_request.py
519+
vrchatapi/models/update_permission_request.py
510520
vrchatapi/models/update_user_badge_request.py
511521
vrchatapi/models/update_user_note_request.py
512522
vrchatapi/models/update_user_request.py

docs/AuthenticationApi.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Method | HTTP request | Description
1111
[**disable2_fa**](AuthenticationApi.md#disable2_fa) | **DELETE** /auth/twofactorauth | Disable 2FA
1212
[**enable2_fa**](AuthenticationApi.md#enable2_fa) | **POST** /auth/twofactorauth/totp/pending | Enable time-based 2FA codes
1313
[**get_current_user**](AuthenticationApi.md#get_current_user) | **GET** /auth/user | Login and/or Get Current User Info
14+
[**get_global_avatar_moderations**](AuthenticationApi.md#get_global_avatar_moderations) | **GET** /auth/user/avatarmoderations | Get Global Avatar Moderations
1415
[**get_recovery_codes**](AuthenticationApi.md#get_recovery_codes) | **GET** /auth/user/twofactorauth/otp | Get 2FA Recovery codes
1516
[**logout**](AuthenticationApi.md#logout) | **PUT** /logout | Logout
1617
[**register_user_account**](AuthenticationApi.md#register_user_account) | **POST** /auth/register | Register User Account
@@ -619,6 +620,76 @@ This endpoint does not need any parameter.
619620

620621
[[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)
621622

623+
# **get_global_avatar_moderations**
624+
> list[AvatarModeration] get_global_avatar_moderations()
625+
626+
Get Global Avatar Moderations
627+
628+
Returns list of globally blocked avatars.
629+
630+
### Example
631+
632+
* Api Key Authentication (authCookie):
633+
```python
634+
from __future__ import print_function
635+
import time
636+
import vrchatapi
637+
from vrchatapi.rest import ApiException
638+
from pprint import pprint
639+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
640+
# See configuration.py for a list of all supported configuration parameters.
641+
configuration = vrchatapi.Configuration(
642+
host = "https://api.vrchat.cloud/api/1"
643+
)
644+
645+
# The client must configure the authentication and authorization parameters
646+
# in accordance with the API server security policy.
647+
# Examples for each auth method are provided below, use the example that
648+
# satisfies your auth use case.
649+
650+
# Configure API key authorization: authCookie
651+
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
652+
653+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
654+
# configuration.api_key_prefix['authCookie'] = 'Bearer'
655+
656+
# Enter a context with an instance of the API client
657+
with vrchatapi.ApiClient(configuration) as api_client:
658+
# Create an instance of the API class
659+
api_instance = vrchatapi.AuthenticationApi(api_client)
660+
661+
try:
662+
# Get Global Avatar Moderations
663+
api_response = api_instance.get_global_avatar_moderations()
664+
pprint(api_response)
665+
except ApiException as e:
666+
print("Exception when calling AuthenticationApi->get_global_avatar_moderations: %s\n" % e)
667+
```
668+
669+
### Parameters
670+
This endpoint does not need any parameter.
671+
672+
### Return type
673+
674+
[**list[AvatarModeration]**](AvatarModeration.md)
675+
676+
### Authorization
677+
678+
[authCookie](../README.md#authCookie)
679+
680+
### HTTP request headers
681+
682+
- **Content-Type**: Not defined
683+
- **Accept**: application/json
684+
685+
### HTTP response details
686+
| Status code | Description | Response headers |
687+
|-------------|-------------|------------------|
688+
**200** | Returns list of globally blocked avatars with timestamps | - |
689+
**401** | Error response due to missing auth cookie. | - |
690+
691+
[[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)
692+
622693
# **get_recovery_codes**
623694
> TwoFactorRecoveryCodes get_recovery_codes()
624695

docs/AvatarModeration.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AvatarModeration
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**avatar_moderation_type** | [**AvatarModerationType**](AvatarModerationType.md) | |
8+
**created** | **datetime** | |
9+
**target_avatar_id** | **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/AvatarModerationType.md

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

docs/CalendarEvent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**access_type** | **str** | |
9-
**category** | **str** | | [optional]
9+
**category** | **str** | |
1010
**close_instance_after_end_minutes** | **int** | | [optional]
1111
**created_at** | **datetime** | | [optional]
1212
**deleted_at** | **datetime** | | [optional]
13-
**description** | **str** | | [optional]
14-
**ends_at** | **datetime** | | [optional]
13+
**description** | **str** | |
14+
**ends_at** | **datetime** | |
1515
**featured** | **bool** | | [optional]
1616
**guest_early_join_minutes** | **int** | | [optional]
1717
**host_early_join_minutes** | **int** | | [optional]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
2424
**owner_id** | **str** | | [optional]
2525
**platforms** | **list[str]** | | [optional]
2626
**role_ids** | **list[str]** | | [optional]
27-
**starts_at** | **datetime** | | [optional]
27+
**starts_at** | **datetime** | |
2828
**tags** | **list[str]** | | [optional]
2929
**title** | **str** | |
3030
**type** | **str** | | [optional]

docs/CreateAvatarRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
1717
**thumbnail_image_url** | **str** | | [optional]
1818
**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional]
1919
**version** | **int** | | [optional] [default to 1]
20+
**featured** | **bool** | Enabling featured tag requires Admin Credentials. | [optional]
2021
**unity_package_url** | **str** | | [optional]
2122
**unity_version** | **str** | | [optional] [default to '5.3.4p1']
2223

docs/CreatePermissionRequest.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CreatePermissionRequest
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **str** | |
8+
**owner_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]
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+

docs/CurrentUser.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Name | Type | Description | Notes
2323
**current_avatar_tags** | **list[str]** | |
2424
**date_joined** | **date** | |
2525
**developer_type** | [**DeveloperType**](DeveloperType.md) | |
26+
**discord_details** | [**DiscordDetails**](DiscordDetails.md) | | [optional]
27+
**discord_id** | **str** | https://discord.com/developers/docs/reference#snowflakes | [optional]
2628
**display_name** | **str** | |
2729
**email_verified** | **bool** | |
2830
**fallback_avatar** | **str** | | [optional]

docs/DiscordDetails.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# DiscordDetails
2+
3+
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**global_name** | **str** | | [optional]
9+
**id** | **str** | https://discord.com/developers/docs/reference#snowflakes | [optional]
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+

0 commit comments

Comments
 (0)