mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-12-03 02:58:22 +00:00
Update Rust SDK to spec 1.1.2
This commit is contained in:
@@ -75,7 +75,7 @@ This endpoint does not need any parameter.
|
||||
> crate::models::Success logout()
|
||||
Logout
|
||||
|
||||
Invalidates the auth cookie.
|
||||
Invalidates the login session.
|
||||
|
||||
### Parameters
|
||||
|
||||
@@ -87,7 +87,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Authorization
|
||||
|
||||
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
|
||||
[authCookie](../README.md#authCookie)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
@@ -144,7 +144,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Authorization
|
||||
|
||||
[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie)
|
||||
[authCookie](../README.md#authCookie)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
||||
**bio_links** | **Vec<String>** | |
|
||||
**profile_pic_override** | **String** | |
|
||||
**status_description** | **String** | |
|
||||
**past_display_names** | **Vec<String>** | |
|
||||
**past_display_names** | [**Vec<crate::models::PastDisplayName>**](PastDisplayName.md) | |
|
||||
**has_email** | **bool** | |
|
||||
**has_pending_email** | **bool** | |
|
||||
**obfuscated_email** | **String** | |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# InlineResponse401
|
||||
# InlineResponse403
|
||||
|
||||
## Properties
|
||||
|
||||
12
docs/PastDisplayName.md
Normal file
12
docs/PastDisplayName.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# PastDisplayName
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**display_name** | **String** | |
|
||||
**updated_at** | **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)
|
||||
|
||||
|
||||
14
docs/Permission.md
Normal file
14
docs/Permission.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Permission
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **String** | |
|
||||
**owner_id** | **String** | | [readonly]
|
||||
**name** | **String** | |
|
||||
**data** | Option<[**serde_json::Value**](.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)
|
||||
|
||||
|
||||
67
docs/PermissionsApi.md
Normal file
67
docs/PermissionsApi.md
Normal file
@@ -0,0 +1,67 @@
|
||||
# \PermissionsApi
|
||||
|
||||
All URIs are relative to *https://api.vrchat.cloud/api/1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**get_assigned_permissions**](PermissionsApi.md#get_assigned_permissions) | **GET** /auth/permissions | Get Assigned Permission
|
||||
[**get_permission**](PermissionsApi.md#get_permission) | **GET** /permissions/{permissionId} | Get Permission
|
||||
|
||||
|
||||
|
||||
## get_assigned_permissions
|
||||
|
||||
> Vec<crate::models::Permission> get_assigned_permissions()
|
||||
Get Assigned Permission
|
||||
|
||||
Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+.
|
||||
|
||||
### Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Return type
|
||||
|
||||
[**Vec<crate::models::Permission>**](Permission.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_permission
|
||||
|
||||
> crate::models::Permission get_permission(permission_id)
|
||||
Get Permission
|
||||
|
||||
Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`.
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**permission_id** | **String** | | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
[**crate::models::Permission**](Permission.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)
|
||||
|
||||
Reference in New Issue
Block a user