Update to latest spec

This commit is contained in:
Foorack
2021-08-19 16:12:29 +02:00
parent 51a51ad249
commit 3c700cba19
105 changed files with 2931 additions and 228 deletions

View File

@ -2,6 +2,9 @@
.travis.yml
Cargo.toml
docs/AuthenticationApi.md
docs/Avatar.md
docs/AvatarUnityPackageUrlObject.md
docs/AvatarsApi.md
docs/Config.md
docs/ConfigAnnouncements.md
docs/ConfigDownloadUrls.md
@ -11,6 +14,11 @@ docs/CurrentUser.md
docs/DeploymentGroup.md
docs/DeveloperType.md
docs/Error.md
docs/Favorite.md
docs/FavoriteGroup.md
docs/FavoriteGroupVisibility.md
docs/FavoriteType.md
docs/FavoritesApi.md
docs/File.md
docs/FileData.md
docs/FileStatus.md
@ -19,11 +27,17 @@ docs/FilesApi.md
docs/FriendsApi.md
docs/InlineObject.md
docs/InlineObject1.md
docs/InlineObject10.md
docs/InlineObject11.md
docs/InlineObject12.md
docs/InlineObject2.md
docs/InlineObject3.md
docs/InlineObject4.md
docs/InlineObject5.md
docs/InlineObject6.md
docs/InlineObject7.md
docs/InlineObject8.md
docs/InlineObject9.md
docs/InlineResponse200.md
docs/InlineResponse2001.md
docs/InlineResponse2002.md
@ -33,6 +47,8 @@ docs/InlineResponse2005.md
docs/InlineResponse2006.md
docs/InlineResponse2007.md
docs/InlineResponse401.md
docs/Instance.md
docs/InstancePlatforms.md
docs/LimitedUnityPackage.md
docs/LimitedUser.md
docs/LimitedWorld.md
@ -41,6 +57,9 @@ docs/Notification.md
docs/NotificationType.md
docs/NotificationsApi.md
docs/Platform.md
docs/PlayerModeration.md
docs/PlayerModerationType.md
docs/PlayermoderationApi.md
docs/ReleaseStatus.md
docs/Response.md
docs/Success.md
@ -54,15 +73,20 @@ docs/World.md
docs/WorldsApi.md
git_push.sh
src/apis/authentication_api.rs
src/apis/avatars_api.rs
src/apis/configuration.rs
src/apis/favorites_api.rs
src/apis/files_api.rs
src/apis/friends_api.rs
src/apis/mod.rs
src/apis/notifications_api.rs
src/apis/playermoderation_api.rs
src/apis/system_api.rs
src/apis/users_api.rs
src/apis/worlds_api.rs
src/lib.rs
src/models/avatar.rs
src/models/avatar_unity_package_url_object.rs
src/models/config.rs
src/models/config_announcements.rs
src/models/config_download_urls.rs
@ -72,17 +96,27 @@ src/models/current_user.rs
src/models/deployment_group.rs
src/models/developer_type.rs
src/models/error.rs
src/models/favorite.rs
src/models/favorite_group.rs
src/models/favorite_group_visibility.rs
src/models/favorite_type.rs
src/models/file.rs
src/models/file_data.rs
src/models/file_status.rs
src/models/file_version.rs
src/models/inline_object.rs
src/models/inline_object_1.rs
src/models/inline_object_10.rs
src/models/inline_object_11.rs
src/models/inline_object_12.rs
src/models/inline_object_2.rs
src/models/inline_object_3.rs
src/models/inline_object_4.rs
src/models/inline_object_5.rs
src/models/inline_object_6.rs
src/models/inline_object_7.rs
src/models/inline_object_8.rs
src/models/inline_object_9.rs
src/models/inline_response_200.rs
src/models/inline_response_200_1.rs
src/models/inline_response_200_2.rs
@ -92,6 +126,8 @@ src/models/inline_response_200_5.rs
src/models/inline_response_200_6.rs
src/models/inline_response_200_7.rs
src/models/inline_response_401.rs
src/models/instance.rs
src/models/instance_platforms.rs
src/models/limited_unity_package.rs
src/models/limited_user.rs
src/models/limited_world.rs
@ -100,6 +136,8 @@ src/models/mod.rs
src/models/notification.rs
src/models/notification_type.rs
src/models/platform.rs
src/models/player_moderation.rs
src/models/player_moderation_type.rs
src/models/release_status.rs
src/models/response.rs
src/models/success.rs

View File

