Upgrade Rust SDK to spec 1.5.3

This commit is contained in:
VRCCat
2021-11-20 00:43:13 +00:00
parent f8357416a6
commit a5cd440e05
28 changed files with 423 additions and 33 deletions

View File

@ -44,7 +44,7 @@ Name | Type | Description | Notes
**disable_upgrade_account** | **bool** | Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled. | [default to false]
**download_link_windows** | **String** | Download link for game on the Oculus Rift website. |
**download_urls** | [**crate::models::DownloadUrlList**](DownloadURLList.md) | |
**dynamic_world_rows** | [**Vec<crate::models::DynamicWorldRow>**](DynamicWorldRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows |
**dynamic_world_rows** | [**Vec<crate::models::DynamicContentRow>**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows |
**events** | [**crate::models::ApiEventConfig**](APIEventConfig.md) | |
**gear_demo_room_id** | **String** | Unknown |
**home_world_id** | **String** | |

View File

@ -123,7 +123,7 @@ Name | Type | Description | Required | Notes
**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). | |
**tag** | Option<**String**> | Tags to include (comma-separated). Any of the tags needs to be present. | |
**notag** | Option<**String**> | Tags to exclude (comma-separated). | |
**release_status** | Option<**String**> | Filter by ReleaseStatus. | |[default to public]
**max_unity_version** | Option<**String**> | The maximum Unity version supported by the asset. | |
@ -166,7 +166,7 @@ Name | Type | Description | Required | Notes
**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). | |
**tag** | Option<**String**> | Tags to include (comma-separated). Any of the tags needs to be present. | |
**notag** | Option<**String**> | Tags to exclude (comma-separated). | |
**release_status** | Option<**String**> | Filter by ReleaseStatus. | |[default to public]
**max_unity_version** | Option<**String**> | The maximum Unity version supported by the asset. | |

View File

@ -12,8 +12,8 @@ Name | Type | Description | Notes
**bio_links** | **Vec<String>** | |
**current_avatar** | **String** | |
**current_avatar_asset_url** | **String** | |
**current_avatar_image_url** | **String** | |
**current_avatar_thumbnail_image_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. |
**date_joined** | [**String**](string.md) | |
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **String** | |

View File

@ -1,16 +1,17 @@
# DynamicWorldRow
# DynamicContentRow
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**index** | **i32** | |
**index** | Option<**i32**> | | [optional]
**name** | **String** | |
**platform** | **String** | |
**platform** | **String** | Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. |
**sort_heading** | **String** | |
**sort_order** | **String** | |
**sort_ownership** | **String** | |
**tag** | Option<**String**> | Tag to filter worlds for this row. Not always present. | [optional]
**tag** | Option<**String**> | Tag to filter content for this row. | [optional]
**_type** | Option<**String**> | Type is not present if it is a world. | [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

@ -186,7 +186,7 @@ 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). | |
**tag** | Option<**String**> | Tags to include (comma-separated). Any of the tags needs to be present. | |
### Return type

21
docs/InfoPush.md Normal file
View File

@ -0,0 +1,21 @@
# InfoPush
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
**is_enabled** | **bool** | | [default to true]
**release_status** | [**crate::models::ReleaseStatus**](ReleaseStatus.md) | |
**priority** | **i32** | |
**tags** | **Vec<String>** | |
**data** | [**crate::models::InfoPushData**](InfoPushData.md) | |
**hash** | **String** | Unknown usage, MD5 |
**created_at** | **String** | |
**updated_at** | **String** | |
**start_date** | Option<**String**> | | [optional]
**end_date** | 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)

18
docs/InfoPushData.md Normal file
View File

