Skip to content

Commit

Permalink
Upgrade Python SDK to spec 1.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ariesclark committed Feb 4, 2024
1 parent 7dae883 commit 055c9bd
Show file tree
Hide file tree
Showing 154 changed files with 675 additions and 375 deletions.
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ docs/GroupPermission.md
docs/GroupPrivacy.md
docs/GroupRole.md
docs/GroupRoleTemplate.md
docs/GroupSearchSort.md
docs/GroupUserVisibility.md
docs/GroupsApi.md
docs/InfoPush.md
Expand Down Expand Up @@ -217,6 +218,7 @@ vrchatapi/models/group_permission.py
vrchatapi/models/group_privacy.py
vrchatapi/models/group_role.py
vrchatapi/models/group_role_template.py
vrchatapi/models/group_search_sort.py
vrchatapi/models/group_user_visibility.py
vrchatapi/models/info_push.py
vrchatapi/models/info_push_data.py
Expand Down
3 changes: 3 additions & 0 deletions docs/GroupMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ Name | Type | Description | Notes
**is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [optional] [default to False]
**user** | [**GroupMemberLimitedUser**](GroupMemberLimitedUser.md) | | [optional]
**role_ids** | **list[str]** | | [optional]
**m_role_ids** | **list[str]** | | [optional]
**joined_at** | **datetime** | | [optional]
**membership_status** | **str** | | [optional]
**visibility** | **str** | | [optional]
**is_subscribed_to_announcements** | **bool** | | [optional] [default to False]
**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional]
**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional]
**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional]
**last_post_read_at** | **datetime** | | [optional]
**has_joined_from_purchase** | **bool** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
3 changes: 3 additions & 0 deletions docs/GroupMemberLimitedUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Name | Type | Description | Notes
**display_name** | **str** | | [optional]
**thumbnail_url** | **str** | | [optional]
**icon_url** | **str** | | [optional]
**profile_pic_override** | **str** | | [optional]
**current_avatar_thumbnail_image_url** | **str** | | [optional]
**current_avatar_tags** | **list[str]** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
10 changes: 10 additions & 0 deletions docs/GroupSearchSort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# GroupSearchSort


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


6 changes: 4 additions & 2 deletions docs/GroupsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ Name | Type | Description | Notes
[[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)

# **get_group_members**
> list[GroupMember] get_group_members(group_id, n=n, offset=offset)
> list[GroupMember] get_group_members(group_id, n=n, offset=offset, sort=sort)
List Group Members

Expand Down Expand Up @@ -1784,10 +1784,11 @@ with vrchatapi.ApiClient(configuration) as api_client:
group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID.
n = 60 # int | The number of objects to return. (optional) (default to 60)
offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional)
sort = vrchatapi.GroupSearchSort() # GroupSearchSort | The sort order of Group Member results (optional)

try:
# List Group Members
api_response = api_instance.get_group_members(group_id, n=n, offset=offset)
api_response = api_instance.get_group_members(group_id, n=n, offset=offset, sort=sort)
pprint(api_response)
except ApiException as e:
print("Exception when calling GroupsApi->get_group_members: %s\n" % e)
Expand All @@ -1800,6 +1801,7 @@ Name | Type | Description | Notes
**group_id** | **str**| Must be a valid group ID. |
**n** | **int**| The number of objects to return. | [optional] [default to 60]
**offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional]
**sort** | [**GroupSearchSort**](.md)| The sort order of Group Member results | [optional]

### Return type

Expand Down
8 changes: 4 additions & 4 deletions docs/LimitedUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bio** | **str** | | [optional]
**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. |
**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. |
**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional]
**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional]
**developer_type** | [**DeveloperType**](DeveloperType.md) | |
**display_name** | **str** | |
**fallback_avatar** | **str** | | [optional]
**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. |
**is_friend** | **bool** | |
**last_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`. |
**profile_pic_override** | **str** | |
**profile_pic_override** | **str** | | [optional]
**status** | [**UserStatus**](UserStatus.md) | |
**status_description** | **str** | |
**tags** | **list[str]** | <- Always empty. |
**user_icon** | **str** | |
**user_icon** | **str** | | [optional]
**username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional]
**location** | **str** | | [optional]
**friend_key** | **str** | | [optional]
Expand Down
Loading

0 comments on commit 055c9bd

Please sign in to comment.