Compare commits

..

2 Commits

Author SHA1 Message Date
Nelly (automation bot) 81e9293f41 Automated spec update (315) 2023-09-05 22:08:03 +00:00
Nelly (automation bot) 94c90a99a8 Automated spec update (314) 2023-09-05 17:41:22 +00:00
2 changed files with 540 additions and 466 deletions

View File

@ -131,10 +131,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -142,10 +139,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -153,10 +147,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 200
}
@ -165,10 +156,7 @@
"name": "with_counts",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -415,12 +403,7 @@
"content": {
"application/json": {
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/BotAccountPatchRequestPartial"
}
],
"x-discord-union": "oneOf"
"$ref": "#/components/schemas/BotAccountPatchRequest"
}
}
},
@ -627,10 +610,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -638,10 +618,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 2,
"maximum": 100
}
@ -913,10 +890,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "date-time"
}
},
@ -924,10 +898,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 2,
"maximum": 100
}
@ -974,10 +945,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "date-time"
}
},
@ -985,10 +953,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 2,
"maximum": 100
}
@ -1485,10 +1450,7 @@
"name": "with_localizations",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -2025,10 +1987,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -2036,10 +1995,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -2252,10 +2208,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -2289,10 +2242,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -2319,10 +2269,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -2447,20 +2394,14 @@
"name": "with_member",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -2469,10 +2410,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -2480,10 +2418,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -3308,10 +3243,7 @@
"name": "with_localizations",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -3794,10 +3726,7 @@
"name": "with_member",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -3874,20 +3803,14 @@
"name": "with_member",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -3896,10 +3819,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -4040,6 +3960,32 @@
],
"put": {
"operationId": "add_group_dm_user",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"access_token": {
"type": [
"string",
"null"
],
"maxLength": 152133
},
"nick": {
"type": [
"string",
"null"
],
"maxLength": 152133
}
}
}
}
},
"required": true
},
"responses": {
"201": {
"description": "201 response for add_group_dm_user",
@ -4315,10 +4261,7 @@
"name": "around",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -4326,10 +4269,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -4337,10 +4277,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -4348,10 +4285,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -4939,10 +4873,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -4976,10 +4907,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -5006,10 +4934,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -5134,20 +5059,14 @@
"name": "wait",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -5206,20 +5125,14 @@
"name": "wait",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -5424,10 +5337,7 @@
"name": "with_user_count",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -5552,10 +5462,7 @@
"name": "with_user_count",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -6033,10 +5940,7 @@
"name": "user_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -6044,20 +5948,14 @@
"name": "action_type",
"in": "query",
"schema": {
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -6065,10 +5963,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -6076,10 +5971,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -6126,15 +6018,8 @@
"name": "style",
"in": "query",
"schema": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/WidgetImageStyles"
}
]
}
}
],
"responses": {
@ -7038,10 +6923,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 1000
}
@ -7050,10 +6932,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 0
}
}
@ -7679,6 +7558,65 @@
},
"post": {
"operationId": "create_guild_role",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
],
"maxLength": 100
},
"permissions": {
"type": [
"integer",
"null"
]
},
"color": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 16777215
},
"hoist": {
"type": [
"boolean",
"null"
]
},
"mentionable": {
"type": [
"boolean",
"null"
]
},
"icon": {
"type": [
"string",
"null"
],
"contentEncoding": "base64"
},
"unicode_emoji": {
"type": [
"string",
"null"
],
"maxLength": 100
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "200 response for create_guild_role",
@ -7772,6 +7710,54 @@
],
"get": {
"operationId": "preview_prune_guild",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"days": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 30
},
"compute_prune_count": {
"type": [
"boolean",
"null"
]
},
"include_roles": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": [
"string",
"null"
],
"format": "snowflake"
},
"maxItems": 100,
"uniqueItems": true
},
{
"type": "null"
}
]
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "200 response for preview_prune_guild",
@ -7795,6 +7781,54 @@
},
"post": {
"operationId": "prune_guild",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"days": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 30
},
"compute_prune_count": {
"type": [
"boolean",
"null"
]
},
"include_roles": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": [
"string",
"null"
],
"format": "snowflake"
},
"maxItems": 100,
"uniqueItems": true
},
{
"type": "null"
}
]
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "200 response for prune_guild",
@ -7863,6 +7897,34 @@
},
"put": {
"operationId": "ban_user_from_guild",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"delete_message_seconds": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 604800
},
"delete_message_days": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 7
}
}
}
}
},
"required": true
},
"responses": {
"204": {
"description": "204 response for ban_user_from_guild"
@ -7913,10 +7975,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 1000
}
@ -7925,10 +7984,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -7936,10 +7992,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -8252,20 +8305,14 @@
"name": "wait",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -8745,20 +8792,14 @@
"name": "with_counts",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "guild_scheduled_event_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -8850,10 +8891,7 @@
"name": "with_counts",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -10807,11 +10845,7 @@
"null"
],
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/ApplicationCommandSubcommandOption"
}
]
},
"maxItems": 25
}
@ -12899,7 +12933,7 @@
"metadata"
]
},
"BotAccountPatchRequestPartial": {
"BotAccountPatchRequest": {
"type": "object",
"properties": {
"username": {
@ -12914,7 +12948,10 @@
],
"contentEncoding": "base64"
}
}
},
"required": [
"username"
]
},
"Button": {
"type": "object",

View File

@ -131,10 +131,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -142,10 +139,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -153,10 +147,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 200
}
@ -165,10 +156,7 @@
"name": "with_counts",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -415,12 +403,7 @@
"content": {
"application/json": {
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/BotAccountPatchRequestPartial"
}
],
"x-discord-union": "oneOf"
"$ref": "#/components/schemas/BotAccountPatchRequest"
}
}
},
@ -627,10 +610,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -638,10 +618,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 2,
"maximum": 100
}
@ -913,10 +890,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "date-time"
}
},
@ -924,10 +898,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 2,
"maximum": 100
}
@ -974,10 +945,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "date-time"
}
},
@ -985,10 +953,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 2,
"maximum": 100
}
@ -1485,10 +1450,7 @@
"name": "with_localizations",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -2025,10 +1987,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -2036,10 +1995,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -2252,10 +2208,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -2289,10 +2242,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -2319,10 +2269,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -2447,20 +2394,14 @@
"name": "with_member",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -2469,10 +2410,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -2480,10 +2418,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -3308,10 +3243,7 @@
"name": "with_localizations",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -3794,10 +3726,7 @@
"name": "with_member",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -3874,20 +3803,14 @@
"name": "with_member",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -3896,10 +3819,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -4040,6 +3960,32 @@
],
"put": {
"operationId": "add_group_dm_user",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"access_token": {
"type": [
"string",
"null"
],
"maxLength": 152133
},
"nick": {
"type": [
"string",
"null"
],
"maxLength": 152133
}
}
}
}
},
"required": true
},
"responses": {
"201": {
"description": "201 response for add_group_dm_user",
@ -4315,10 +4261,7 @@
"name": "around",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -4326,10 +4269,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -4337,10 +4277,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -4348,10 +4285,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -4939,10 +4873,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -4976,10 +4907,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -5006,10 +4934,7 @@
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -5134,20 +5059,14 @@
"name": "wait",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -5206,20 +5125,14 @@
"name": "wait",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -5424,10 +5337,7 @@
"name": "with_user_count",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -5552,10 +5462,7 @@
"name": "with_user_count",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -6033,10 +5940,7 @@
"name": "user_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -6044,20 +5948,14 @@
"name": "action_type",
"in": "query",
"schema": {
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -6065,10 +5963,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -6076,10 +5971,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 100
}
@ -6126,15 +6018,8 @@
"name": "style",
"in": "query",
"schema": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/WidgetImageStyles"
}
]
}
}
],
"responses": {
@ -7038,10 +6923,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 1000
}
@ -7050,10 +6932,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 0
}
}
@ -7679,6 +7558,65 @@
},
"post": {
"operationId": "create_guild_role",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
],
"maxLength": 100
},
"permissions": {
"type": [
"integer",
"null"
]
},
"color": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 16777215
},
"hoist": {
"type": [
"boolean",
"null"
]
},
"mentionable": {
"type": [
"boolean",
"null"
]
},
"icon": {
"type": [
"string",
"null"
],
"contentEncoding": "base64"
},
"unicode_emoji": {
"type": [
"string",
"null"
],
"maxLength": 100
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "200 response for create_guild_role",
@ -7772,6 +7710,54 @@
],
"get": {
"operationId": "preview_prune_guild",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"days": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 30
},
"compute_prune_count": {
"type": [
"boolean",
"null"
]
},
"include_roles": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": [
"string",
"null"
],
"format": "snowflake"
},
"maxItems": 100,
"uniqueItems": true
},
{
"type": "null"
}
]
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "200 response for preview_prune_guild",
@ -7795,6 +7781,54 @@
},
"post": {
"operationId": "prune_guild",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"days": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 30
},
"compute_prune_count": {
"type": [
"boolean",
"null"
]
},
"include_roles": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": [
"string",
"null"
],
"format": "snowflake"
},
"maxItems": 100,
"uniqueItems": true
},
{
"type": "null"
}
]
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "200 response for prune_guild",
@ -7863,6 +7897,34 @@
},
"put": {
"operationId": "ban_user_from_guild",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"delete_message_seconds": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 604800
},
"delete_message_days": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 7
}
}
}
}
},
"required": true
},
"responses": {
"204": {
"description": "204 response for ban_user_from_guild"
@ -7913,10 +7975,7 @@
"name": "limit",
"in": "query",
"schema": {
"type": [
"integer",
"null"
],
"type": "integer",
"minimum": 1,
"maximum": 1000
}
@ -7925,10 +7984,7 @@
"name": "before",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
},
@ -7936,10 +7992,7 @@
"name": "after",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -8252,20 +8305,14 @@
"name": "wait",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "thread_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -8745,20 +8792,14 @@
"name": "with_counts",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
},
{
"name": "guild_scheduled_event_id",
"in": "query",
"schema": {
"type": [
"string",
"null"
],
"type": "string",
"format": "snowflake"
}
}
@ -8850,10 +8891,7 @@
"name": "with_counts",
"in": "query",
"schema": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
],
@ -10807,11 +10845,7 @@
"null"
],
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/ApplicationCommandSubcommandOption"
}
]
},
"maxItems": 25
}
@ -12899,7 +12933,7 @@
"metadata"
]
},
"BotAccountPatchRequestPartial": {
"BotAccountPatchRequest": {
"type": "object",
"properties": {
"username": {
@ -12914,7 +12948,10 @@
],
"contentEncoding": "base64"
}
}
},
"required": [
"username"
]
},
"Button": {
"type": "object",