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
@@ -98,6 +99,94 @@ Name | Type | Description | Notes
98
99
99
100
[[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)
100
101
102
+
# **get_instance_by_short_name**
103
+
> Instance get_instance_by_short_name(short_name)
104
+
105
+
Get Instance By Short Name
106
+
107
+
Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
108
+
109
+
### Example
110
+
111
+
* Api Key Authentication (apiKeyCookie):
112
+
* Api Key Authentication (authCookie):
113
+
114
+
```python
115
+
import time
116
+
import vrchatapi
117
+
from vrchatapi.api import instances_api
118
+
from vrchatapi.model.error import Error
119
+
from vrchatapi.model.instance import Instance
120
+
from pprint import pprint
121
+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
122
+
# See configuration.py for a list of all supported configuration parameters.
123
+
configuration = vrchatapi.Configuration(
124
+
host="https://api.vrchat.cloud/api/1"
125
+
)
126
+
127
+
# The client must configure the authentication and authorization parameters
128
+
# in accordance with the API server security policy.
129
+
# Examples for each auth method are provided below, use the example that
**401** | Error response due to missing apiKey or auth cookie. | - |
186
+
**404** | Error response due to non existant instance | - |
187
+
188
+
[[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)
@@ -196,8 +197,112 @@ Name | Type | Description | Notes
196
197
197
198
[[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)
**200** | Returns a single SentNotifcation object. | - |
299
+
**401** | Error response due to missing apiKey or auth cookie. | - |
300
+
**404** | Error response due to non existant instance | - |
301
+
302
+
[[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)
303
+
199
304
# **invite_user**
200
-
> Notification invite_user(user_id)
305
+
> SentNotification invite_user(user_id)
201
306
202
307
Invite User
203
308
@@ -212,7 +317,7 @@ Sends an invite to a user. Returns the Notification of type `invite` that was se
212
317
import time
213
318
import vrchatapi
214
319
from vrchatapi.api import invite_api
215
-
from vrchatapi.model.notificationimportNotification
320
+
from vrchatapi.model.sent_notificationimportSentNotification
216
321
from vrchatapi.model.invite_request import InviteRequest
217
322
from vrchatapi.model.error import Error
218
323
from pprint import pprint
@@ -277,7 +382,7 @@ Name | Type | Description | Notes
277
382
278
383
### Return type
279
384
280
-
[**Notification**](Notification.md)
385
+
[**SentNotification**](SentNotification.md)
281
386
282
387
### Authorization
283
388
@@ -293,7 +398,7 @@ Name | Type | Description | Notes
293
398
294
399
| Status code | Description | Response headers |
295
400
|-------------|-------------|------------------|
296
-
**200** | Returns a single Notifcation object. | - |
401
+
**200** | Returns a single SentNotifcation object. | - |
297
402
**403** | Error response when trying to invite someome whom you are not friends with. | - |
298
403
299
404
[[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)
**short_name** | **str** | Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint. |
8
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**reciever_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. |
11
+
**sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. |
**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | defaults to "{}"
15
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
16
+
17
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**display_name** | **str** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. |
14
14
**friend_key** | **str** | |
15
+
**friend_request_status** | **str** | |
15
16
**id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. |
16
17
**is_friend** | **bool** | Either their `friendKey`, or empty string if you are not friends. Unknown usage. |
18
+
**last_activity** | **str** | Either a date-time or empty string. |
17
19
**last_login** | **str** | Either a date-time or empty string. |
18
20
**last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. |
19
21
**profile_pic_override** | **str** | |
@@ -26,6 +28,10 @@ Name | Type | Description | Notes
26
28
**allow_avatar_copying** | **bool** | | defaults to True
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. |
10
9
**author_name** | **str** | |
11
10
**capacity** | **int** | |
@@ -16,12 +15,10 @@ Name | Type | Description | Notes
0 commit comments