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
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/GroupsApi.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -652,8 +652,9 @@ void (empty response body)
652
652
| Status code | Description | Response headers |
653
653
|-------------|-------------|------------------|
654
654
**200** | OK | - |
655
-
**400** | User <displayName> is already invited | - |
655
+
**400** | Bad request error response when creating a group invite. | - |
656
656
**401** | Error response due to missing auth cookie. | - |
657
+
**403** | Forbidden error response when creating a group invite. | - |
657
658
**404** | Error response when trying to perform operations on a non-existing group. | - |
658
659
659
660
[[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)
@@ -1980,6 +1981,7 @@ Name | Type | Description | Notes
1980
1981
| Status code | Description | Response headers |
1981
1982
|-------------|-------------|------------------|
1982
1983
**200** | Returns a list of GroupMember objects. | - |
1984
+
**400** | Bad request error response when responding to a group join request | - |
1983
1985
**403** | Error response when trying to perform operations on a group you are not member of. | - |
1984
1986
**404** | Error response when trying to perform operations on a non-existing group. | - |
Copy file name to clipboardExpand all lines: docs/Instance.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
**location** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. |
16
16
**n_users** | **int** | |
17
17
**name** | **str** | |
18
-
**owner_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. | [optional]
18
+
**owner_id** | **str** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [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)
Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
20
+
21
+
### Example
22
+
23
+
* Api Key Authentication (authCookie):
24
+
```python
25
+
from__future__import print_function
26
+
import time
27
+
import vrchatapi
28
+
from vrchatapi.rest import ApiException
29
+
from pprint import pprint
30
+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
31
+
# See configuration.py for a list of all supported configuration parameters.
32
+
configuration = vrchatapi.Configuration(
33
+
host="https://api.vrchat.cloud/api/1"
34
+
)
35
+
36
+
# The client must configure the authentication and authorization parameters
37
+
# in accordance with the API server security policy.
38
+
# Examples for each auth method are provided below, use the example that
**world_id** | **str**| Must be a valid world ID. |
68
+
**instance_id** | **str**| Must be a valid instance ID. |
69
+
**hard_close** | **bool**| Whether to hard close the instance. Defaults to false. | [optional]
70
+
71
+
### Return type
72
+
73
+
[**Instance**](Instance.md)
74
+
75
+
### Authorization
76
+
77
+
[authCookie](../README.md#authCookie)
78
+
79
+
### HTTP request headers
80
+
81
+
-**Content-Type**: Not defined
82
+
-**Accept**: application/json
83
+
84
+
### HTTP response details
85
+
| Status code | Description | Response headers |
86
+
|-------------|-------------|------------------|
87
+
**200** | Returns a single Instance object. | - |
88
+
**401** | Error response due to missing auth cookie. | - |
89
+
**403** | Error response due to not being allowed to close an instance | - |
90
+
**404** | Error response due to non existant instance | - |
91
+
92
+
[[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)
0 commit comments