@ -0,0 +1,18 @@
# InfoPushData
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**content_list** | Option<[**crate::models::DynamicContentRow**](DynamicContentRow.md)> | | [optional]
**description** | Option<**String**> | | [optional]
**image_url** | Option<**String**> | | [optional]
**name** | Option<**String**> | | [optional]
**on_pressed** | Option<[**crate::models::InfoPushDataClickable**](InfoPushDataClickable.md)> | | [optional]
**template** | Option<**String**> | | [optional]
**version** | Option<**String**> | | [optional]
**article** | Option<[**crate::models::InfoPushDataArticle**](InfoPushDataArticle.md)> | | [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

@ -0,0 +1,11 @@
# InfoPushDataArticle
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**content** | Option<[**crate::models::InfoPushDataArticleContent**](InfoPushDataArticleContent.md)> | | [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

@ -0,0 +1,13 @@
# InfoPushDataArticleContent
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**text** | Option<**String**> | | [optional]
**image_url** | Option<**String**> | | [optional]
**on_pressed** | Option<[**crate::models::InfoPushDataClickable**](InfoPushDataClickable.md)> | | [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

@ -0,0 +1,12 @@
# InfoPushDataClickable
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**command** | **String** | |
**parameters** | Option<**Vec<String>**> | In case of OpenURL, this would contain the link. | [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,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bio** | Option<**String**> | | [optional]
**current_avatar_image_url** | **String** | |
**current_avatar_thumbnail_image_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. |
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **String** | |
**fallback_avatar** | **String** | |

View File

@ -8,6 +8,7 @@ Method | HTTP request | Description
[**get_css**](SystemApi.md#get_css) | **GET** /css/app.css | Download CSS
[**get_current_online_users**](SystemApi.md#get_current_online_users) | **GET** /visits | Current Online Users
[**get_health**](SystemApi.md#get_health) | **GET** /health | Check API Health
[**get_info_push**](SystemApi.md#get_info_push) | **GET** /infoPush | Show Information Notices
[**get_java_script**](SystemApi.md#get_java_script) | **GET** /js/app.js | Download JavaScript
[**get_system_time**](SystemApi.md#get_system_time) | **GET** /time | Current System Time
@ -125,6 +126,37 @@ 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_info_push
> Vec<crate::models::InfoPush> get_info_push(require, include)
Show Information Notices
IPS (Info Push System) is a system for VRChat to push out dynamic information to the client. This is primarily used by the Quick-Menu info banners, but can also be used to e.g. alert you to update your game to the latest version. `include` is used to query what Information Pushes should be included in the response. If include is missing or empty, then no notices will normally be returned. This is an \"any of\" search. `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an \"all of\" search.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**require** | Option<**String**> | Tags to include (comma-separated). All of the tags needs to be present. | |
**include** | Option<**String**> | Tags to include (comma-separated). Any of the tags needs to be present. | |
### Return type
[**Vec<crate::models::InfoPush>**](InfoPush.md)
### Authorization
No authorization required
### 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_java_script
> String get_java_script(variant, branch)

View File

@ -7,8 +7,8 @@ Name | Type | Description | Notes
**allow_avatar_copying** | **bool** | |
**bio** | **String** | |
**bio_links** | **Vec<String>** | |
**current_avatar_image_url** | **String** | |
**current_avatar_thumbnail_image_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. |
**date_joined** | [**String**](string.md) | | [readonly]
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **String** | |

View File

@ -98,7 +98,7 @@ Name | Type | Description | Required | Notes
**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). | |
**tag** | Option<**String**> | Tags to include (comma-separated). Any of the tags needs to be present. | |
**notag** | Option<**String**> | Tags to exclude (comma-separated). | |
**release_status** | Option<**String**> | Filter by ReleaseStatus. | |[default to public]
**max_unity_version** | Option<**String**> | The maximum Unity version supported by the asset. | |
@ -139,7 +139,7 @@ Name | Type | Description | Required | Notes
**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). | |
**tag** | Option<**String**> | Tags to include (comma-separated). Any of the tags needs to be present. | |
**notag** | Option<**String**> | Tags to exclude (comma-separated). | |
**release_status** | Option<**String**> | Filter by ReleaseStatus. | |[default to public]
**max_unity_version** | Option<**String**> | The maximum Unity version supported by the asset. | |
@ -181,7 +181,7 @@ Name | Type | Description | Required | Notes
**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). | |
**tag** | Option<**String**> | Tags to include (comma-separated). Any of the tags needs to be present. | |
**notag** | Option<**String**> | Tags to exclude (comma-separated). | |
**release_status** | Option<**String**> | Filter by ReleaseStatus. | |[default to public]
**max_unity_version** | Option<**String**> | The maximum Unity version supported by the asset. | |
@ -376,7 +376,7 @@ Name | Type | Description | Required | Notes
**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). | |
**tag** | Option<**String**> | Tags to include (comma-separated). Any of the tags needs to be present. | |
**notag** | Option<**String**> | Tags to exclude (comma-separated). | |
**release_status** | Option<**String**> | Filter by ReleaseStatus. | |[default to public]
**max_unity_version** | Option<**String**> | The maximum Unity version supported by the asset. | |