You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -404,6 +405,94 @@ Name | Type | Description | Notes
404
405
405
406
[[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)
406
407
408
+
# **get_own_avatar**
409
+
> Avatar get_own_avatar(user_id)
410
+
411
+
Get Own Avatar
412
+
413
+
Get the current avatar for the user. This will return an error for any other user than the one logged in.
414
+
415
+
### Example
416
+
417
+
* Api Key Authentication (apiKeyCookie):
418
+
* Api Key Authentication (authCookie):
419
+
420
+
```python
421
+
import time
422
+
import vrchatapi
423
+
from vrchatapi.api import avatars_api
424
+
from vrchatapi.model.avatar import Avatar
425
+
from vrchatapi.model.error import Error
426
+
from pprint import pprint
427
+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
428
+
# See configuration.py for a list of all supported configuration parameters.
429
+
configuration = vrchatapi.Configuration(
430
+
host="https://api.vrchat.cloud/api/1"
431
+
)
432
+
433
+
# The client must configure the authentication and authorization parameters
434
+
# in accordance with the API server security policy.
435
+
# Examples for each auth method are provided below, use the example that
**401** | Error response due to missing apiKey or auth cookie. | - |
492
+
**403** | Error response when trying to see another users current avatar without sufficient admin permissions. | - |
493
+
494
+
[[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)
**value** | **str** | | defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ]
7
+
**value** | **str** | | defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ]
8
8
9
9
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments