From c020f56f103767169d22e12d60f57c810ab98a8a Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Fri, 13 Jun 2025 16:59:13 +0000 Subject: [PATCH] Automated spec update (122530) --- specs/openapi.json | 100 +++++++++++++++++++++++++++++++++++++ specs/openapi_preview.json | 100 +++++++++++++++++++++++++++++++++++++ 2 files changed, 200 insertions(+) diff --git a/specs/openapi.json b/specs/openapi.json index 6b05fcb..f68fd70 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -8199,6 +8199,65 @@ ] } }, + "/lobbies/{lobby_id}/members/bulk": { + "parameters": [ + { + "name": "lobby_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + } + ], + "post": { + "operationId": "bulk_update_lobby_members", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/BulkLobbyMemberRequest" + }, + "minItems": 1, + "maxItems": 25 + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "200 response for bulk_update_lobby_members", + "content": { + "application/json": { + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/LobbyMemberResponse" + } + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/lobbies/{lobby_id}/members/{user_id}": { "parameters": [ { @@ -15212,6 +15271,47 @@ "failed_users" ] }, + "BulkLobbyMemberRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "metadata": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string", + "maxLength": 1024 + }, + "maxProperties": 25 + }, + "flags": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "integer", + "enum": [ + 1 + ] + } + ] + }, + "remove_member": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "id" + ] + }, "ButtonComponentForMessageRequest": { "type": "object", "properties": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index a762137..81a14af 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -8199,6 +8199,65 @@ ] } }, + "/lobbies/{lobby_id}/members/bulk": { + "parameters": [ + { + "name": "lobby_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + } + ], + "post": { + "operationId": "bulk_update_lobby_members", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/BulkLobbyMemberRequest" + }, + "minItems": 1, + "maxItems": 25 + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "200 response for bulk_update_lobby_members", + "content": { + "application/json": { + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/LobbyMemberResponse" + } + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/lobbies/{lobby_id}/members/{user_id}": { "parameters": [ { @@ -15212,6 +15271,47 @@ "failed_users" ] }, + "BulkLobbyMemberRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "metadata": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string", + "maxLength": 1024 + }, + "maxProperties": 25 + }, + "flags": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "integer", + "enum": [ + 1 + ] + } + ] + }, + "remove_member": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "id" + ] + }, "ButtonComponentForMessageRequest": { "type": "object", "properties": {