diff --git a/specs/openapi.json b/specs/openapi.json index b3a8b2a..1587da5 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -3817,6 +3817,44 @@ ] } }, + "/channels/{channel_id}/send-soundboard-sound": { + "parameters": [ + { + "name": "channel_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + } + ], + "post": { + "operationId": "send_soundboard_sound", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SoundboardSoundSendRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "204 response for send_soundboard_sound" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/channels/{channel_id}/thread-members/{user_id}": { "parameters": [ { @@ -7744,6 +7782,29 @@ "required": true } ], + "get": { + "operationId": "get_guild_role", + "responses": { + "200": { + "description": "200 response for get_guild_role", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuildRoleResponse" + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + }, "delete": { "operationId": "delete_guild_role", "responses": { @@ -27616,6 +27677,27 @@ "available" ] }, + "SoundboardSoundSendRequest": { + "type": "object", + "properties": { + "sound_id": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "source_guild_id": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SnowflakeType" + } + ] + } + }, + "required": [ + "sound_id" + ] + }, "SpamLinkRuleResponse": { "type": "object", "properties": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index f60a072..ab15077 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -3817,6 +3817,44 @@ ] } }, + "/channels/{channel_id}/send-soundboard-sound": { + "parameters": [ + { + "name": "channel_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + } + ], + "post": { + "operationId": "send_soundboard_sound", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SoundboardSoundSendRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "204 response for send_soundboard_sound" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/channels/{channel_id}/thread-members/{user_id}": { "parameters": [ { @@ -7744,6 +7782,29 @@ "required": true } ], + "get": { + "operationId": "get_guild_role", + "responses": { + "200": { + "description": "200 response for get_guild_role", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuildRoleResponse" + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + }, "delete": { "operationId": "delete_guild_role", "responses": { @@ -28045,6 +28106,27 @@ "available" ] }, + "SoundboardSoundSendRequest": { + "type": "object", + "properties": { + "sound_id": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "source_guild_id": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SnowflakeType" + } + ] + } + }, + "required": [ + "sound_id" + ] + }, "SpamLinkRuleResponse": { "type": "object", "properties": {