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

View File

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