mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-12-03 02:58:22 +00:00
Upgrade Rust SDK to spec 1.9.0
This commit is contained in:
@@ -8,6 +8,7 @@ Method | HTTP request | Description
|
||||
[**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
|
||||
[**get_own_avatar**](AvatarsApi.md#get_own_avatar) | **GET** /users/{userId}/avatar | Get Own Avatar
|
||||
[**search_avatars**](AvatarsApi.md#search_avatars) | **GET** /avatars | Search Avatars
|
||||
[**select_avatar**](AvatarsApi.md#select_avatar) | **PUT** /avatars/{avatarId}/select | Select Avatar
|
||||
[**select_fallback_avatar**](AvatarsApi.md#select_fallback_avatar) | **PUT** /avatars/{avatarId}/selectFallback | Select Fallback Avatar
|
||||
@@ -147,6 +148,36 @@ Name | Type | Description | Required | Notes
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
## get_own_avatar
|
||||
|
||||
> crate::models::Avatar get_own_avatar(user_id)
|
||||
Get Own Avatar
|
||||
|
||||
Get the current avatar for the user. This will return an error for any other user than the one logged in.
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**user_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)
|
||||
|
||||
|
||||
## 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)
|
||||
|
||||
Reference in New Issue
Block a user