Compare commits

..

No commits in common. "81e9293f41a35c33431ebcd3ea505b8267b0fa49" and "c62d95c29a186ffc0c309005269d07e6fd467b22" have entirely different histories.

2 changed files with 466 additions and 540 deletions

View File

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

View File

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