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
* 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.
3412
+
* A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise
3398
3413
* @type {string}
3399
3414
* @memberof Instance
3400
3415
*/
3401
-
'ownerId'?: string;
3416
+
'ownerId'?: string | null;
3402
3417
/**
3403
3418
*
3404
3419
* @type {boolean}
@@ -3434,7 +3449,7 @@ export interface Instance {
3434
3449
* @type {string}
3435
3450
* @memberof Instance
3436
3451
*/
3437
-
'shortName'?: string;
3452
+
'shortName'?: string | null;
3438
3453
/**
3439
3454
* The tags array on Instances usually contain the language tags of the people in the instance.
@@ -12898,6 +12943,51 @@ export class GroupsApi extends BaseAPI {
12898
12943
*/
12899
12944
export const InstancesApiAxiosParamCreator = function (configuration?: Configuration) {
12900
12945
return {
12946
+
/**
12947
+
* 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.
12948
+
* @summary Close Instance
12949
+
* @param {string} worldId Must be a valid world ID.
12950
+
* @param {string} instanceId Must be a valid instance ID.
12951
+
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
* 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.
13159
+
* @summary Close Instance
13160
+
* @param {string} worldId Must be a valid world ID.
13161
+
* @param {string} instanceId Must be a valid instance ID.
13162
+
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
* 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.
13229
+
* @summary Close Instance
13230
+
* @param {string} worldId Must be a valid world ID.
13231
+
* @param {string} instanceId Must be a valid instance ID.
13232
+
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
13126
13241
* @summary Get Instance
@@ -13174,6 +13289,20 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
13174
13289
* @extends {BaseAPI}
13175
13290
*/
13176
13291
export class InstancesApi extends BaseAPI {
13292
+
/**
13293
+
* 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.
13294
+
* @summary Close Instance
13295
+
* @param {string} worldId Must be a valid world ID.
13296
+
* @param {string} instanceId Must be a valid instance ID.
13297
+
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
0 commit comments