@ -1,6 +1,6 @@
[package]
name = "vrchatapi"
version = "1.0.2"
version = "1.0.3"
authors = ["OpenAPI Generator team and contributors"]
license = "MIT"
edition = "2018"

28
docs/Avatar.md Normal file
View File

@ -0,0 +1,28 @@
# Avatar
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**asset_url** | Option<**String**> | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. | [optional]
**asset_url_object** | Option<[**serde_json::Value**](.md)> | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. | [optional]
**author_id** | **String** | | [readonly]
**author_name** | **String** | | [readonly]
**created_at** | **String** | | [readonly]
**description** | **String** | |
**featured** | **bool** | | [default to false]
**id** | **String** | |
**image_url** | **String** | |
**name** | **String** | |
**release_status** | [**crate::models::ReleaseStatus**](ReleaseStatus.md) | |
**tags** | **Vec<String>** | |
**thumbnail_image_url** | **String** | |
**unity_packages** | [**Vec<crate::models::UnityPackage>**](UnityPackage.md) | |
**unity_package_url** | **String** | |
**unity_package_url_object** | [**crate::models::AvatarUnityPackageUrlObject**](Avatar_unityPackageUrlObject.md) | |
**updated_at** | **String** | |
**version** | **f32** | | [readonly][default to 0]
[[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

@ -0,0 +1,11 @@
# AvatarUnityPackageUrlObject
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**unity_package_url** | 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)

250
docs/AvatarsApi.md Normal file
View File

@ -0,0 +1,250 @@
# \AvatarsApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**create_avatar**](AvatarsApi.md#create_avatar) | **POST** /avatars | Create Avatar
[**delete_avatar**](AvatarsApi.md#delete_avatar) | **DELETE** /avatars/{avatarId} | Delete Avatar
[**get_avatar**](AvatarsApi.md#get_avatar) | **GET** /avatars/{avatarId} | Get Avatar
[**get_favorited_avatars**](AvatarsApi.md#get_favorited_avatars) | **GET** /avatars/favorites | List Favorited Avatars
[**search_avatars**](AvatarsApi.md#search_avatars) | **GET** /avatars | Search Avatars
[**select_avatar**](AvatarsApi.md#select_avatar) | **PUT** /avatars/{avatarId}/select | Select Avatar
[**update_avatar**](AvatarsApi.md#update_avatar) | **PUT** /avatars/{avatarId} | Update Avatar
## create_avatar
> crate::models::Avatar create_avatar(inline_object9)
Create Avatar
Create an avatar. It's possible to optionally specify a ID if you want a custom one. Attempting to create an Avatar with an already claimed ID will result in a DB error.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**inline_object9** | Option<[**InlineObject9**](InlineObject9.md)> | | |
### Return type
[**crate::models::Avatar**](Avatar.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[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)
## delete_avatar
> crate::models::Avatar delete_avatar(avatar_id)
Delete Avatar
Delete an avatar. Notice an avatar is never fully \"deleted\", only its ReleaseStatus is set to \"hidden\" and the linked Files are deleted. The AvatarID is permanently reserved.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**avatar_id** | **String** | | [required] |
### Return type
[**crate::models::Avatar**](Avatar.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_avatar
> crate::models::Avatar get_avatar(avatar_id)
Get Avatar
Get information about a specific Avatar.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**avatar_id** | **String** | | [required] |
### Return type
[**crate::models::Avatar**](Avatar.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_favorited_avatars
> get_favorited_avatars(featured, sort, n, order, offset, search, tag, notag, release_status, max_unity_version, min_unity_version, platform, user_id)
List Favorited Avatars
Search and list favorited avatars by query filters.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**featured** | Option<**String**> | Filters on featured results. | |
**sort** | Option<**String**> | | |[default to popularity]
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
**order** | Option<**String**> | | |[default to descending]
**offset** | Option<**i32**> | A zero-based offset from the default object sorting from where search results start. | |
**search** | Option<**String**> | Filters by world name. | |
**tag** | Option<**String**> | Tags to include (comma-separated). | |
**notag** | Option<**String**> | Tags to exclude (comma-separated). | |
**release_status** | Option<**String**> | Filter by ReleaseStatus. | |[default to hidden]
**max_unity_version** | Option<**String**> | The maximum Unity version supported by the asset. | |
**min_unity_version** | Option<**String**> | The minimum Unity version supported by the asset. | |
**platform** | Option<**String**> | The platform the asset supports. | |
**user_id** | Option<**String**> | Target user to see information on, admin-only. | |
### Return type
(empty response body)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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)
## search_avatars
> Vec<crate::models::Avatar> search_avatars(featured, sort, user, user_id, n, order, offset, tag, notag, release_status, max_unity_version, min_unity_version, platform)
Search Avatars
Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**featured** | Option<**String**> | Filters on featured results. | |
**sort** | Option<**String**> | | |[default to popularity]
**user** | Option<**String**> | Set to `me` for searching own avatars. | |
**user_id** | Option<**String**> | Filter by author UserID | |
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
**order** | Option<**String**> | | |[default to descending]
**offset** | Option<**i32**> | A zero-based offset from the default object sorting from where search results start. | |
**tag** | Option<**String**> | Tags to include (comma-separated). | |
**notag** | Option<**String**> | Tags to exclude (comma-separated). | |
**release_status** | Option<**String**> | Filter by ReleaseStatus. | |[default to hidden]
**max_unity_version** | Option<**String**> | The maximum Unity version supported by the asset. | |
**min_unity_version** | Option<**String**> | The minimum Unity version supported by the asset. | |
**platform** | Option<**String**> | The platform the asset supports. | |
### Return type
[**Vec<crate::models::Avatar>**](Avatar.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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)
## select_avatar
> crate::models::CurrentUser select_avatar(avatar_id)
Select Avatar
Switches into that avatar.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**avatar_id** | **String** | | [required] |
### Return type
[**crate::models::CurrentUser**](CurrentUser.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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)
## update_avatar
> crate::models::Avatar update_avatar(avatar_id, inline_object10)
Update Avatar
Update information about a specific avatar.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**avatar_id** | **String** | | [required] |
**inline_object10** | Option<[**InlineObject10**](InlineObject10.md)> | | |
### Return type
[**crate::models::Avatar**](Avatar.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[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)

View File

@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**address** | **String** | VRChat's office address | [readonly]
**announcements** | [**Vec<crate::models::ConfigAnnouncements>**](Config_announcements.md) | PSA, Public Announcements | [readonly]
**announcements** | [**Vec<crate::models::ConfigAnnouncements>**](Config_announcements.md) | Public Announcements | [readonly]
**api_key** | **String** | apiKey to be used for all other requests | [readonly]
**app_name** | **String** | Game name | [readonly][default to VrChat]
**build_version_tag** | **String** | Build tag of the API server | [readonly]

View File

@ -23,7 +23,7 @@ Name | Type | Description | Notes
**status_history** | **Vec<String>** | |
**status_first_time** | **bool** | |
**friends** | **Vec<String>** | |
**friend_group_names** | **Vec<String>** | |
**friend_group_names** | **Vec<String>** | Always empty array. |
**current_avatar_image_url** | **String** | |
**current_avatar_thumbnail_image_url** | **String** | |
**fallback_avatar** | **String** | |
@ -47,9 +47,9 @@ Name | Type | Description | Notes
**date_joined** | [**String**](string.md) | | [readonly]
**is_friend** | **bool** | | [default to false]
**friend_key** | **String** | |
**online_friends** | **Vec<String>** | |
**active_friends** | **Vec<String>** | |
**offline_friends** | **Vec<String>** | |
**online_friends** | Option<**Vec<String>**> | | [optional]
**active_friends** | Option<**Vec<String>**> | | [optional]
**offline_friends** | Option<**Vec<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)

14
docs/Favorite.md Normal file
View File

@ -0,0 +1,14 @@
# Favorite
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | | [readonly]
**_type** | [**crate::models::FavoriteType**](FavoriteType.md) | |
**favorite_id** | **String** | MUST be either AvatarID, UserID or WorldID. |
**tags** | **Vec<String>** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

18
docs/FavoriteGroup.md Normal file
View File

@ -0,0 +1,18 @@
# FavoriteGroup
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | | [readonly]
**owner_id** | **String** | | [readonly]
**owner_display_name** | **String** | |
**name** | **String** | |
**display_name** | **String** | |
**_type** | [**crate::models::FavoriteType**](FavoriteType.md) | |
**visibility** | [**crate::models::FavoriteGroupVisibility**](FavoriteGroupVisibility.md) | |
**tags** | **Vec<String>** | |
[[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

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

10
docs/FavoriteType.md Normal file
View File

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

268
docs/FavoritesApi.md Normal file
View File

@ -0,0 +1,268 @@
# \FavoritesApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**add_favorite**](FavoritesApi.md#add_favorite) | **POST** /favorites | Add Favorite
[**clear_favorite_group**](FavoritesApi.md#clear_favorite_group) | **DELETE** /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} | Clear Favorite Group
[**get_favorite**](FavoritesApi.md#get_favorite) | **GET** /favorites/{favoriteId} | Show Favorite
[**get_favorite_group**](FavoritesApi.md#get_favorite_group) | **GET** /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} | Show Favorite Group
[**get_favorite_groups**](FavoritesApi.md#get_favorite_groups) | **GET** /favorite/groups | List Favorite Groups
[**get_favorites**](FavoritesApi.md#get_favorites) | **GET** /favorites | List Favorites
[**remove_favorite**](FavoritesApi.md#remove_favorite) | **DELETE** /favorites/{favoriteId} | Remove Favorite
[**update_favorite_group**](FavoritesApi.md#update_favorite_group) | **PUT** /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} | Update Favorite Group
## add_favorite
> crate::models::Favorite add_favorite(inline_object7)
Add Favorite
Add a new favorite. Friend groups are named `group_0` through `group_3`. Avatar and World groups are named `avatars1` to `avatar4` and `worlds1` to `worlds4`. You cannot add people whom you are not friends with to your friends list. Destroying a friendship removes the person as favorite on both sides.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**inline_object7** | Option<[**InlineObject7**](InlineObject7.md)> | | |
### Return type
[**crate::models::Favorite**](Favorite.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[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)
## clear_favorite_group
> crate::models::Error clear_favorite_group(favorite_group_type, favorite_group_name, user_id)
Clear Favorite Group
Clear ALL contents of a specific favorite group.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**favorite_group_type** | **String** | The type of group to fetch, must be a valid FavoriteType. | [required] |
**favorite_group_name** | **String** | | [required] |
**user_id** | **String** | | [required] |
### Return type
[**crate::models::Error**](Error.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_favorite
> crate::models::Favorite get_favorite(favorite_id)
Show Favorite
Return information about a specific Favorite.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**favorite_id** | **String** | | [required] |
### Return type
[**crate::models::Favorite**](Favorite.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_favorite_group
> crate::models::FavoriteGroup get_favorite_group(favorite_group_type, favorite_group_name, user_id)
Show Favorite Group
Fetch information about a specific favorite group.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**favorite_group_type** | **String** | The type of group to fetch, must be a valid FavoriteType. | [required] |
**favorite_group_name** | **String** | | [required] |
**user_id** | **String** | | [required] |
### Return type
[**crate::models::FavoriteGroup**](FavoriteGroup.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_favorite_groups
> Vec<crate::models::FavoriteGroup> get_favorite_groups(n, offset, owner_id)
List Favorite Groups
Return a list of favorite groups owned by a user. Returns the same information as `getFavoriteGroups`.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**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. | |
**owner_id** | Option<**String**> | The owner of whoms favorite groups to return. Must be a UserID. | |
### Return type
[**Vec<crate::models::FavoriteGroup>**](FavoriteGroup.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_favorites
> Vec<crate::models::Favorite> get_favorites(n, offset, _type, tag)
List Favorites
Returns a list of favorites.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**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. | |
**_type** | Option<**String**> | The type of favorites to return, FavoriteType. | |
**tag** | Option<**String**> | Tags to include (comma-separated). | |
### Return type
[**Vec<crate::models::Favorite>**](Favorite.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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)
## remove_favorite
> crate::models::Error remove_favorite(favorite_id)
Remove Favorite
Remove a favorite from your favorites list.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**favorite_id** | **String** | | [required] |
### Return type
[**crate::models::Error**](Error.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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)
## update_favorite_group
> update_favorite_group(favorite_group_type, favorite_group_name, user_id, inline_object8)
Update Favorite Group
Update information about a specific favorite group.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**favorite_group_type** | **String** | The type of group to fetch, must be a valid FavoriteType. | [required] |
**favorite_group_name** | **String** | | [required] |
**user_id** | **String** | | [required] |
**inline_object8** | Option<[**InlineObject8**](InlineObject8.md)> | | |
### Return type
(empty response body)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: Not defined
[[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)

View File

@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
**id** | **String** | | [readonly]
**name** | **String** | |
**owner_id** | **String** | | [readonly]
**mime_type** | [**crate::models::MimeType**](MIMEType.md) | |

19
docs/InlineObject10.md Normal file
View File

@ -0,0 +1,19 @@
# InlineObject10
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**asset_url** | Option<**String**> | | [optional]
**id** | Option<**String**> | | [optional]
**name** | Option<**String**> | | [optional]
**description** | Option<**String**> | | [optional]
**tags** | Option<**Vec<String>**> | | [optional]
**image_url** | Option<**String**> | | [optional]
**release_status** | Option<[**crate::models::ReleaseStatus**](ReleaseStatus.md)> | | [optional]
**version** | Option<**f32**> | | [optional][default to 1]
**unity_package_url** | 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)

12
docs/InlineObject11.md Normal file
View File

@ -0,0 +1,12 @@
# InlineObject11
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**moderated** | **String** | | [readonly]
**_type** | [**crate::models::PlayerModerationType**](PlayerModerationType.md) | |
[[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
docs/InlineObject12.md Normal file
View File

@ -0,0 +1,12 @@
# InlineObject12
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**moderated** | Option<**String**> | | [optional][readonly]
**_type** | [**crate::models::PlayerModerationType**](PlayerModerationType.md) | |
[[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,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**etags** | Option<**Vec<String>**> | Array of ETags uploaded. | [optional]
**next_part_number** | **String** | Always a zero in string form, despite how many parts uploaded. | [default to NextPartNumber__0]
**max_parts** | **String** | Always a zero in string form, despite how many parts uploaded. | [default to MaxParts__0]
**next_part_number** | **String** | Always a zero in string form, despite how many parts uploaded. | [default to 0]
**max_parts** | **String** | Always a zero in string form, despite how many parts uploaded. | [default to 0]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

13
docs/InlineObject7.md Normal file
View File

@ -0,0 +1,13 @@
# InlineObject7
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_type** | [**crate::models::FavoriteType**](FavoriteType.md) | |
**favorite_id** | **String** | Must be either AvatarID, WorldID or UserID. |
**tags** | **Vec<String>** | Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

13
docs/InlineObject8.md Normal file
View File

@ -0,0 +1,13 @@
# InlineObject8
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**display_name** | Option<**String**> | | [optional]
**visibility** | Option<[**crate::models::FavoriteGroupVisibility**](FavoriteGroupVisibility.md)> | | [optional]
**tags** | Option<**Vec<String>**> | Tags on FavoriteGroups are believed to do nothing. | [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)

19
docs/InlineObject9.md Normal file
View File

@ -0,0 +1,19 @@
# InlineObject9
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**asset_url** | Option<**String**> | | [optional]
**id** | Option<**String**> | | [optional]
**name** | **String** | |
**description** | Option<**String**> | | [optional]
**tags** | Option<**Vec<String>**> | | [optional]
**image_url** | **String** | |
**release_status** | Option<[**crate::models::ReleaseStatus**](ReleaseStatus.md)> | | [optional]
**version** | Option<**f32**> | | [optional][default to 1]
**unity_package_url** | 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)

32
docs/Instance.md Normal file
View File

@ -0,0 +1,32 @@
# Instance
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**active** | **bool** | | [default to true]
**can_request_invite** | **bool** | | [default to true]
**capacity** | **f32** | |
**client_number** | **String** | |
**full** | **bool** | | [default to false]
**id** | **String** | |
**instance_id** | **String** | |
**location** | **String** | |
**n_users** | **f32** | |
**name** | **String** | |
**nonce** | Option<**String**> | | [optional]
**owner_id** | **String** | | [readonly]
**permanent** | **bool** | | [default to false]
**photon_region** | **String** | |
**platforms** | [**crate::models::InstancePlatforms**](Instance_platforms.md) | |
**region** | **String** | |
**short_name** | **String** | |
**tags** | **Vec<String>** | |
**_type** | **String** | |
**users** | Option<[**Vec<serde_json::Value>**](serde_json::Value.md)> | Always empty on non-existing instances, and non-present on existing instances. | [optional]
**world** | Option<[**serde_json::Value**](.md)> | Only present on non-existing instances, and only contains a very small subject of World object. Use World API instead. | [optional]
**world_id** | **String** | |
[[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
docs/InstancePlatforms.md Normal file
View File

@ -0,0 +1,12 @@
# InstancePlatforms
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**android** | **f32** | |
**standalonewindows** | **f32** | |
[[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

@ -19,7 +19,7 @@ Name | Type | Description | Notes
**status** | [**crate::models::UserStatus**](UserStatus.md) | |
**is_friend** | **bool** | |
**location** | **String** | |
**tags** | **Vec<String>** | Always empty |
**tags** | **Vec<String>** | <- Always empty. |
[[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

@ -13,11 +13,11 @@ Name | Type | Description | Notes
**thumbnail_image_url** | **String** | |
**release_status** | **String** | |
**organization** | **String** | |
**tags** | [**Vec<serde_json::Value>**](serde_json::Value.md) | |
**tags** | **Vec<String>** | |
**favorites** | **f32** | |
**created_at** | **String** | |
**updated_at** | **String** | |
**publication_date** | **String** | |
**publication_date** | **String** | | [readonly]
**labs_publication_date** | **String** | |
**unity_packages** | [**Vec<crate::models::LimitedUnityPackage>**](LimitedUnityPackage.md) | |
**popularity** | **f32** | |

17
docs/PlayerModeration.md Normal file
View File

@ -0,0 +1,17 @@
# PlayerModeration
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
**_type** | [**crate::models::PlayerModerationType**](PlayerModerationType.md) | |
**source_user_id** | **String** | | [readonly]
**source_display_name** | **String** | |
**target_user_id** | **String** | | [readonly]
**target_display_name** | **String** | |
**created** | **String** | |
[[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

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

192
docs/PlayermoderationApi.md Normal file
View File

@ -0,0 +1,192 @@
# \PlayermoderationApi
All URIs are relative to *https://api.vrchat.cloud/api/1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**clear_all_player_moderations**](PlayermoderationApi.md#clear_all_player_moderations) | **DELETE** /auth/user/playermoderations | Clear All Player Moderations
[**delete_player_moderation**](PlayermoderationApi.md#delete_player_moderation) | **DELETE** /auth/user/playermoderations/{playerModerationId} | Delete Player Moderation
[**get_player_moderation**](PlayermoderationApi.md#get_player_moderation) | **GET** /auth/user/playermoderations/{playerModerationId} | Get Player Moderation
[**get_player_moderations**](PlayermoderationApi.md#get_player_moderations) | **GET** /auth/user/playermoderations | Search Player Moderations
[**moderate_user**](PlayermoderationApi.md#moderate_user) | **POST** /auth/user/playermoderations | Moderate User
[**unmoderate_user**](PlayermoderationApi.md#unmoderate_user) | **PUT** /auth/user/unplayermoderate | Unmoderate User
## clear_all_player_moderations
> crate::models::Error clear_all_player_moderations()
Clear All Player Moderations
⚠️ **This will delete every single player moderation you've ever made.**
### Parameters
This endpoint does not need any parameter.
### Return type
[**crate::models::Error**](Error.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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)
## delete_player_moderation
> crate::models::Error delete_player_moderation(player_moderation_id)
Delete Player Moderation
Deletes a specific player moderation based on it's `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**player_moderation_id** | **String** | | [required] |
### Return type
[**crate::models::Error**](Error.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_player_moderation
> crate::models::PlayerModeration get_player_moderation(player_moderation_id)
Get Player Moderation
Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**player_moderation_id** | **String** | | [required] |
### Return type
[**crate::models::PlayerModeration**](PlayerModeration.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_player_moderations
> Vec<crate::models::PlayerModeration> get_player_moderations(_type, target_user_id)
Search Player Moderations
Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**_type** | Option<**String**> | Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. | |
**target_user_id** | Option<**String**> | Must be valid UserID. | |
### Return type
[**Vec<crate::models::PlayerModeration>**](PlayerModeration.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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)
## moderate_user
> crate::models::PlayerModeration moderate_user(inline_object11)
Moderate User
Moderate a user, e.g. unmute them or show their avatar.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**inline_object11** | Option<[**InlineObject11**](InlineObject11.md)> | | |
### Return type
[**crate::models::PlayerModeration**](PlayerModeration.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[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)
## unmoderate_user
> crate::models::Error unmoderate_user(inline_object12)
Unmoderate User
Removes a player moderation previously added through `moderateUser`. E.g if you previuosly have shown their avatar, but now want to reset it to default.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**inline_object12** | Option<[**InlineObject12**](InlineObject12.md)> | | |
### Return type
[**crate::models::Error**](Error.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[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)

View File

@ -5,12 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
**asset_url** | **String** | |
**asset_url_object** | [**serde_json::Value**](.md) | |
**plugin_url** | **String** | |
**plugin_url_object** | [**serde_json::Value**](.md) | |
**unity_version** | **String** | |
**unity_sort_number** | **f32** | |
**asset_url** | Option<**String**> | | [optional]
**asset_url_object** | Option<[**serde_json::Value**](.md)> | | [optional]
**plugin_url** | Option<**String**> | | [optional]
**plugin_url_object** | Option<[**serde_json::Value**](.md)> | | [optional]
**unity_version** | **String** | | [default to 5.3.4p1]
**unity_sort_number** | Option<**f32**> | | [optional]
**asset_version** | **f32** | |
**platform** | [**crate::models::Platform**](Platform.md) | |
**created_at** | **String** | |

View File

@ -25,9 +25,9 @@ Name | Type | Description | Notes
**date_joined** | [**String**](string.md) | | [readonly]
**is_friend** | **bool** | |
**friend_key** | **String** | |
**world_id** | Option<**String**> | | [optional]
**instance_id** | Option<**String**> | | [optional]
**location** | Option<**String**> | | [optional]
**world_id** | **String** | |
**instance_id** | **String** | |
**location** | **String** | |
[[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,7 +16,7 @@ Name | Type | Description | Notes
**heat** | **f32** | | [readonly][default to 0]
**id** | **String** | |
**image_url** | **String** | |
**instances** | Option<[**Vec<serde_json::Value>**](serde_json::Value.md)> | | [optional]
**instances** | Option<[**Vec<Vec<serde_json::Value>>**](array.md)> | | [optional]
**labs_publication_date** | **String** | |
**name** | **String** | |
**namespace** | **String** | |

View File

@ -10,11 +10,12 @@ Method | HTTP request | Description
[**get_favorited_worlds**](WorldsApi.md#get_favorited_worlds) | **GET** /worlds/favorites | List Favorited Worlds
[**get_recent_worlds**](WorldsApi.md#get_recent_worlds) | **GET** /worlds/recent | List Recent Worlds
[**get_world**](WorldsApi.md#get_world) | **GET** /worlds/{worldId} | Get World by ID
[**get_world_instance**](WorldsApi.md#get_world_instance) | **GET** /worlds/{worldId}/{instanceId} | Get World Instance
[**get_world_metadata**](WorldsApi.md#get_world_metadata) | **GET** /worlds/{worldId}/metadata | Get World Metadata
[**get_world_publish**](WorldsApi.md#get_world_publish) | **GET** /worlds/{worldId}/publish | Get World Publish Status
[**publish_world**](WorldsApi.md#publish_world) | **PUT** /worlds/{worldId}/publish |
[**get_world_publish_status**](WorldsApi.md#get_world_publish_status) | **GET** /worlds/{worldId}/publish | Get World Publish Status
[**publish_world**](WorldsApi.md#publish_world) | **PUT** /worlds/{worldId}/publish | Publish World
[**search_worlds**](WorldsApi.md#search_worlds) | **GET** /worlds | Search All Worlds
[**unpublish_world**](WorldsApi.md#unpublish_world) | **DELETE** /worlds/{worldId}/publish |
[**unpublish_world**](WorldsApi.md#unpublish_world) | **DELETE** /worlds/{worldId}/publish | Unpublish World
[**update_world**](WorldsApi.md#update_world) | **PUT** /worlds/{worldId} | Update World
@ -69,7 +70,7 @@ Name | Type | Description | Required | Notes
### Authorization
No authorization required
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
@ -234,12 +235,43 @@ No authorization required
[[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_world_instance
> crate::models::Instance get_world_instance(world_id, instance_id)
Get World Instance
Returns a worlds instance.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**world_id** | **String** | | [required] |
**instance_id** | **String** | | [required] |
### Return type
[**crate::models::Instance**](Instance.md)
### Authorization
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[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_world_metadata
> crate::models::InlineResponse2006 get_world_metadata(world_id)
Get World Metadata
Returns a worlds custom metadata. This is currently believed to be unused. Metadata can be set with `updateWorld` and can be any arbitrary object.
Return a worlds custom metadata. This is currently believed to be unused. Metadata can be set with `updateWorld` and can be any arbitrary object.
### Parameters
@ -254,7 +286,7 @@ Name | Type | Description | Required | Notes
### Authorization
No authorization required
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
@ -264,12 +296,12 @@ No authorization required
[[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_world_publish
## get_world_publish_status
> crate::models::InlineResponse2007 get_world_publish(world_id)
> crate::models::InlineResponse2007 get_world_publish_status(world_id)
Get World Publish Status
Returns a worlds publish status. This is currently believed to be unused.
Returns a worlds publish status.
### Parameters
@ -284,7 +316,7 @@ Name | Type | Description | Required | Notes
### Authorization
No authorization required
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
@ -297,9 +329,9 @@ No authorization required
## publish_world
> publish_world(world_id)
Publish World
Publishes a world. You can only publish one world per week.
Publish a world. You can only publish one world per week.
### Parameters
@ -314,7 +346,7 @@ Name | Type | Description | Required | Notes
### Authorization
No authorization required
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
@ -370,9 +402,9 @@ Name | Type | Description | Required | Notes
## unpublish_world
> unpublish_world(world_id)
Unpublish World
Unpublishes a world.
Unpublish a world.
### Parameters
@ -387,7 +419,7 @@ Name | Type | Description | Required | Notes
### Authorization
No authorization required
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers
@ -418,7 +450,7 @@ Name | Type | Description | Required | Notes
### Authorization
No authorization required
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
### HTTP request headers

View File

@ -9,7 +9,7 @@ openapi-generator-cli generate \
--git-user-id=vrchatapi \
--git-repo-id=vrchatapi-rust \
-o . \
-i ../specification/openapi.yaml \
-i https://vrchatapi.github.io/specification/openapi.yaml \
--http-user-agent="vrchatapi-rust"
sed -i '/^edition = "2018"/i license = "MIT"' Cargo.toml

File diff suppressed because one or more lines are too long

347
src/apis/avatars_api.rs Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

321
src/apis/favorites_api.rs Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -62,9 +62,12 @@ pub fn urlencode<T: AsRef<str>>(s: T) -> String {
}
pub mod authentication_api;
pub mod avatars_api;
pub mod favorites_api;
pub mod files_api;
pub mod friends_api;
pub mod notifications_api;
pub mod playermoderation_api;
pub mod system_api;
pub mod users_api;
pub mod worlds_api;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

81
src/models/avatar.rs Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

38
src/models/favorite.rs Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

93
src/models/instance.rs Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,7 @@
pub mod avatar;
pub use self::avatar::Avatar;
pub mod avatar_unity_package_url_object;
pub use self::avatar_unity_package_url_object::AvatarUnityPackageUrlObject;
pub mod config;
pub use self::config::Config;
pub mod config_announcements;
@ -16,6 +20,14 @@ pub mod developer_type;
pub use self::developer_type::DeveloperType;
pub mod error;
pub use self::error::Error;
pub mod favorite;
pub use self::favorite::Favorite;
pub mod favorite_group;
pub use self::favorite_group::FavoriteGroup;
pub mod favorite_group_visibility;
pub use self::favorite_group_visibility::FavoriteGroupVisibility;
pub mod favorite_type;
pub use self::favorite_type::FavoriteType;
pub mod file;
pub use self::file::File;
pub mod file_data;
@ -28,6 +40,12 @@ pub mod inline_object;
pub use self::inline_object::InlineObject;
pub mod inline_object_1;
pub use self::inline_object_1::InlineObject1;
pub mod inline_object_10;
pub use self::inline_object_10::InlineObject10;
pub mod inline_object_11;
pub use self::inline_object_11::InlineObject11;
pub mod inline_object_12;
pub use self::inline_object_12::InlineObject12;
pub mod inline_object_2;
pub use self::inline_object_2::InlineObject2;
pub mod inline_object_3;
@ -38,6 +56,12 @@ pub mod inline_object_5;
pub use self::inline_object_5::InlineObject5;
pub mod inline_object_6;
pub use self::inline_object_6::InlineObject6;
pub mod inline_object_7;
pub use self::inline_object_7::InlineObject7;
pub mod inline_object_8;
pub use self::inline_object_8::InlineObject8;
pub mod inline_object_9;
pub use self::inline_object_9::InlineObject9;
pub mod inline_response_200;
pub use self::inline_response_200::InlineResponse200;
pub mod inline_response_200_1;
@ -56,6 +80,10 @@ pub mod inline_response_200_7;
pub use self::inline_response_200_7::InlineResponse2007;
pub mod inline_response_401;
pub use self::inline_response_401::InlineResponse401;
pub mod instance;
pub use self::instance::Instance;
pub mod instance_platforms;
pub use self::instance_platforms::InstancePlatforms;
pub mod limited_unity_package;
pub use self::limited_unity_package::LimitedUnityPackage;
pub mod limited_user;
@ -70,6 +98,10 @@ pub mod notification_type;
pub use self::notification_type::NotificationType;
pub mod platform;
pub use self::platform::Platform;
pub mod player_moderation;
pub use self::player_moderation::PlayerModeration;
pub mod player_moderation_type;
pub use self::player_moderation_type::PlayerModerationType;
pub mod release_status;
pub use self::release_status::ReleaseStatus;
pub mod response;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More