mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-11-14 07:49:48 -05:00
Compare commits
18 commits
390694490f
...
28ef48483b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28ef48483b | ||
|
|
7b5b12a042 | ||
|
|
62071cdbc3 | ||
|
|
471ad9bea1 | ||
|
|
9408fa97aa | ||
|
|
f10b53887b | ||
|
|
eeee1db09b | ||
|
|
47b4923237 | ||
|
|
f627d43278 | ||
|
|
acc59dc617 | ||
|
|
67a8f3ce55 | ||
|
|
3b8753ded7 | ||
|
|
4727514a64 | ||
|
|
44a11d8de8 | ||
|
|
d2a1e3b599 | ||
|
|
b8404d3ec2 | ||
|
|
7bfb7b01c2 | ||
|
|
2ec63be0f0 |
2 changed files with 593 additions and 260 deletions
|
|
@ -2585,6 +2585,45 @@
|
||||||
],
|
],
|
||||||
"x-discord-union": "oneOf"
|
"x-discord-union": "oneOf"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"application/x-www-form-urlencoded": {
|
||||||
|
"schema": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/CreateGroupDMInviteRequest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/CreateGuildInviteRequest"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x-discord-union": "oneOf"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"multipart/form-data": {
|
||||||
|
"schema": {
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/CreateGroupDMInviteRequest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/CreateGuildInviteRequest"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x-discord-union": "oneOf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"target_users_file": {
|
||||||
|
"type": "string",
|
||||||
|
"contentEncoding": "binary"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": true
|
"required": true
|
||||||
|
|
@ -5672,42 +5711,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"delete": {
|
|
||||||
"operationId": "delete_guild",
|
|
||||||
"responses": {
|
|
||||||
"204": {
|
|
||||||
"description": "204 response for delete_guild",
|
|
||||||
"headers": {
|
|
||||||
"X-RateLimit-Limit": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Limit"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Remaining": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Remaining"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Reset": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Reset"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Reset-After": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Reset-After"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Bucket": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Bucket"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"429": {
|
|
||||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
|
||||||
},
|
|
||||||
"4XX": {
|
|
||||||
"$ref": "#/components/responses/ClientErrorResponse"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"security": [
|
|
||||||
{
|
|
||||||
"BotToken": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"patch": {
|
"patch": {
|
||||||
"operationId": "update_guild",
|
"operationId": "update_guild",
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
|
|
@ -7906,71 +7909,6 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/guilds/{guild_id}/mfa": {
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"name": "guild_id",
|
|
||||||
"in": "path",
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
},
|
|
||||||
"required": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"post": {
|
|
||||||
"operationId": "set_guild_mfa_level",
|
|
||||||
"requestBody": {
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/GuildMFARequest"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": "200 response for set_guild_mfa_level",
|
|
||||||
"headers": {
|
|
||||||
"X-RateLimit-Limit": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Limit"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Remaining": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Remaining"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Reset": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Reset"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Reset-After": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Reset-After"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Bucket": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Bucket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/GuildMFALevelResponse"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"429": {
|
|
||||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
|
||||||
},
|
|
||||||
"4XX": {
|
|
||||||
"$ref": "#/components/responses/ClientErrorResponse"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"security": [
|
|
||||||
{
|
|
||||||
"BotToken": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"/guilds/{guild_id}/new-member-welcome": {
|
"/guilds/{guild_id}/new-member-welcome": {
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
|
@ -11275,6 +11213,14 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"override_event_webhooks_url": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 512,
|
||||||
|
"format": "uri"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -11428,6 +11374,14 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"override_event_webhooks_url": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 512,
|
||||||
|
"format": "uri"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -12381,6 +12335,63 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/partner-sdk/provisional-accounts/unmerge/bot": {
|
||||||
|
"post": {
|
||||||
|
"operationId": "bot_partner_sdk_unmerge_provisional_account",
|
||||||
|
"requestBody": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"external_user_id": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 1024
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"external_user_id"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"responses": {
|
||||||
|
"204": {
|
||||||
|
"description": "204 response for bot_partner_sdk_unmerge_provisional_account",
|
||||||
|
"headers": {
|
||||||
|
"X-RateLimit-Limit": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Limit"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Remaining": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Remaining"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Reset": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Reset"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Reset-After": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Reset-After"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Bucket": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Bucket"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"429": {
|
||||||
|
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||||
|
},
|
||||||
|
"4XX": {
|
||||||
|
"$ref": "#/components/responses/ClientErrorResponse"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"security": [
|
||||||
|
{
|
||||||
|
"BotToken": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"/partner-sdk/token": {
|
"/partner-sdk/token": {
|
||||||
"post": {
|
"post": {
|
||||||
"operationId": "partner_sdk_token",
|
"operationId": "partner_sdk_token",
|
||||||
|
|
@ -15582,7 +15593,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 4503599627370495
|
"maximum": 9007199254740991
|
||||||
},
|
},
|
||||||
"dm_permission": {
|
"dm_permission": {
|
||||||
"type": [
|
"type": [
|
||||||
|
|
@ -16455,7 +16466,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 4503599627370495
|
"maximum": 9007199254740991
|
||||||
},
|
},
|
||||||
"dm_permission": {
|
"dm_permission": {
|
||||||
"type": [
|
"type": [
|
||||||
|
|
@ -17384,7 +17395,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 4503599627370495
|
"maximum": 9007199254740991
|
||||||
},
|
},
|
||||||
"dm_permission": {
|
"dm_permission": {
|
||||||
"type": [
|
"type": [
|
||||||
|
|
@ -17756,6 +17767,18 @@
|
||||||
{
|
{
|
||||||
"title": "UNITY_SERVICES_ID_TOKEN",
|
"title": "UNITY_SERVICES_ID_TOKEN",
|
||||||
"const": "UNITY_SERVICES_ID_TOKEN"
|
"const": "UNITY_SERVICES_ID_TOKEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "DISCORD_BOT_ISSUED_ACCESS_TOKEN",
|
||||||
|
"const": "DISCORD_BOT_ISSUED_ACCESS_TOKEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "APPLE_ID_TOKEN",
|
||||||
|
"const": "APPLE_ID_TOKEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "PLAYSTATION_NETWORK_ID_TOKEN",
|
||||||
|
"const": "PLAYSTATION_NETWORK_ID_TOKEN"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -17895,7 +17918,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 4503599627370495
|
"maximum": 9007199254740991
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -19637,6 +19660,7 @@
|
||||||
"string",
|
"string",
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -19954,6 +19978,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -20042,6 +20067,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -21951,6 +21977,11 @@
|
||||||
"title": "PRIVATE_CHANNEL",
|
"title": "PRIVATE_CHANNEL",
|
||||||
"description": "private channel",
|
"description": "private channel",
|
||||||
"const": "pc"
|
"const": "pc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "PARTY",
|
||||||
|
"description": "party",
|
||||||
|
"const": "party"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -22067,6 +22098,16 @@
|
||||||
"boolean",
|
"boolean",
|
||||||
"null"
|
"null"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"gifter_user_id": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
@ -22591,6 +22632,62 @@
|
||||||
"spoiler"
|
"spoiler"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"FileUploadComponentForModalRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "integer",
|
||||||
|
"enum": [
|
||||||
|
19
|
||||||
|
],
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/MessageComponentTypes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"id": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"custom_id": {
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
|
"maxLength": 100
|
||||||
|
},
|
||||||
|
"min_values": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 10
|
||||||
|
},
|
||||||
|
"max_values": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 10
|
||||||
|
},
|
||||||
|
"required": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"type",
|
||||||
|
"custom_id"
|
||||||
|
]
|
||||||
|
},
|
||||||
"FlagToChannelAction": {
|
"FlagToChannelAction": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -24229,28 +24326,6 @@
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
"GuildMFALevelResponse": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"level": {
|
|
||||||
"$ref": "#/components/schemas/GuildMFALevel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"level"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"GuildMFARequest": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"level": {
|
|
||||||
"$ref": "#/components/schemas/GuildMFALevel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"level"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"GuildMemberResponse": {
|
"GuildMemberResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -24511,9 +24586,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"owner_id": {
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
},
|
|
||||||
"splash": {
|
"splash": {
|
||||||
"type": [
|
"type": [
|
||||||
"string",
|
"string",
|
||||||
|
|
@ -25500,6 +25572,32 @@
|
||||||
"serialized_source_guild"
|
"serialized_source_guild"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"GuildTemplateRoleColorsResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"primary_color": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"secondary_color": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"tertiary_color": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"primary_color"
|
||||||
|
]
|
||||||
|
},
|
||||||
"GuildTemplateRoleResponse": {
|
"GuildTemplateRoleResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -25517,6 +25615,16 @@
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
|
"colors": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/GuildTemplateRoleColorsResponse"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"hoist": {
|
"hoist": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
|
@ -27335,6 +27443,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
|
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/FileUploadComponentForModalRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
|
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
|
@ -27572,6 +27683,12 @@
|
||||||
},
|
},
|
||||||
"flags": {
|
"flags": {
|
||||||
"$ref": "#/components/schemas/UInt32Type"
|
"$ref": "#/components/schemas/UInt32Type"
|
||||||
|
},
|
||||||
|
"override_event_webhooks_url": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
@ -28286,6 +28403,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -28371,6 +28489,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -28850,6 +28969,11 @@
|
||||||
"title": "LABEL",
|
"title": "LABEL",
|
||||||
"description": "Label component",
|
"description": "Label component",
|
||||||
"const": 18
|
"const": 18
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "FILE_UPLOAD",
|
||||||
|
"description": "File upload component",
|
||||||
|
"const": 19
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
@ -30211,10 +30335,12 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 45
|
"maxLength": 45
|
||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
|
|
@ -31738,6 +31864,9 @@
|
||||||
},
|
},
|
||||||
"deaf": {
|
"deaf": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"permissions": {
|
||||||
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
@ -32413,6 +32542,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -32491,6 +32621,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -33943,6 +34074,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -34020,6 +34152,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -34383,6 +34516,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -34393,6 +34527,7 @@
|
||||||
"string",
|
"string",
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 45
|
"maxLength": 45
|
||||||
},
|
},
|
||||||
"value": {
|
"value": {
|
||||||
|
|
@ -36148,6 +36283,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -36226,6 +36362,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
|
||||||
|
|
@ -2585,6 +2585,45 @@
|
||||||
],
|
],
|
||||||
"x-discord-union": "oneOf"
|
"x-discord-union": "oneOf"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"application/x-www-form-urlencoded": {
|
||||||
|
"schema": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/CreateGroupDMInviteRequest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/CreateGuildInviteRequest"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x-discord-union": "oneOf"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"multipart/form-data": {
|
||||||
|
"schema": {
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/CreateGroupDMInviteRequest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/CreateGuildInviteRequest"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x-discord-union": "oneOf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"target_users_file": {
|
||||||
|
"type": "string",
|
||||||
|
"contentEncoding": "binary"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": true
|
"required": true
|
||||||
|
|
@ -5672,42 +5711,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"delete": {
|
|
||||||
"operationId": "delete_guild",
|
|
||||||
"responses": {
|
|
||||||
"204": {
|
|
||||||
"description": "204 response for delete_guild",
|
|
||||||
"headers": {
|
|
||||||
"X-RateLimit-Limit": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Limit"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Remaining": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Remaining"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Reset": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Reset"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Reset-After": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Reset-After"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Bucket": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Bucket"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"429": {
|
|
||||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
|
||||||
},
|
|
||||||
"4XX": {
|
|
||||||
"$ref": "#/components/responses/ClientErrorResponse"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"security": [
|
|
||||||
{
|
|
||||||
"BotToken": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"patch": {
|
"patch": {
|
||||||
"operationId": "update_guild",
|
"operationId": "update_guild",
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
|
|
@ -8246,71 +8249,6 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/guilds/{guild_id}/mfa": {
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"name": "guild_id",
|
|
||||||
"in": "path",
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
},
|
|
||||||
"required": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"post": {
|
|
||||||
"operationId": "set_guild_mfa_level",
|
|
||||||
"requestBody": {
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/GuildMFARequest"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": "200 response for set_guild_mfa_level",
|
|
||||||
"headers": {
|
|
||||||
"X-RateLimit-Limit": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Limit"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Remaining": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Remaining"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Reset": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Reset"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Reset-After": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Reset-After"
|
|
||||||
},
|
|
||||||
"X-RateLimit-Bucket": {
|
|
||||||
"$ref": "#/components/headers/X-RateLimit-Bucket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/GuildMFALevelResponse"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"429": {
|
|
||||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
|
||||||
},
|
|
||||||
"4XX": {
|
|
||||||
"$ref": "#/components/responses/ClientErrorResponse"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"security": [
|
|
||||||
{
|
|
||||||
"BotToken": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"/guilds/{guild_id}/new-member-welcome": {
|
"/guilds/{guild_id}/new-member-welcome": {
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
|
@ -8925,6 +8863,65 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/guilds/{guild_id}/roles/member-counts": {
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "guild_id",
|
||||||
|
"in": "path",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"get": {
|
||||||
|
"operationId": "guild_role_member_counts",
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": "200 response for guild_role_member_counts",
|
||||||
|
"headers": {
|
||||||
|
"X-RateLimit-Limit": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Limit"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Remaining": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Remaining"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Reset": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Reset"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Reset-After": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Reset-After"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Bucket": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Bucket"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"429": {
|
||||||
|
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||||
|
},
|
||||||
|
"4XX": {
|
||||||
|
"$ref": "#/components/responses/ClientErrorResponse"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"security": [
|
||||||
|
{
|
||||||
|
"BotToken": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"/guilds/{guild_id}/roles/{role_id}": {
|
"/guilds/{guild_id}/roles/{role_id}": {
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
|
@ -11615,6 +11612,14 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"override_event_webhooks_url": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 512,
|
||||||
|
"format": "uri"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -11768,6 +11773,14 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"override_event_webhooks_url": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 512,
|
||||||
|
"format": "uri"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -12721,6 +12734,63 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/partner-sdk/provisional-accounts/unmerge/bot": {
|
||||||
|
"post": {
|
||||||
|
"operationId": "bot_partner_sdk_unmerge_provisional_account",
|
||||||
|
"requestBody": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"external_user_id": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 1024
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"external_user_id"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"responses": {
|
||||||
|
"204": {
|
||||||
|
"description": "204 response for bot_partner_sdk_unmerge_provisional_account",
|
||||||
|
"headers": {
|
||||||
|
"X-RateLimit-Limit": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Limit"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Remaining": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Remaining"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Reset": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Reset"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Reset-After": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Reset-After"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Bucket": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Bucket"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"429": {
|
||||||
|
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||||
|
},
|
||||||
|
"4XX": {
|
||||||
|
"$ref": "#/components/responses/ClientErrorResponse"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"security": [
|
||||||
|
{
|
||||||
|
"BotToken": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"/partner-sdk/token": {
|
"/partner-sdk/token": {
|
||||||
"post": {
|
"post": {
|
||||||
"operationId": "partner_sdk_token",
|
"operationId": "partner_sdk_token",
|
||||||
|
|
@ -15922,7 +15992,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 4503599627370495
|
"maximum": 9007199254740991
|
||||||
},
|
},
|
||||||
"dm_permission": {
|
"dm_permission": {
|
||||||
"type": [
|
"type": [
|
||||||
|
|
@ -16795,7 +16865,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 4503599627370495
|
"maximum": 9007199254740991
|
||||||
},
|
},
|
||||||
"dm_permission": {
|
"dm_permission": {
|
||||||
"type": [
|
"type": [
|
||||||
|
|
@ -17724,7 +17794,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 4503599627370495
|
"maximum": 9007199254740991
|
||||||
},
|
},
|
||||||
"dm_permission": {
|
"dm_permission": {
|
||||||
"type": [
|
"type": [
|
||||||
|
|
@ -18096,6 +18166,18 @@
|
||||||
{
|
{
|
||||||
"title": "UNITY_SERVICES_ID_TOKEN",
|
"title": "UNITY_SERVICES_ID_TOKEN",
|
||||||
"const": "UNITY_SERVICES_ID_TOKEN"
|
"const": "UNITY_SERVICES_ID_TOKEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "DISCORD_BOT_ISSUED_ACCESS_TOKEN",
|
||||||
|
"const": "DISCORD_BOT_ISSUED_ACCESS_TOKEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "APPLE_ID_TOKEN",
|
||||||
|
"const": "APPLE_ID_TOKEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "PLAYSTATION_NETWORK_ID_TOKEN",
|
||||||
|
"const": "PLAYSTATION_NETWORK_ID_TOKEN"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -18235,7 +18317,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 4503599627370495
|
"maximum": 9007199254740991
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -20006,6 +20088,7 @@
|
||||||
"string",
|
"string",
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -20357,6 +20440,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -20445,6 +20529,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -22360,6 +22445,11 @@
|
||||||
"title": "PRIVATE_CHANNEL",
|
"title": "PRIVATE_CHANNEL",
|
||||||
"description": "private channel",
|
"description": "private channel",
|
||||||
"const": "pc"
|
"const": "pc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "PARTY",
|
||||||
|
"description": "party",
|
||||||
|
"const": "party"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -22476,6 +22566,16 @@
|
||||||
"boolean",
|
"boolean",
|
||||||
"null"
|
"null"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"gifter_user_id": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
@ -23030,6 +23130,62 @@
|
||||||
"spoiler"
|
"spoiler"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"FileUploadComponentForModalRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "integer",
|
||||||
|
"enum": [
|
||||||
|
19
|
||||||
|
],
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/MessageComponentTypes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"id": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"custom_id": {
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
|
"maxLength": 100
|
||||||
|
},
|
||||||
|
"min_values": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 10
|
||||||
|
},
|
||||||
|
"max_values": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 10
|
||||||
|
},
|
||||||
|
"required": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"type",
|
||||||
|
"custom_id"
|
||||||
|
]
|
||||||
|
},
|
||||||
"FlagToChannelAction": {
|
"FlagToChannelAction": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -24669,28 +24825,6 @@
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
"GuildMFALevelResponse": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"level": {
|
|
||||||
"$ref": "#/components/schemas/GuildMFALevel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"level"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"GuildMFARequest": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"level": {
|
|
||||||
"$ref": "#/components/schemas/GuildMFALevel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"level"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"GuildMemberResponse": {
|
"GuildMemberResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -24951,9 +25085,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"owner_id": {
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
},
|
|
||||||
"splash": {
|
"splash": {
|
||||||
"type": [
|
"type": [
|
||||||
"string",
|
"string",
|
||||||
|
|
@ -26009,6 +26140,32 @@
|
||||||
"serialized_source_guild"
|
"serialized_source_guild"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"GuildTemplateRoleColorsResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"primary_color": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"secondary_color": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"tertiary_color": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"primary_color"
|
||||||
|
]
|
||||||
|
},
|
||||||
"GuildTemplateRoleResponse": {
|
"GuildTemplateRoleResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -26026,6 +26183,16 @@
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
|
"colors": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/GuildTemplateRoleColorsResponse"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"hoist": {
|
"hoist": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
|
@ -27921,6 +28088,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
|
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/FileUploadComponentForModalRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
|
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
|
@ -28158,6 +28328,12 @@
|
||||||
},
|
},
|
||||||
"flags": {
|
"flags": {
|
||||||
"$ref": "#/components/schemas/UInt32Type"
|
"$ref": "#/components/schemas/UInt32Type"
|
||||||
|
},
|
||||||
|
"override_event_webhooks_url": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
@ -28872,6 +29048,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -28957,6 +29134,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -29436,6 +29614,11 @@
|
||||||
"title": "LABEL",
|
"title": "LABEL",
|
||||||
"description": "Label component",
|
"description": "Label component",
|
||||||
"const": 18
|
"const": 18
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "FILE_UPLOAD",
|
||||||
|
"description": "File upload component",
|
||||||
|
"const": 19
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
@ -30797,10 +30980,12 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 45
|
"maxLength": 45
|
||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
|
|
@ -32324,6 +32509,9 @@
|
||||||
},
|
},
|
||||||
"deaf": {
|
"deaf": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"permissions": {
|
||||||
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
@ -33294,6 +33482,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -33372,6 +33561,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -35255,6 +35445,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -35332,6 +35523,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -35695,6 +35887,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -35705,6 +35898,7 @@
|
||||||
"string",
|
"string",
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 45
|
"maxLength": 45
|
||||||
},
|
},
|
||||||
"value": {
|
"value": {
|
||||||
|
|
@ -37484,6 +37678,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
@ -37562,6 +37757,7 @@
|
||||||
},
|
},
|
||||||
"custom_id": {
|
"custom_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
"maxLength": 100
|
"maxLength": 100
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue