Skip to content

Commit 88ab88c

Browse files
committed
Upgrade Python SDK to spec 1.19.4
1 parent c352caf commit 88ab88c

File tree

236 files changed

+1053
-718
lines changed

Some content is hidden

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

236 files changed

+1053
-718
lines changed

.openapi-generator/FILES

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ docs/LimitedUser.md
135135
docs/LimitedUserGroups.md
136136
docs/LimitedWorld.md
137137
docs/MIMEType.md
138+
docs/MiscellaneousApi.md
138139
docs/ModelPrint.md
139140
docs/ModerateUserRequest.md
140141
docs/Notification.md
@@ -152,7 +153,6 @@ docs/Pending2FAResult.md
152153
docs/PerformanceLimiterInfo.md
153154
docs/PerformanceRatings.md
154155
docs/Permission.md
155-
docs/PermissionsApi.md
156156
docs/PlatformBuildInfo.md
157157
docs/PlayerModeration.md
158158
docs/PlayerModerationType.md
@@ -181,7 +181,6 @@ docs/Submission.md
181181
docs/Subscription.md
182182
docs/SubscriptionPeriod.md
183183
docs/Success.md
184-
docs/SystemApi.md
185184
docs/TiliaStatus.md
186185
docs/TiliaTOS.md
187186
docs/TokenBundle.md
@@ -199,6 +198,7 @@ docs/UpdateAvatarRequest.md
199198
docs/UpdateFavoriteGroupRequest.md
200199
docs/UpdateGroupGalleryRequest.md
201200
docs/UpdateGroupMemberRequest.md
201+
docs/UpdateGroupRepresentationRequest.md
202202
docs/UpdateGroupRequest.md
203203
docs/UpdateGroupRoleRequest.md
204204
docs/UpdateInviteMessageRequest.md
@@ -239,11 +239,10 @@ vrchatapi/api/groups_api.py
239239
vrchatapi/api/instances_api.py
240240
vrchatapi/api/invite_api.py
241241
vrchatapi/api/jams_api.py
242+
vrchatapi/api/miscellaneous_api.py
242243
vrchatapi/api/notifications_api.py
243-
vrchatapi/api/permissions_api.py
244244
vrchatapi/api/playermoderation_api.py
245245
vrchatapi/api/prints_api.py
246-
vrchatapi/api/system_api.py
247246
vrchatapi/api/users_api.py
248247
vrchatapi/api/worlds_api.py
249248
vrchatapi/api_client.py
@@ -435,6 +434,7 @@ vrchatapi/models/update_avatar_request.py
435434
vrchatapi/models/update_favorite_group_request.py
436435
vrchatapi/models/update_group_gallery_request.py
437436
vrchatapi/models/update_group_member_request.py
437+
vrchatapi/models/update_group_representation_request.py
438438
vrchatapi/models/update_group_request.py
439439
vrchatapi/models/update_group_role_request.py
440440
vrchatapi/models/update_invite_message_request.py

docs/GroupsApi.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Method | HTTP request | Description
4646
[**update_group_gallery**](GroupsApi.md#update_group_gallery) | **PUT** /groups/{groupId}/galleries/{groupGalleryId} | Update Group Gallery
4747
[**update_group_member**](GroupsApi.md#update_group_member) | **PUT** /groups/{groupId}/members/{userId} | Update Group Member
4848
[**update_group_post**](GroupsApi.md#update_group_post) | **PUT** /groups/{groupId}/posts/{notificationId} | Edits a Group post
49+
[**update_group_representation**](GroupsApi.md#update_group_representation) | **PUT** /groups/{groupId}/representation | Update Group Representation
4950
[**update_group_role**](GroupsApi.md#update_group_role) | **PUT** /groups/{groupId}/roles/{groupRoleId} | Update Group Role
5051

5152

@@ -3302,6 +3303,83 @@ Name | Type | Description | Notes
33023303

33033304
[[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)
33043305

3306+
# **update_group_representation**
3307+
> Success update_group_representation(group_id, update_group_representation_request)
3308+
3309+
Update Group Representation
3310+
3311+
Updates whether the user is representing the group. When `isRepresenting` is set to `true`, this flag will be set to `false` for all other groups
3312+
3313+
### Example
3314+
3315+
* Api Key Authentication (authCookie):
3316+
```python
3317+
from __future__ import print_function
3318+
import time
3319+
import vrchatapi
3320+
from vrchatapi.rest import ApiException
3321+
from pprint import pprint
3322+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
3323+
# See configuration.py for a list of all supported configuration parameters.
3324+
configuration = vrchatapi.Configuration(
3325+
host = "https://api.vrchat.cloud/api/1"
3326+
)
3327+
3328+
# The client must configure the authentication and authorization parameters
3329+
# in accordance with the API server security policy.
3330+
# Examples for each auth method are provided below, use the example that
3331+
# satisfies your auth use case.
3332+
3333+
# Configure API key authorization: authCookie
3334+
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
3335+
3336+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
3337+
# configuration.api_key_prefix['authCookie'] = 'Bearer'
3338+
3339+
# Enter a context with an instance of the API client
3340+
with vrchatapi.ApiClient(configuration) as api_client:
3341+
# Create an instance of the API class
3342+
api_instance = vrchatapi.GroupsApi(api_client)
3343+
group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID.
3344+
update_group_representation_request = vrchatapi.UpdateGroupRepresentationRequest() # UpdateGroupRepresentationRequest |
3345+
3346+
try:
3347+
# Update Group Representation
3348+
api_response = api_instance.update_group_representation(group_id, update_group_representation_request)
3349+
pprint(api_response)
3350+
except ApiException as e:
3351+
print("Exception when calling GroupsApi->update_group_representation: %s\n" % e)
3352+
```
3353+
3354+
### Parameters
3355+
3356+
Name | Type | Description | Notes
3357+
------------- | ------------- | ------------- | -------------
3358+
**group_id** | **str**| Must be a valid group ID. |
3359+
**update_group_representation_request** | [**UpdateGroupRepresentationRequest**](UpdateGroupRepresentationRequest.md)| |
3360+
3361+
### Return type
3362+
3363+
[**Success**](Success.md)
3364+
3365+
### Authorization
3366+
3367+
[authCookie](../README.md#authCookie)
3368+
3369+
### HTTP request headers
3370+
3371+
- **Content-Type**: application/json
3372+
- **Accept**: application/json
3373+
3374+
### HTTP response details
3375+
| Status code | Description | Response headers |
3376+
|-------------|-------------|------------------|
3377+
**200** | Successful response after updating group representation. | - |
3378+
**401** | Error response due to missing auth cookie. | - |
3379+
**403** | Error response when trying to perform operations on a group you are not member of. | - |
3380+
3381+
[[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)
3382+
33053383
# **update_group_role**
33063384
> list[GroupRole] update_group_role(group_id, group_role_id, update_group_role_request=update_group_role_request)
33073385

0 commit comments

Comments
 (0)