Automated spec update (62954)

This commit is contained in:
Nelly (automation bot) 2024-08-12 20:52:47 +00:00
parent 8c8f63e21b
commit ec8740747e
2 changed files with 164 additions and 0 deletions

View File

@ -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}": { "/channels/{channel_id}/thread-members/{user_id}": {
"parameters": [ "parameters": [
{ {
@ -7744,6 +7782,29 @@
"required": true "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": { "delete": {
"operationId": "delete_guild_role", "operationId": "delete_guild_role",
"responses": { "responses": {
@ -27616,6 +27677,27 @@
"available" "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": { "SpamLinkRuleResponse": {
"type": "object", "type": "object",
"properties": { "properties": {

View File

@ -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}": { "/channels/{channel_id}/thread-members/{user_id}": {
"parameters": [ "parameters": [
{ {
@ -7744,6 +7782,29 @@
"required": true "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": { "delete": {
"operationId": "delete_guild_role", "operationId": "delete_guild_role",
"responses": { "responses": {
@ -28045,6 +28106,27 @@
"available" "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": { "SpamLinkRuleResponse": {
"type": "object", "type": "object",
"properties": { "properties": {