Upgrade Rust SDK to spec 1.17.5

This commit is contained in:
VRCCat
2024-05-27 18:33:15 +00:00
parent 3899aaca53
commit 6560601846
54 changed files with 407 additions and 52 deletions

View File

@ -1,6 +1,6 @@
# \AuthenticationApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -1,6 +1,6 @@
# \AvatarsApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

18
docs/Badge.md Normal file
View File

@ -0,0 +1,18 @@
# Badge
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**assigned_at** | Option<**String**> | only present in CurrentUser badges | [optional]
**badge_description** | **String** | |
**badge_id** | **String** | |
**badge_image_url** | **String** | direct url to image |
**badge_name** | **String** | |
**hidden** | Option<**bool**> | only present in CurrentUser badges | [optional]
**showcased** | **bool** | |
**updated_at** | Option<**String**> | only present in CurrentUser badges | [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)

View File

@ -6,12 +6,15 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**world_id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**r#type** | [**crate::models::InstanceType**](InstanceType.md) | |
**region** | [**crate::models::Region**](Region.md) | |
**region** | [**crate::models::InstanceRegion**](InstanceRegion.md) | |
**owner_id** | Option<**String**> | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional]
**role_ids** | Option<**Vec<String>**> | Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" | [optional]
**group_access_type** | Option<[**crate::models::GroupAccessType**](GroupAccessType.md)> | | [optional]
**queue_enabled** | Option<**bool**> | | [optional][default to false]
**closed_at** | Option<**String**> | The time after which users won't be allowed to join the instance | [optional]
**closed_at** | Option<**String**> | The time after which users won't be allowed to join the instance. This doesn't work for public instances. | [optional]
**can_request_invite** | Option<**bool**> | Only applies to invite type instances to make them invite+ | [optional][default to false]
**hard_close** | Option<**bool**> | Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. | [optional][default to false]
**invite_only** | Option<**bool**> | | [optional][default to false]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -10,13 +10,14 @@ Name | Type | Description | Notes
**account_deletion_log** | Option<[**Vec<crate::models::AccountDeletionLog>**](AccountDeletionLog.md)> | | [optional]
**active_friends** | Option<**Vec<String>**> | | [optional]
**allow_avatar_copying** | **bool** | |
**badges** | Option<[**Vec<crate::models::Badge>**](Badge.md)> | | [optional]
**bio** | **String** | |
**bio_links** | **Vec<String>** | |
**current_avatar** | **String** | |
**current_avatar_asset_url** | **String** | |
**current_avatar_image_url** | **String** | When profilePicOverride is not empty, use it instead. |
**current_avatar_thumbnail_image_url** | **String** | When profilePicOverride is not empty, use it instead. |
**current_avatar_tags** | Option<**Vec<String>**> | | [optional]
**current_avatar_tags** | **Vec<String>** | |
**date_joined** | [**String**](string.md) | |
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **String** | |
@ -37,11 +38,13 @@ Name | Type | Description | Notes
**is_friend** | **bool** | | [default to false]
**last_activity** | Option<**String**> | | [optional]
**last_login** | **String** | |
**last_mobile** | Option<**String**> | |
**last_platform** | **String** | 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`. |
**obfuscated_email** | **String** | |
**obfuscated_pending_email** | **String** | |
**oculus_id** | **String** | |
**google_id** | Option<**String**> | | [optional]
**google_details** | Option<[**serde_json::Value**](.md)> | | [optional]
**pico_id** | Option<**String**> | | [optional]
**vive_id** | Option<**String**> | | [optional]
**offline_friends** | Option<**Vec<String>**> | | [optional]
@ -49,6 +52,7 @@ Name | Type | Description | Notes
**past_display_names** | [**Vec<crate::models::PastDisplayName>**](PastDisplayName.md) | |
**presence** | Option<[**crate::models::CurrentUserPresence**](CurrentUserPresence.md)> | | [optional]
**profile_pic_override** | **String** | |
**pronouns** | **String** | |
**state** | [**crate::models::UserState**](UserState.md) | |
**status** | [**crate::models::UserStatus**](UserStatus.md) | |
**status_description** | **String** | |

View File

@ -1,6 +1,6 @@
# \EconomyApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -1,6 +1,6 @@
# \FavoritesApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -1,6 +1,6 @@
# \FilesApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -1,6 +1,6 @@
# \FriendsApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -1,6 +1,6 @@
# \GroupsApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------
@ -927,7 +927,7 @@ Name | Type | Description | Required | Notes
## get_group_requests
> Vec<crate::models::GroupMember> get_group_requests(group_id, n, offset)
> Vec<crate::models::GroupMember> get_group_requests(group_id, n, offset, blocked)
Get Group Join Requests
Returns a list of members that have requested to join the Group.
@ -940,6 +940,7 @@ Name | Type | Description | Required | Notes
**group_id** | **String** | Must be a valid group ID. | [required] |
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
**offset** | Option<**i32**> | A zero-based offset from the default object sorting from where search results start. | |
**blocked** | Option<**bool**> | See blocked join requests | |
### Return type

View File

@ -18,7 +18,7 @@ Name | Type | Description | Notes
**permanent** | **bool** | | [default to false]
**photon_region** | [**crate::models::Region**](Region.md) | |
**platforms** | [**crate::models::InstancePlatforms**](InstancePlatforms.md) | |
**region** | [**crate::models::Region**](Region.md) | |
**region** | [**crate::models::InstanceRegion**](InstanceRegion.md) | |
**secure_name** | **String** | |
**short_name** | Option<**String**> | | [optional]
**tags** | **Vec<String>** | The tags array on Instances usually contain the language tags of the people in the instance. |

10
docs/InstanceRegion.md Normal file
View File

@ -0,0 +1,10 @@
# InstanceRegion
## 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)

View File

@ -1,6 +1,6 @@
# \InstancesApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -1,6 +1,6 @@
# \InviteApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -5,8 +5,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bio** | Option<**String**> | | [optional]
**bio_links** | Option<**Vec<String>**> | | [optional]
**current_avatar_image_url** | Option<**String**> | When profilePicOverride is not empty, use it instead. | [optional]
**current_avatar_thumbnail_image_url** | Option<**String**> | When profilePicOverride is not empty, use it instead. | [optional]
**current_avatar_tags** | Option<**Vec<String>**> | | [optional]
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **String** | |
**fallback_avatar** | Option<**String**> | | [optional]
@ -14,6 +16,7 @@ Name | Type | Description | Notes
**is_friend** | **bool** | |
**last_platform** | **String** | 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** | Option<**String**> | | [optional]
**pronouns** | Option<**String**> | | [optional]
**status** | [**crate::models::UserStatus**](UserStatus.md) | |
**status_description** | **String** | |
**tags** | **Vec<String>** | <- Always empty. |

28
docs/LimitedUserGroups.md Normal file
View File

@ -0,0 +1,28 @@
# LimitedUserGroups
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | Option<**String**> | | [optional]
**name** | Option<**String**> | | [optional]
**short_code** | Option<**String**> | | [optional]
**discriminator** | Option<**String**> | | [optional]
**description** | Option<**String**> | | [optional]
**icon_id** | Option<**String**> | | [optional]
**icon_url** | Option<**String**> | | [optional]
**banner_id** | Option<**String**> | | [optional]
**banner_url** | Option<**String**> | | [optional]
**privacy** | Option<**String**> | | [optional]
**last_post_created_at** | Option<**String**> | | [optional]
**owner_id** | Option<**String**> | 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]
**member_count** | Option<**i32**> | | [optional]
**group_id** | Option<**String**> | | [optional]
**member_visibility** | Option<**String**> | | [optional]
**is_representing** | Option<**bool**> | | [optional]
**mutual_group** | Option<**bool**> | | [optional]
**last_post_read_at** | Option<**String**> | | [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)

View File

@ -10,6 +10,7 @@ Name | Type | Description | Notes
**recommended_capacity** | Option<**i32**> | | [optional]
**created_at** | **String** | |
**favorites** | **i32** | | [default to 0]
**visits** | Option<**i32**> | | [optional][default to 0]
**heat** | **i32** | | [default to 0]
**id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**image_url** | **String** | |
@ -18,6 +19,7 @@ Name | Type | Description | Notes
**occupants** | **i32** | | [default to 0]
**organization** | **String** | | [default to vrchat]
**popularity** | **i32** | | [default to 0]
**preview_youtube_id** | Option<**String**> | | [optional]
**publication_date** | **String** | |
**release_status** | [**crate::models::ReleaseStatus**](ReleaseStatus.md) | |
**tags** | **Vec<String>** | |

View File

@ -1,6 +1,6 @@
# \NotificationsApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -1,6 +1,6 @@
# \PermissionsApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -1,6 +1,6 @@
# \PlayermoderationApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | [**crate::models::GroupJoinRequestAction**](GroupJoinRequestAction.md) | |
**block** | Option<**bool**> | Whether to block the user from requesting again | [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)

View File

@ -5,10 +5,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **String** | |
**details** | **String** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | [default to {}]
**details** | [**serde_json::Value**](.md) | |
**id** | **String** | |
**message** | **String** | |
**reciever_user_id** | **String** | 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. |
**receiver_user_id** | **String** | 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. |
**sender_user_id** | **String** | 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. |
**sender_username** | Option<**String**> | -| **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]
**r#type** | [**crate::models::NotificationType**](NotificationType.md) | |

View File

@ -6,6 +6,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
**steam_item_id** | **String** | |
**oculus_sku** | Option<**String**> | | [optional]
**google_product_id** | Option<**String**> | | [optional]
**google_plan_id** | Option<**String**> | | [optional]
**pico_sku** | Option<**String**> | | [optional]
**amount** | **f32** | |
**description** | **String** | |
**period** | [**crate::models::SubscriptionPeriod**](SubscriptionPeriod.md) | |

View File

@ -1,6 +1,6 @@
# \SystemApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------

View File

@ -5,6 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
**user_id** | Option<**String**> | 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]
**user_display_name** | Option<**String**> | | [optional]
**status** | [**crate::models::TransactionStatus**](TransactionStatus.md) | |
**subscription** | [**crate::models::Subscription**](Subscription.md) | |
**sandbox** | **bool** | | [default to false]
@ -13,6 +15,8 @@ Name | Type | Description | Notes
**steam** | Option<[**crate::models::TransactionSteamInfo**](TransactionSteamInfo.md)> | | [optional]
**agreement** | Option<[**crate::models::TransactionAgreement**](TransactionAgreement.md)> | | [optional]
**error** | **String** | |
**is_gift** | Option<**bool**> | | [optional][default to false]
**is_tokens** | Option<**bool**> | | [optional][default to false]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -16,6 +16,7 @@ Name | Type | Description | Notes
**unity_version** | **String** | | [default to 5.3.4p1]
**impostor_url** | Option<**String**> | | [optional]
**scan_status** | Option<**String**> | | [optional]
**variant** | Option<**String**> | | [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)

View File

@ -12,6 +12,7 @@ Name | Type | Description | Notes
**status_description** | Option<**String**> | | [optional]
**bio** | Option<**String**> | | [optional]
**bio_links** | Option<**Vec<String>**> | | [optional]
**pronouns** | Option<**String**> | | [optional]
**user_icon** | Option<**String**> | MUST be a valid VRChat /file/ url. | [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)

View File

@ -5,10 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**allow_avatar_copying** | **bool** | | [default to true]
**badges** | Option<[**Vec<crate::models::Badge>**](Badge.md)> | | [optional]
**bio** | **String** | |
**bio_links** | **Vec<String>** | |
**current_avatar_image_url** | **String** | When profilePicOverride is not empty, use it instead. |
**current_avatar_thumbnail_image_url** | **String** | When profilePicOverride is not empty, use it instead. |
**current_avatar_tags** | **Vec<String>** | |
**date_joined** | [**String**](string.md) | |
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **String** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. |
@ -23,6 +25,7 @@ Name | Type | Description | Notes
**location** | Option<**String**> | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional]
**note** | Option<**String**> | | [optional]
**profile_pic_override** | **String** | |
**pronouns** | **String** | |
**state** | [**crate::models::UserState**](UserState.md) | |
**status** | [**crate::models::UserStatus**](UserStatus.md) | |
**status_description** | **String** | |

View File

@ -1,6 +1,6 @@
# \UsersApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------
@ -106,7 +106,7 @@ Name | Type | Description | Required | Notes
## get_user_groups
> Vec<crate::models::LimitedGroup> get_user_groups(user_id)
> Vec<crate::models::LimitedUserGroups> get_user_groups(user_id)
Get User Groups
Get user's public groups
@ -120,7 +120,7 @@ Name | Type | Description | Required | Notes
### Return type
[**Vec<crate::models::LimitedGroup>**](LimitedGroup.md)
[**Vec<crate::models::LimitedUserGroups>**](LimitedUserGroups.md)
### Authorization

View File

@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**can_pubilsh** | **bool** | | [default to true]
**can_publish** | **bool** | | [default to true]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,6 +1,6 @@
# \WorldsApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------