diff --git a/assets/openapi.json b/assets/openapi.json
index 39bb18b6..edfae315 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -30,6 +30,122 @@
}
},
"schemas": {
+ "CreateFingerprintResponse": {
+ "type": "object",
+ "properties": {
+ "fingerprint": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "fingerprint"
+ ]
+ },
+ "ApplicationCommandSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "application_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "guild_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "name_localizations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "name_localized": {
+ "type": "string",
+ "nullable": true
+ },
+ "description": {
+ "type": "string"
+ },
+ "description_localizations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "description_localized": {
+ "type": "string",
+ "nullable": true
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApplicationCommandOption"
+ }
+ },
+ "default_member_permissions": {
+ "type": "string",
+ "nullable": true
+ },
+ "dm_permission": {
+ "type": "boolean"
+ },
+ "permissions": {
+ "$ref": "#/components/schemas/ApplicationCommandIndexPermissions"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "integration_types": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApplicationIntegrationType"
+ }
+ },
+ "global_popularity_rank": {
+ "type": "integer"
+ },
+ "contexts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/InteractionContextType"
+ }
+ },
+ "version": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "handler": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ }
+ },
+ "required": [
+ "application_id",
+ "default_member_permissions",
+ "description",
+ "name",
+ "version"
+ ]
+ },
"ConnectedAccountCommonOAuthTokenResponse": {
"type": "object",
"properties": {
@@ -268,6 +384,177 @@
"meta"
]
},
+ "InteractionSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/InteractionType"
+ },
+ "application_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "guild_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "channel_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "message_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "message_flags": {
+ "type": "integer"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "data": {
+ "$ref": "#/components/schemas/InteractionData"
+ },
+ "files": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "analytics_location": {
+ "type": "string"
+ },
+ "section_name": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "application_id",
+ "channel_id",
+ "data",
+ "type"
+ ]
+ },
+ "InteractionCallbackSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/InteractionCallbackType"
+ },
+ "data": {
+ "$ref": "#/components/schemas/Message"
+ }
+ },
+ "required": [
+ "data",
+ "type"
+ ]
+ },
+ "InteractionCreateSchema": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "integer"
+ },
+ "id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "application_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/InteractionType"
+ },
+ "token": {
+ "type": "string"
+ },
+ "data": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "guild": {
+ "$ref": "#/components/schemas/InteractionGuild"
+ },
+ "guild_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "guild_locale": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "channel_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/components/schemas/PublicMember"
+ },
+ "user": {
+ "$ref": "#/components/schemas/PublicUser"
+ },
+ "locale": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/components/schemas/Message"
+ },
+ "app_permissions": {
+ "type": "string"
+ },
+ "entitlements": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
+ },
+ "entitlement_sku_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "authorizing_integration_owners": {
+ "type": "object",
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[0-9]+$": {
+ "type": "string"
+ }
+ }
+ },
+ "context": {
+ "type": "integer"
+ },
+ "attachment_size_limit": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "app_permissions",
+ "application_id",
+ "attachment_size_limit",
+ "id",
+ "token",
+ "type",
+ "version"
+ ]
+ },
"ApplicationCreateSchema": {
"type": "object",
"properties": {
@@ -336,6 +623,128 @@
}
}
},
+ "SendableApplicationCommandDataSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "$ref": "#/components/schemas/Snowflake"
+ },
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Snowflake"
+ },
+ "application_command": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApplicationCommandOption"
+ }
+ },
+ "target_id": {
+ "description": "A container for useful snowflake-related methods.",
+ "$ref": "#/components/schemas/Snowflake"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "version"
+ ]
+ },
+ "SendableMessageComponentDataSchema": {
+ "type": "object",
+ "properties": {
+ "component_type": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "values": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Snowflake"
+ }
+ }
+ ]
+ }
+ },
+ "required": [
+ "custom_id"
+ ]
+ },
+ "SendableModalSubmitDataSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "$ref": "#/components/schemas/Snowflake"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/UploadAttachmentRequestSchema"
+ }
+ }
+ },
+ "required": [
+ "custom_id",
+ "id"
+ ]
+ },
"GuildProfileResponse": {
"type": "object",
"properties": {
@@ -2542,6 +2951,9 @@
"APIPrivateUser": {
"type": "object",
"properties": {
+ "email": {
+ "type": "string"
+ },
"id": {
"description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
"type": "string"
@@ -2549,9 +2961,6 @@
"flags": {
"type": "integer"
},
- "email": {
- "type": "string"
- },
"verified": {
"type": "boolean"
},
@@ -2669,6 +3078,9 @@
"newToken": {
"type": "string"
},
+ "email": {
+ "type": "string"
+ },
"id": {
"description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
"type": "string"
@@ -2676,9 +3088,6 @@
"flags": {
"type": "integer"
},
- "email": {
- "type": "string"
- },
"verified": {
"type": "boolean"
},
@@ -6399,404 +6808,6 @@
"$ref": "#/components/schemas/ApplicationCommandCreateSchema"
}
},
- "ApplicationCommandSchema": {
- "type": "object",
- "properties": {
- "id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "application_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "guild_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "name_localized": {
- "type": "string",
- "nullable": true
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "description_localized": {
- "type": "string",
- "nullable": true
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ApplicationCommandOption"
- }
- },
- "default_member_permissions": {
- "type": "string",
- "nullable": true
- },
- "dm_permission": {
- "type": "boolean"
- },
- "permissions": {
- "$ref": "#/components/schemas/ApplicationCommandIndexPermissions"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ApplicationIntegrationType"
- }
- },
- "global_popularity_rank": {
- "type": "integer"
- },
- "contexts": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/InteractionContextType"
- }
- },
- "version": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "handler": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- }
- },
- "required": [
- "application_id",
- "default_member_permissions",
- "description",
- "name",
- "version"
- ]
- },
- "InteractionSchema": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/components/schemas/InteractionType"
- },
- "application_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "guild_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "channel_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "message_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "message_flags": {
- "type": "integer"
- },
- "session_id": {
- "type": "string"
- },
- "data": {
- "$ref": "#/components/schemas/InteractionData"
- },
- "files": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- }
- },
- "nonce": {
- "type": "string"
- },
- "analytics_location": {
- "type": "string"
- },
- "section_name": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "application_id",
- "channel_id",
- "data",
- "type"
- ]
- },
- "InteractionCallbackSchema": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/components/schemas/InteractionCallbackType"
- },
- "data": {
- "$ref": "#/components/schemas/Message"
- }
- },
- "required": [
- "data",
- "type"
- ]
- },
- "InteractionCreateSchema": {
- "type": "object",
- "properties": {
- "version": {
- "type": "integer"
- },
- "id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "application_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "type": {
- "$ref": "#/components/schemas/InteractionType"
- },
- "token": {
- "type": "string"
- },
- "data": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "guild": {
- "$ref": "#/components/schemas/InteractionGuild"
- },
- "guild_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "guild_locale": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "channel_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "member": {
- "$ref": "#/components/schemas/PublicMember"
- },
- "user": {
- "$ref": "#/components/schemas/PublicUser"
- },
- "locale": {
- "type": "string"
- },
- "message": {
- "$ref": "#/components/schemas/Message"
- },
- "app_permissions": {
- "type": "string"
- },
- "entitlements": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- }
- },
- "entitlement_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "authorizing_integration_owners": {
- "type": "object",
- "additionalProperties": false,
- "patternProperties": {
- "^[0-9]+$": {
- "type": "string"
- }
- }
- },
- "context": {
- "type": "integer"
- },
- "attachment_size_limit": {
- "type": "integer"
- }
- },
- "required": [
- "app_permissions",
- "application_id",
- "attachment_size_limit",
- "id",
- "token",
- "type",
- "version"
- ]
- },
- "SendableApplicationCommandDataSchema": {
- "type": "object",
- "properties": {
- "id": {
- "$ref": "#/components/schemas/Snowflake"
- },
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "version": {
- "$ref": "#/components/schemas/Snowflake"
- },
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ApplicationCommandOption"
- }
- },
- "target_id": {
- "description": "A container for useful snowflake-related methods.",
- "$ref": "#/components/schemas/Snowflake"
- },
- "attachments": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- }
- }
- },
- "required": [
- "id",
- "name",
- "version"
- ]
- },
- "SendableMessageComponentDataSchema": {
- "type": "object",
- "properties": {
- "component_type": {
- "enum": [
- 0,
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "values": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Snowflake"
- }
- }
- ]
- }
- },
- "required": [
- "custom_id"
- ]
- },
- "SendableModalSubmitDataSchema": {
- "type": "object",
- "properties": {
- "id": {
- "$ref": "#/components/schemas/Snowflake"
- },
- "custom_id": {
- "type": "string"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UploadAttachmentRequestSchema"
- }
- }
- },
- "required": [
- "custom_id",
- "id"
- ]
- },
"SessionsLogoutSchema": {
"type": "object",
"properties": {
@@ -6898,460 +6909,43 @@
"user_sessions"
]
},
- "CreateFingerprintResponse": {
- "type": "object",
- "properties": {
- "fingerprint": {
- "type": "string"
- }
- },
- "required": [
- "fingerprint"
- ]
- },
- "ErrorList": {
- "type": "object"
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "type": "number",
- "enum": [
- 0,
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 30
- ]
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string",
- "nullable": true
- },
- "emoji_name": {
- "type": "string",
- "nullable": true
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3
- ]
- },
- "InstanceUserDeleteSchemaContent": {
- "type": "object",
- "properties": {
- "reason": {
- "type": "string"
- },
- "persistInstanceBan": {
- "type": "boolean"
- }
- }
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- }
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer",
- "nullable": true
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer",
- "nullable": true
- },
- "name": {
- "type": "string",
- "nullable": true
- }
- },
- "required": [
- "guild_ids"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
+ "ApplicationCommandOption": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"type": {
- "$ref": "#/components/schemas/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
+ "$ref": "#/components/schemas/ApplicationCommandOptionType"
},
- "session_id": {
- "type": "string"
- }
- },
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "type": "number",
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "id": {
+ "name": {
"type": "string"
},
- "classification_type": {
- "$ref": "#/components/schemas/ClassificationType"
- },
"description": {
"type": "string"
},
- "explainer_link": {
- "type": "string"
+ "required": {
+ "type": "boolean"
},
- "actions": {
+ "choices": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/ClassificationAction"
+ "$ref": "#/components/schemas/ApplicationCommandOptionChoice"
}
},
- "max_expiration_time": {
- "type": "string"
- },
- "flagged_content": {
- "type": "array",
- "items": {}
- },
- "appeal_status": {
- "$ref": "#/components/schemas/AppealStatus"
- },
- "is_coppa": {
- "type": "boolean"
- },
- "is_spam": {
- "type": "boolean"
- },
- "appeal_ingestion_type": {
- "$ref": "#/components/schemas/AppealIngestionType"
- }
- },
- "required": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "type": "number",
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 310,
- 320,
- 390,
- 600,
- 650,
- 711,
- 720,
- 3010,
- 3030,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485
- ]
- },
- "ClassificationAction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "action_type": {
- "$ref": "#/components/schemas/ClassificationActionType"
- },
- "descriptions": {
+ "options": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/ApplicationCommandOption"
}
}
},
"required": [
- "action_type",
- "descriptions",
- "id"
+ "description",
+ "name",
+ "type"
]
},
- "ClassificationActionType": {
+ "ApplicationCommandOptionType": {
"type": "number",
"enum": [
- 0,
1,
2,
3,
@@ -7359,949 +6953,394 @@
5,
6,
7,
- 8,
- 9,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 20,
- 22
- ]
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/components/schemas/AppealStatusValue"
- }
- },
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3
- ]
- },
- "AppealIngestionType": {
- "type": "number",
- "enum": [
- 0,
- 1,
- 2
+ 8
]
},
- "GuildClassification": {
+ "ApplicationCommandOptionChoice": {
"type": "object",
"properties": {
- "guild_metadata": {
- "$ref": "#/components/schemas/GuildMetadata"
- },
- "id": {
- "type": "string"
- },
- "classification_type": {
- "$ref": "#/components/schemas/ClassificationType"
- },
- "description": {
- "type": "string"
- },
- "explainer_link": {
- "type": "string"
- },
- "actions": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ClassificationAction"
- }
- },
- "max_expiration_time": {
+ "name": {
"type": "string"
},
- "flagged_content": {
- "type": "array",
- "items": {}
- },
- "appeal_status": {
- "$ref": "#/components/schemas/AppealStatus"
- },
- "is_coppa": {
- "type": "boolean"
- },
- "is_spam": {
- "type": "boolean"
- },
- "appeal_ingestion_type": {
- "$ref": "#/components/schemas/AppealIngestionType"
+ "value": {
+ "type": [
+ "string",
+ "integer"
+ ]
}
},
"required": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
+ "name",
+ "value"
]
},
- "GuildMetadata": {
+ "ApplicationCommandIndexPermissions": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
+ "user": {
+ "type": "boolean"
},
- "icon": {
- "type": "string"
+ "roles": {
+ "$ref": "#/components/schemas/Record<string,boolean>"
},
- "member_type": {
- "$ref": "#/components/schemas/GuildMemberType"
+ "channels": {
+ "$ref": "#/components/schemas/Record<string,boolean>"
}
- },
- "required": [
- "member_type",
- "name"
- ]
+ }
},
- "GuildMemberType": {
+ "ApplicationIntegrationType": {
"type": "number",
"enum": [
- 1,
- 2
+ 0,
+ 1
]
},
- "AccountStandingState": {
+ "InteractionContextType": {
"type": "number",
"enum": [
- 100,
- 200,
- 300,
- 400,
- 500
+ 0,
+ 1,
+ 2
]
},
- "AppealEligibility": {
+ "ErrorList": {
+ "type": "object"
+ },
+ "InteractionType": {
"type": "number",
"enum": [
1,
2,
- 3
- ]
- },
- "CollectiblesCategoryItem": {
- "type": "object",
- "properties": {
- "sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "store_listing_id": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "unpublished_at": {
- "type": "string",
- "nullable": true
- },
- "styles": {
- "$ref": "#/components/schemas/CollectiblesCategoryStyle"
- },
- "logo": {
- "type": "string"
- },
- "hero_ranking": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "mobile_bg": {
- "type": "string",
- "nullable": true
- },
- "pdp_bg": {
- "type": "string",
- "nullable": true
- },
- "success_modal_bg": {
- "type": "string",
- "nullable": true
- },
- "mobile_banner": {
- "type": "string",
- "nullable": true
- },
- "featured_block": {
- "type": "string",
- "nullable": true
- },
- "hero_banner": {
- "type": "string",
- "nullable": true
- },
- "wide_banner": {
- "type": "string",
- "nullable": true
- },
- "hero_logo": {
- "type": "string",
- "nullable": true
- },
- "products": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CollectiblesCategoryProductItem"
- }
- },
- "banner_asset": {
- "$ref": "#/components/schemas/StaticAnimatedAsset"
- },
- "hero_banner_asset": {
- "$ref": "#/components/schemas/StaticAnimatedAsset"
- }
- },
- "required": [
- "banner",
- "featured_block",
- "hero_banner",
- "hero_logo",
- "hero_ranking",
- "logo",
- "mobile_banner",
- "mobile_bg",
- "name",
- "pdp_bg",
- "products",
- "sku_id",
- "store_listing_id",
- "styles",
- "success_modal_bg",
- "summary",
- "unpublished_at",
- "wide_banner"
+ 3,
+ 4,
+ 5
]
},
- "CollectiblesCategoryStyle": {
+ "InteractionData": {
"type": "object",
"properties": {
- "background_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
+ "application_command": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
},
- "button_colors": {
+ "attachments": {
"type": "array",
"items": {
- "type": "integer"
+ "$ref": "#/components/schemas/UploadAttachmentRequestSchema"
}
},
- "confetti_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "required": [
- "background_colors",
- "button_colors",
- "confetti_colors"
- ]
- },
- "CollectiblesCategoryProductItem": {
- "type": "object",
- "properties": {
- "sku_id": {
+ "id": {
"type": "string"
},
"name": {
"type": "string"
},
- "summary": {
- "type": "string"
- },
- "store_listing_id": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "unpublished_at": {
- "type": "string",
- "nullable": true
- },
- "styles": {
- "$ref": "#/components/schemas/CollectiblesCategoryStyle"
- },
- "prices": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "country_prices": {
- "$ref": "#/components/schemas/CountryPrice"
- }
- },
- "additionalProperties": false,
- "required": [
- "country_prices"
- ]
- }
- },
- "items": {
+ "options": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/ProductItem"
+ "$ref": "#/components/schemas/ApplicationCommandOption"
}
},
"type": {
"type": "integer"
},
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
+ "version": {
"type": "string"
- },
- "google_sku_ids": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ProductItemVariant"
- }
}
},
"required": [
- "banner",
- "category_sku_id",
- "google_sku_ids",
- "items",
+ "application_command",
+ "attachments",
+ "id",
"name",
- "premium_type",
- "prices",
- "sku_id",
- "store_listing_id",
- "styles",
- "summary",
+ "options",
"type",
- "unpublished_at"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PriceEntry"
- }
- }
- },
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "required": [
- "amount",
- "currency",
- "exponent"
+ "version"
]
},
- "ProductItem": {
+ "UploadAttachmentRequest": {
"type": "object",
"properties": {
- "type": {
- "type": "integer"
- },
"id": {
"type": "string"
},
- "sku_id": {
- "type": "string"
- },
- "asset": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "palette": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "sku_id",
- "type"
- ]
- },
- "ProductItemVariant": {
- "type": "object",
- "properties": {
- "sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "type": "null"
- },
- "summary": {
- "type": "string"
- },
- "summary_localizations": {
- "type": "null"
- },
- "store_listing_id": {
- "type": "string"
- },
- "banner": {
+ "filename": {
"type": "string"
},
- "unpublished_at": {
- "type": "string",
- "nullable": true
- },
- "styles": {
- "$ref": "#/components/schemas/CollectiblesCategoryStyle"
- },
- "prices": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "country_prices": {
- "$ref": "#/components/schemas/CountryPrice"
- }
- },
- "additionalProperties": false,
- "required": [
- "country_prices"
- ]
- }
- },
- "items": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ProductItem"
- }
- },
- "type": {
- "type": "integer"
- },
- "premium_type": {
+ "file_size": {
"type": "integer"
},
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "base_variant_sku_id": {
- "type": "string"
- },
- "base_variant_name": {
- "type": "string"
- },
- "variant_label": {
- "type": "string"
+ "is_clip": {
+ "type": "boolean"
},
- "variant_value": {
+ "original_content_type": {
"type": "string"
}
},
"required": [
- "base_variant_name",
- "base_variant_sku_id",
- "category_sku_id",
- "items",
- "name",
- "name_localizations",
- "premium_type",
- "prices",
- "sku_id",
- "store_listing_id",
- "summary",
- "summary_localizations",
- "type",
- "variant_label",
- "variant_value"
+ "file_size",
+ "filename"
]
},
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "string",
- "nullable": true
- },
- "static": {
- "type": "string"
- }
- },
- "required": [
- "animated",
- "static"
+ "InteractionCallbackType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12
]
},
- "CollectiblesMarketingItem": {
+ "Message": {
"type": "object",
"properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
+ "channel_id": {
"type": "string"
- }
- },
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "AnyShopBlock": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/ItemRowShopBlock"
- },
- {
- "$ref": "#/components/schemas/BundleTileRowShopBlock"
},
- {
- "$ref": "#/components/schemas/ItemCollectionShopBlock"
- }
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer",
- "const": 0
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
},
- "category_sku_id": {
+ "guild_id": {
"type": "string"
},
- "name": {
- "type": "string"
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
},
- "category_store_listing_id": {
+ "author_id": {
"type": "string"
},
- "banner_asset": {
- "$ref": "#/components/schemas/StaticAnimatedAsset"
+ "author": {
+ "$ref": "#/components/schemas/User"
},
- "logo_url": {
+ "member_id": {
"type": "string"
},
- "unpublished_at": {
- "type": "string",
- "nullable": true
+ "member": {
+ "$ref": "#/components/schemas/Member"
},
- "summary": {
+ "webhook_id": {
"type": "string"
},
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "banner_asset",
- "category_sku_id",
- "category_store_listing_id",
- "logo_url",
- "name",
- "ranked_sku_ids",
- "summary",
- "type",
- "unpublished_at"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer",
- "const": 1
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ShopBlockSubBlock"
- }
- }
- },
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "category_store_listing_id": {
- "type": "string"
+ "webhook": {
+ "$ref": "#/components/schemas/Webhook"
},
- "name": {
+ "application_id": {
"type": "string"
},
- "unpublished_at": {
- "type": "string",
- "nullable": true
+ "application": {
+ "$ref": "#/components/schemas/Application"
},
- "banner_url": {
+ "content": {
"type": "string"
},
- "body_text": {
+ "timestamp": {
"type": "string",
- "nullable": true
- },
- "banner_text_color": {
- "type": "integer",
- "nullable": true
- }
- },
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer",
- "const": 2
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "format": "date-time"
},
- "sorted_sku_ids": {
- "type": "object",
- "properties": {
- "recommended": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "popular": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "popular",
- "recommended"
- ]
- }
- },
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
+ "edited_timestamp": {
"type": "string",
- "nullable": true
- },
- "afk_channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
+ "format": "date-time"
},
- "member_count": {
- "type": "integer"
+ "tts": {
+ "type": "boolean"
},
- "presence_count": {
- "type": "integer"
+ "mention_everyone": {
+ "type": "boolean"
},
- "members": {
+ "mentions": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Member"
+ "$ref": "#/components/schemas/User"
}
},
- "roles": {
+ "mention_roles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Role"
}
},
- "channels": {
+ "mention_channels": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Channel"
}
},
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/components/schemas/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Emoji"
- }
- },
- "stickers": {
+ "sticker_items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Sticker"
}
},
- "invites": {
+ "attachments": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Invite"
+ "$ref": "#/components/schemas/Attachment"
}
},
- "voice_states": {
+ "embeds": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/VoiceState"
+ "$ref": "#/components/schemas/Embed"
}
},
- "webhooks": {
+ "reactions": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Webhook"
+ "$ref": "#/components/schemas/Reaction"
}
},
- "mfa_level": {
- "type": "integer"
- },
- "name": {
+ "nonce": {
"type": "string"
},
- "owner_id": {
- "type": "string"
+ "pinned_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "owner": {
- "$ref": "#/components/schemas/User"
+ "pinned": {
+ "type": "boolean"
},
- "preferred_locale": {
- "type": "string"
+ "type": {
+ "$ref": "#/components/schemas/MessageType"
},
- "premium_subscription_count": {
- "type": "integer"
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
},
- "premium_tier": {
+ "flags": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string",
- "nullable": true
- },
- "public_updates_channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "rules_channel_id": {
- "type": "string",
- "nullable": true
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string",
- "nullable": true
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
},
- "system_channel": {
- "$ref": "#/components/schemas/Channel"
+ "referenced_message": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/Message"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "system_channel_flags": {
- "type": "integer"
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type"
+ ]
},
- "unavailable": {
- "type": "boolean",
- "default": false
+ "interaction_metadata": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/InteractionType"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "authorizing_integration_owners": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "name": {
+ "type": "string"
+ },
+ "command_type": {
+ "$ref": "#/components/schemas/ApplicationCommandType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "authorizing_integration_owners",
+ "command_type",
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
},
- "verification_level": {
- "type": "integer"
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ActionRowComponent"
+ }
},
- "welcome_screen": {
- "$ref": "#/components/schemas/GuildWelcomeScreen",
- "description": "DEPRECATED: Look at the new Guild onboarding screens."
+ "poll": {
+ "$ref": "#/components/schemas/Poll"
},
- "widget_channel_id": {
+ "username": {
"type": "string"
},
- "widget_channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
+ "avatar": {
"type": "string"
},
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
+ "message_snapshots": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/MessageSnapshot"
}
},
"id": {
@@ -8309,26 +7348,18 @@
}
},
"required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
+ "channel",
+ "embeds",
+ "flags",
"id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "message_snapshots",
+ "pinned",
+ "reactions",
+ "timestamp",
+ "type"
]
},
"Channel": {
@@ -8811,6 +7842,168 @@
"user_id"
]
},
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ]
+ },
"ClientStatus": {
"type": "object",
"properties": {
@@ -8828,6 +8021,16 @@
}
}
},
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
"ExtendedLocationInfo": {
"type": "object",
"properties": {
@@ -9247,389 +8450,308 @@
"view_nsfw_guilds"
]
},
- "SecurityKey": {
+ "CustomStatus": {
"type": "object",
"properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/components/schemas/User"
- },
- "key_id": {
+ "emoji_id": {
"type": "string"
},
- "public_key": {
+ "emoji_name": {
"type": "string"
},
- "counter": {
+ "expires_at": {
"type": "integer"
},
- "name": {
- "type": "string"
- },
- "id": {
+ "text": {
"type": "string"
}
+ }
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
},
"required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
+ "all"
]
},
- "ChannelPermissionOverwrite": {
+ "GuildFolder": {
"type": "object",
"properties": {
- "allow": {
- "type": "string"
+ "color": {
+ "type": "integer",
+ "nullable": true
},
- "deny": {
- "type": "string"
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
"id": {
- "type": "string"
+ "type": "integer",
+ "nullable": true
},
- "type": {
- "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
+ "name": {
+ "type": "string",
+ "nullable": true
}
},
"required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "type": "number",
- "enum": [
- 0,
- 1,
- 2
+ "guild_ids"
]
},
- "Invite": {
+ "SecurityKey": {
"type": "object",
"properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "inviter_id": {
+ "user_id": {
"type": "string"
},
- "inviter": {
+ "user": {
"$ref": "#/components/schemas/User"
},
- "target_user_id": {
+ "key_id": {
"type": "string"
},
- "target_user": {
+ "public_key": {
"type": "string"
},
- "target_user_type": {
+ "counter": {
"type": "integer"
},
- "vanity_url": {
- "type": "boolean"
+ "name": {
+ "type": "string"
},
- "flags": {
- "type": "integer"
+ "id": {
+ "type": "string"
}
},
"required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
]
},
- "Message": {
+ "Guild": {
"type": "object",
"properties": {
- "channel_id": {
- "type": "string"
+ "afk_channel_id": {
+ "type": "string",
+ "nullable": true
},
- "channel": {
+ "afk_channel": {
"$ref": "#/components/schemas/Channel"
},
- "guild_id": {
- "type": "string"
+ "afk_timeout": {
+ "type": "integer"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Ban"
+ }
},
- "author_id": {
+ "banner": {
"type": "string"
},
- "author": {
- "$ref": "#/components/schemas/User"
+ "default_message_notifications": {
+ "type": "integer"
},
- "member_id": {
+ "description": {
"type": "string"
},
- "member": {
- "$ref": "#/components/schemas/Member"
- },
- "webhook_id": {
+ "discovery_splash": {
"type": "string"
},
- "webhook": {
- "$ref": "#/components/schemas/Webhook"
+ "explicit_content_filter": {
+ "type": "integer"
},
- "application_id": {
- "type": "string"
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
},
- "application": {
- "$ref": "#/components/schemas/Application"
+ "primary_category_id": {
+ "type": "string"
},
- "content": {
+ "icon": {
"type": "string"
},
- "timestamp": {
- "type": "string",
- "format": "date-time"
+ "large": {
+ "type": "boolean",
+ "default": false
},
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
+ "max_members": {
+ "type": "integer"
},
- "tts": {
- "type": "boolean"
+ "max_presences": {
+ "type": "integer"
},
- "mention_everyone": {
- "type": "boolean"
+ "max_video_channel_users": {
+ "type": "integer"
},
- "mentions": {
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/User"
+ "$ref": "#/components/schemas/Member"
}
},
- "mention_roles": {
+ "roles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Role"
}
},
- "mention_channels": {
+ "channels": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Channel"
}
},
- "sticker_items": {
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/components/schemas/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Emoji"
+ }
+ },
+ "stickers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Sticker"
}
},
- "attachments": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Attachment"
+ "$ref": "#/components/schemas/Invite"
}
},
- "embeds": {
+ "voice_states": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Embed"
+ "$ref": "#/components/schemas/VoiceState"
}
},
- "reactions": {
+ "webhooks": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Reaction"
+ "$ref": "#/components/schemas/Webhook"
}
},
- "nonce": {
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
"type": "string"
},
- "pinned_at": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time"
- },
- {
- "type": "null"
- }
- ]
+ "owner_id": {
+ "type": "string"
},
- "pinned": {
- "type": "boolean"
+ "owner": {
+ "$ref": "#/components/schemas/User"
},
- "type": {
- "$ref": "#/components/schemas/MessageType"
+ "preferred_locale": {
+ "type": "string"
},
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
+ "premium_subscription_count": {
+ "type": "integer"
},
- "flags": {
+ "premium_tier": {
"type": "integer"
},
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
+ "public_updates_channel_id": {
+ "type": "string",
+ "nullable": true
},
- "referenced_message": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/Message"
- },
- {
- "type": "null"
- }
- ]
+ "public_updates_channel": {
+ "$ref": "#/components/schemas/Channel"
},
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/components/schemas/InteractionType"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
+ "rules_channel_id": {
+ "type": "string",
+ "nullable": true
},
- "interaction_metadata": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/components/schemas/InteractionType"
- },
- "user_id": {
- "type": "string"
- },
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "name": {
- "type": "string"
- },
- "command_type": {
- "$ref": "#/components/schemas/ApplicationCommandType"
- }
- },
- "additionalProperties": false,
- "required": [
- "authorizing_integration_owners",
- "command_type",
- "id",
- "name",
- "type",
- "user_id"
- ]
+ "rules_channel": {
+ "type": "string"
},
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ActionRowComponent"
- }
+ "region": {
+ "type": "string"
},
- "poll": {
- "$ref": "#/components/schemas/Poll"
+ "splash": {
+ "type": "string"
},
- "username": {
+ "system_channel_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "system_channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/components/schemas/GuildWelcomeScreen",
+ "description": "DEPRECATED: Look at the new Guild onboarding screens."
+ },
+ "widget_channel_id": {
"type": "string"
},
- "avatar": {
+ "widget_channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
"type": "string"
},
- "message_snapshots": {
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/MessageSnapshot"
+ "type": "string"
}
},
"id": {
@@ -9637,18 +8759,67 @@
}
},
"required": [
- "channel",
- "embeds",
- "flags",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
"id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "message_snapshots",
- "pinned",
- "reactions",
- "timestamp",
- "type"
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/components/schemas/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "user",
+ "user_id"
]
},
"Member": {
@@ -9961,6 +9132,376 @@
"selected_time_window"
]
},
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/components/schemas/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/components/schemas/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "type": {
+ "$ref": "#/components/schemas/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/components/schemas/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/components/schemas/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2
+ ]
+ },
+ "StickerFormatType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/components/schemas/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "member": {
+ "$ref": "#/components/schemas/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
"Webhook": {
"type": "object",
"properties": {
@@ -10286,105 +9827,127 @@
"read_only"
]
},
- "Sticker": {
+ "GuildWelcomeScreen": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
+ "enabled": {
"type": "boolean"
},
- "tags": {
+ "description": {
"type": "string"
},
- "pack_id": {
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
"type": "string"
},
- "pack": {
- "$ref": "#/components/schemas/StickerPack"
- },
- "guild_id": {
+ "deny": {
"type": "string"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "user_id": {
+ "id": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
- },
"type": {
- "$ref": "#/components/schemas/StickerType"
- },
- "format_type": {
- "$ref": "#/components/schemas/StickerFormatType"
- },
- "id": {
- "type": "string"
+ "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
}
},
"required": [
- "format_type",
+ "allow",
+ "deny",
"id",
- "name",
- "pack",
"type"
]
},
- "StickerPack": {
+ "ChannelPermissionOverwriteType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2
+ ]
+ },
+ "ReadState": {
"type": "object",
"properties": {
- "name": {
+ "channel_id": {
"type": "string"
},
- "description": {
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "user_id": {
"type": "string"
},
- "banner_asset_id": {
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "last_message_id": {
"type": "string"
},
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Sticker"
- }
+ "public_ack": {
+ "type": "string"
},
- "cover_sticker_id": {
+ "notifications_cursor": {
"type": "string"
},
- "cover_sticker": {
- "$ref": "#/components/schemas/Sticker"
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
+ "channel",
+ "channel_id",
"id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "type": "number",
- "enum": [
- 1,
- 2
- ]
- },
- "StickerFormatType": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3,
- 4
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
]
},
"Attachment": {
@@ -10628,16 +10191,6 @@
255
]
},
- "InteractionType": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5
- ]
- },
"ApplicationCommandType": {
"type": "number",
"enum": [
@@ -11127,330 +10680,1128 @@
8
]
},
- "VoiceState": {
+ "InteractionGuild": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "locale": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "features",
+ "id",
+ "locale"
+ ]
+ },
+ "PublicMember": {
"type": "object",
"properties": {
+ "id": {
+ "type": "string"
+ },
"guild_id": {
"type": "string"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "mute": {
+ "type": "boolean"
},
- "channel_id": {
+ "deaf": {
+ "type": "boolean"
+ },
+ "nick": {
"type": "string"
},
- "channel": {
- "$ref": "#/components/schemas/Channel"
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
},
- "user_id": {
+ "pending": {
+ "type": "boolean"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
"type": "string"
},
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
"user": {
- "$ref": "#/components/schemas/User"
+ "$ref": "#/components/schemas/PublicUser"
},
- "member": {
- "$ref": "#/components/schemas/Member"
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild_id",
+ "id",
+ "joined_at",
+ "mute",
+ "pending",
+ "roles",
+ "user"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
},
- "session_id": {
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
"type": "string"
},
- "token": {
+ "banner": {
"type": "string"
},
- "deaf": {
- "type": "boolean"
+ "bio": {
+ "type": "string"
},
- "mute": {
- "type": "boolean"
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
},
- "self_deaf": {
+ "pronouns": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "bot": {
"type": "boolean"
},
- "self_mute": {
+ "premium_type": {
+ "type": "integer"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object"
+ },
+ "GameActivity": {
+ "type": "object",
+ "properties": {
+ "activity_level": {
+ "type": "integer"
+ },
+ "activity_score": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "activity_level",
+ "activity_score"
+ ]
+ },
+ "GuildBadgeType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30
+ ]
+ },
+ "GuildTrait": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "emoji_name": {
+ "type": "string",
+ "nullable": true
+ },
+ "emoji_animated": {
"type": "boolean"
},
- "self_stream": {
+ "label": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "emoji_animated",
+ "emoji_id",
+ "emoji_name",
+ "label",
+ "position"
+ ]
+ },
+ "GuildVisibilityLevel": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3
+ ]
+ },
+ "InstanceUserDeleteSchemaContent": {
+ "type": "object",
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "persistInstanceBan": {
"type": "boolean"
+ }
+ }
+ },
+ "Classification": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "self_video": {
+ "classification_type": {
+ "$ref": "#/components/schemas/ClassificationType"
+ },
+ "description": {
+ "type": "string"
+ },
+ "explainer_link": {
+ "type": "string"
+ },
+ "actions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ClassificationAction"
+ }
+ },
+ "max_expiration_time": {
+ "type": "string"
+ },
+ "flagged_content": {
+ "type": "array",
+ "items": {}
+ },
+ "appeal_status": {
+ "$ref": "#/components/schemas/AppealStatus"
+ },
+ "is_coppa": {
"type": "boolean"
},
- "suppress": {
+ "is_spam": {
"type": "boolean"
},
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
+ "appeal_ingestion_type": {
+ "$ref": "#/components/schemas/AppealIngestionType"
+ }
+ },
+ "required": [
+ "actions",
+ "appeal_ingestion_type",
+ "appeal_status",
+ "classification_type",
+ "description",
+ "explainer_link",
+ "flagged_content",
+ "id",
+ "is_coppa",
+ "is_spam",
+ "max_expiration_time"
+ ]
+ },
+ "ClassificationType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 100,
+ 200,
+ 210,
+ 220,
+ 230,
+ 240,
+ 250,
+ 280,
+ 290,
+ 310,
+ 320,
+ 390,
+ 600,
+ 650,
+ 711,
+ 720,
+ 3010,
+ 3030,
+ 4000,
+ 4010,
+ 4130,
+ 4140,
+ 5010,
+ 5090,
+ 5305,
+ 5411,
+ 5440,
+ 5485
+ ]
+ },
+ "ClassificationAction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "action_type": {
+ "$ref": "#/components/schemas/ClassificationActionType"
+ },
+ "descriptions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "action_type",
+ "descriptions",
+ "id"
+ ]
+ },
+ "ClassificationActionType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 20,
+ 22
+ ]
+ },
+ "AppealStatus": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "$ref": "#/components/schemas/AppealStatusValue"
+ }
+ },
+ "required": [
+ "status"
+ ]
+ },
+ "AppealStatusValue": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3
+ ]
+ },
+ "AppealIngestionType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2
+ ]
+ },
+ "GuildClassification": {
+ "type": "object",
+ "properties": {
+ "guild_metadata": {
+ "$ref": "#/components/schemas/GuildMetadata"
},
"id": {
"type": "string"
+ },
+ "classification_type": {
+ "$ref": "#/components/schemas/ClassificationType"
+ },
+ "description": {
+ "type": "string"
+ },
+ "explainer_link": {
+ "type": "string"
+ },
+ "actions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ClassificationAction"
+ }
+ },
+ "max_expiration_time": {
+ "type": "string"
+ },
+ "flagged_content": {
+ "type": "array",
+ "items": {}
+ },
+ "appeal_status": {
+ "$ref": "#/components/schemas/AppealStatus"
+ },
+ "is_coppa": {
+ "type": "boolean"
+ },
+ "is_spam": {
+ "type": "boolean"
+ },
+ "appeal_ingestion_type": {
+ "$ref": "#/components/schemas/AppealIngestionType"
}
},
"required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
+ "actions",
+ "appeal_ingestion_type",
+ "appeal_status",
+ "classification_type",
+ "description",
+ "explainer_link",
+ "flagged_content",
+ "guild_metadata",
"id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
+ "is_coppa",
+ "is_spam",
+ "max_expiration_time"
]
},
- "ReadState": {
+ "GuildMetadata": {
"type": "object",
"properties": {
- "channel_id": {
+ "name": {
"type": "string"
},
- "channel": {
- "$ref": "#/components/schemas/Channel"
+ "icon": {
+ "type": "string"
},
- "user_id": {
+ "member_type": {
+ "$ref": "#/components/schemas/GuildMemberType"
+ }
+ },
+ "required": [
+ "member_type",
+ "name"
+ ]
+ },
+ "GuildMemberType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2
+ ]
+ },
+ "AccountStandingState": {
+ "type": "number",
+ "enum": [
+ 100,
+ 200,
+ 300,
+ 400,
+ 500
+ ]
+ },
+ "AppealEligibility": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3
+ ]
+ },
+ "CollectiblesCategoryItem": {
+ "type": "object",
+ "properties": {
+ "sku_id": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "name": {
+ "type": "string"
},
- "last_message_id": {
+ "summary": {
"type": "string"
},
- "public_ack": {
+ "store_listing_id": {
"type": "string"
},
- "notifications_cursor": {
+ "banner": {
"type": "string"
},
- "last_pin_timestamp": {
+ "unpublished_at": {
"type": "string",
- "format": "date-time"
+ "nullable": true
},
- "mention_count": {
+ "styles": {
+ "$ref": "#/components/schemas/CollectiblesCategoryStyle"
+ },
+ "logo": {
+ "type": "string"
+ },
+ "hero_ranking": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "mobile_bg": {
+ "type": "string",
+ "nullable": true
+ },
+ "pdp_bg": {
+ "type": "string",
+ "nullable": true
+ },
+ "success_modal_bg": {
+ "type": "string",
+ "nullable": true
+ },
+ "mobile_banner": {
+ "type": "string",
+ "nullable": true
+ },
+ "featured_block": {
+ "type": "string",
+ "nullable": true
+ },
+ "hero_banner": {
+ "type": "string",
+ "nullable": true
+ },
+ "wide_banner": {
+ "type": "string",
+ "nullable": true
+ },
+ "hero_logo": {
+ "type": "string",
+ "nullable": true
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CollectiblesCategoryProductItem"
+ }
+ },
+ "banner_asset": {
+ "$ref": "#/components/schemas/StaticAnimatedAsset"
+ },
+ "hero_banner_asset": {
+ "$ref": "#/components/schemas/StaticAnimatedAsset"
+ }
+ },
+ "required": [
+ "banner",
+ "featured_block",
+ "hero_banner",
+ "hero_logo",
+ "hero_ranking",
+ "logo",
+ "mobile_banner",
+ "mobile_bg",
+ "name",
+ "pdp_bg",
+ "products",
+ "sku_id",
+ "store_listing_id",
+ "styles",
+ "success_modal_bg",
+ "summary",
+ "unpublished_at",
+ "wide_banner"
+ ]
+ },
+ "CollectiblesCategoryStyle": {
+ "type": "object",
+ "properties": {
+ "background_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "button_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "confetti_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "required": [
+ "background_colors",
+ "button_colors",
+ "confetti_colors"
+ ]
+ },
+ "CollectiblesCategoryProductItem": {
+ "type": "object",
+ "properties": {
+ "sku_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "store_listing_id": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unpublished_at": {
+ "type": "string",
+ "nullable": true
+ },
+ "styles": {
+ "$ref": "#/components/schemas/CollectiblesCategoryStyle"
+ },
+ "prices": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "country_prices": {
+ "$ref": "#/components/schemas/CountryPrice"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "country_prices"
+ ]
+ }
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ProductItem"
+ }
+ },
+ "type": {
"type": "integer"
},
- "manual": {
- "type": "boolean"
+ "premium_type": {
+ "type": "integer"
},
- "id": {
+ "category_sku_id": {
"type": "string"
+ },
+ "google_sku_ids": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "variants": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ProductItemVariant"
+ }
}
},
"required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
+ "banner",
+ "category_sku_id",
+ "google_sku_ids",
+ "items",
+ "name",
+ "premium_type",
+ "prices",
+ "sku_id",
+ "store_listing_id",
+ "styles",
+ "summary",
+ "type",
+ "unpublished_at"
]
},
- "Ban": {
+ "CountryPrice": {
"type": "object",
"properties": {
- "user_id": {
+ "country_code": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "prices": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PriceEntry"
+ }
+ }
+ },
+ "required": [
+ "country_code",
+ "prices"
+ ]
+ },
+ "PriceEntry": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "integer"
},
- "guild_id": {
+ "currency": {
"type": "string"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "exponent": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "exponent"
+ ]
+ },
+ "ProductItem": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
},
- "executor_id": {
+ "id": {
"type": "string"
},
- "executor": {
- "$ref": "#/components/schemas/User"
+ "sku_id": {
+ "type": "string"
},
- "ip": {
+ "asset": {
"type": "string"
},
- "reason": {
+ "label": {
"type": "string"
},
- "id": {
+ "palette": {
"type": "string"
}
},
"required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
"id",
- "user",
- "user_id"
+ "sku_id",
+ "type"
]
},
- "Template": {
+ "ProductItemVariant": {
"type": "object",
"properties": {
- "code": {
+ "sku_id": {
"type": "string"
},
"name": {
"type": "string"
},
- "description": {
+ "name_localizations": {
+ "type": "null"
+ },
+ "summary": {
"type": "string"
},
- "usage_count": {
- "type": "integer"
+ "summary_localizations": {
+ "type": "null"
},
- "creator_id": {
+ "store_listing_id": {
"type": "string"
},
- "creator": {
- "$ref": "#/components/schemas/User"
+ "banner": {
+ "type": "string"
},
- "created_at": {
+ "unpublished_at": {
"type": "string",
- "format": "date-time"
+ "nullable": true
},
- "updated_at": {
- "type": "string",
- "format": "date-time"
+ "styles": {
+ "$ref": "#/components/schemas/CollectiblesCategoryStyle"
},
- "source_guild_id": {
+ "prices": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "country_prices": {
+ "$ref": "#/components/schemas/CountryPrice"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "country_prices"
+ ]
+ }
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ProductItem"
+ }
+ },
+ "type": {
+ "type": "integer"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "category_sku_id": {
"type": "string"
},
- "source_guild": {
- "$ref": "#/components/schemas/Guild"
+ "google_sku_ids": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
},
- "serialized_source_guild": {
- "$ref": "#/components/schemas/Guild"
+ "base_variant_sku_id": {
+ "type": "string"
},
- "id": {
+ "base_variant_name": {
+ "type": "string"
+ },
+ "variant_label": {
+ "type": "string"
+ },
+ "variant_value": {
"type": "string"
}
},
"required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
+ "base_variant_name",
+ "base_variant_sku_id",
+ "category_sku_id",
+ "items",
"name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
+ "name_localizations",
+ "premium_type",
+ "prices",
+ "sku_id",
+ "store_listing_id",
+ "summary",
+ "summary_localizations",
+ "type",
+ "variant_label",
+ "variant_value"
]
},
- "Emoji": {
+ "StaticAnimatedAsset": {
"type": "object",
"properties": {
"animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
+ "type": "string",
+ "nullable": true
},
- "guild_id": {
+ "static": {
"type": "string"
+ }
+ },
+ "required": [
+ "animated",
+ "static"
+ ]
+ },
+ "CollectiblesMarketingItem": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "version": {
+ "type": "integer"
},
- "user_id": {
+ "title": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "body": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "body",
+ "title",
+ "type",
+ "version"
+ ]
+ },
+ "AnyShopBlock": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ItemRowShopBlock"
},
- "managed": {
- "type": "boolean"
+ {
+ "$ref": "#/components/schemas/BundleTileRowShopBlock"
+ },
+ {
+ "$ref": "#/components/schemas/ItemCollectionShopBlock"
+ }
+ ]
+ },
+ "ItemRowShopBlock": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer",
+ "const": 0
+ },
+ "category_sku_id": {
+ "type": "string"
},
"name": {
"type": "string"
},
- "require_colons": {
- "type": "boolean"
+ "category_store_listing_id": {
+ "type": "string"
},
- "roles": {
+ "banner_asset": {
+ "$ref": "#/components/schemas/StaticAnimatedAsset"
+ },
+ "logo_url": {
+ "type": "string"
+ },
+ "unpublished_at": {
+ "type": "string",
+ "nullable": true
+ },
+ "summary": {
+ "type": "string"
+ },
+ "ranked_sku_ids": {
"type": "array",
"items": {
"type": "string"
}
+ }
+ },
+ "required": [
+ "banner_asset",
+ "category_sku_id",
+ "category_store_listing_id",
+ "logo_url",
+ "name",
+ "ranked_sku_ids",
+ "summary",
+ "type",
+ "unpublished_at"
+ ]
+ },
+ "BundleTileRowShopBlock": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer",
+ "const": 1
},
- "groups": {
+ "subblocks": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/ShopBlockSubBlock"
}
+ }
+ },
+ "required": [
+ "subblocks",
+ "type"
+ ]
+ },
+ "ShopBlockSubBlock": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
},
- "id": {
+ "category_store_listing_id": {
"type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "unpublished_at": {
+ "type": "string",
+ "nullable": true
+ },
+ "banner_url": {
+ "type": "string"
+ },
+ "body_text": {
+ "type": "string",
+ "nullable": true
+ },
+ "banner_text_color": {
+ "type": "integer",
+ "nullable": true
}
},
"required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
+ "banner_text_color",
+ "banner_url",
+ "body_text",
+ "category_store_listing_id",
"name",
- "require_colons",
- "roles",
- "user",
- "user_id"
+ "type",
+ "unpublished_at"
]
},
- "GuildWelcomeScreen": {
+ "ItemCollectionShopBlock": {
"type": "object",
"properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
+ "type": {
+ "type": "integer",
+ "const": 2
},
- "welcome_channels": {
+ "ranked_sku_ids": {
"type": "array",
"items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
+ "type": "string"
+ }
+ },
+ "sorted_sku_ids": {
+ "type": "object",
+ "properties": {
+ "recommended": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "popular": {
+ "type": "array",
+ "items": {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "popular",
+ "recommended"
+ ]
}
},
"required": [
- "description",
- "enabled",
- "welcome_channels"
+ "ranked_sku_ids",
+ "sorted_sku_ids",
+ "type"
]
},
"PartialMessage": {
@@ -11866,71 +12217,6 @@
"type"
]
},
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
"GuildVanityUrl": {
"type": "object",
"properties": {
@@ -11957,10 +12243,6 @@
"code"
]
},
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object"
- },
"HubDirectoryEntry": {
"type": "object",
"properties": {
@@ -12033,7 +12315,7 @@
"length": {
"type": "integer"
},
- "__@unscopables@686": {
+ "__@unscopables@700": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
@@ -12162,17 +12444,17 @@
"remove": {
"type": "boolean"
},
- "__@iterator@653": {
+ "__@iterator@698": {
"type": "boolean"
},
- "__@unscopables@686": {
+ "__@unscopables@700": {
"type": "boolean"
}
}
}
},
"required": [
- "__@unscopables@686",
+ "__@unscopables@700",
"length"
]
},
@@ -12652,87 +12934,6 @@
"bio"
]
},
- "PublicMember": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "mute": {
- "type": "boolean"
- },
- "deaf": {
- "type": "boolean"
- },
- "nick": {
- "type": "string"
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "pending": {
- "type": "boolean"
- },
- "premium_since": {
- "type": "integer"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time"
- },
- {
- "type": "null"
- }
- ]
- },
- "user": {
- "$ref": "#/components/schemas/PublicUser"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild_id",
- "id",
- "joined_at",
- "mute",
- "pending",
- "roles",
- "user"
- ]
- },
"PublicMemberProfile": {
"type": "object",
"properties": {
@@ -12808,207 +13009,6 @@
"type": "boolean"
}
}
- },
- "UploadAttachmentRequest": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- },
- "file_size": {
- "type": "integer"
- },
- "is_clip": {
- "type": "boolean"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "required": [
- "file_size",
- "filename"
- ]
- },
- "ApplicationCommandOption": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/components/schemas/ApplicationCommandOptionType"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "required": {
- "type": "boolean"
- },
- "choices": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ApplicationCommandOptionChoice"
- }
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ApplicationCommandOption"
- }
- }
- },
- "required": [
- "description",
- "name",
- "type"
- ]
- },
- "ApplicationCommandOptionType": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8
- ]
- },
- "ApplicationCommandOptionChoice": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": [
- "string",
- "integer"
- ]
- }
- },
- "required": [
- "name",
- "value"
- ]
- },
- "ApplicationIntegrationType": {
- "type": "number",
- "enum": [
- 0,
- 1
- ]
- },
- "InteractionContextType": {
- "type": "number",
- "enum": [
- 0,
- 1,
- 2
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/components/schemas/Record<string,boolean>"
- },
- "channels": {
- "$ref": "#/components/schemas/Record<string,boolean>"
- }
- }
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UploadAttachmentRequestSchema"
- }
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ApplicationCommandOption"
- }
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "InteractionCallbackType": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9,
- 10,
- 11,
- 12
- ]
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "required": [
- "features",
- "id",
- "locale"
- ]
}
}
},
@@ -13327,6 +13327,198 @@
"tags": [
"webhooks"
]
+ },
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WebhookExecuteSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "webhook_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "webhook_id"
+ },
+ {
+ "name": "token",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "token"
+ },
+ {
+ "name": "wait",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean"
+ },
+ "description": "waits for server confirmation of message send before response, and returns the created message body"
+ },
+ {
+ "name": "thread_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Send a message to the specified thread within a webhook's channel."
+ }
+ ],
+ "tags": [
+ "webhooks"
+ ]
+ },
+ "delete": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "webhook_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "webhook_id"
+ },
+ {
+ "name": "token",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "token"
+ }
+ ],
+ "tags": [
+ "webhooks"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WebhookUpdateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Message"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "webhook_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "webhook_id"
+ },
+ {
+ "name": "token",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "token"
+ }
+ ],
+ "tags": [
+ "webhooks"
+ ]
}
},
"/webhooks/{webhook_id}/{token}/github/": {
@@ -13431,7 +13623,7 @@
]
}
},
- "/users/@me/mentions": {
+ "/users/@me/settings/": {
"get": {
"security": [
{
@@ -13444,7 +13636,59 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MessageListResponse"
+ "$ref": "#/components/schemas/UserSettings"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserSettingsUpdateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserSettings"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -13777,7 +14021,7 @@
]
}
},
- "/users/@me/mfa/webauthn/credentials/": {
+ "/users/@me/relationships/": {
"get": {
"security": [
{
@@ -13785,42 +14029,17 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "users"
- ]
- },
- "post": {
- "security": [
- {
- "bearer": []
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WebAuthnPostSchema"
- }
- }
- }
- },
- "responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WebAuthnCreateResponse"
+ "$ref": "#/components/schemas/UserRelationshipsResponse"
}
}
}
},
- "400": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -13834,37 +14053,7 @@
"tags": [
"users"
]
- }
- },
- "/users/@me/mfa/webauthn/credentials/{key_id}/": {
- "delete": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
- }
- },
- "parameters": [
- {
- "name": "key_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "key_id"
- }
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/mfa/totp/enable/": {
+ },
"post": {
"security": [
{
@@ -13876,21 +14065,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TotpEnableSchema"
+ "$ref": "#/components/schemas/RelationshipPostSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenWithBackupCodesResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -13918,8 +14100,8 @@
]
}
},
- "/users/@me/mfa/totp/disable/": {
- "post": {
+ "/users/@me/relationships/{user_id}": {
+ "put": {
"security": [
{
"bearer": []
@@ -13930,23 +14112,26 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TotpDisableSchema"
+ "$ref": "#/components/schemas/RelationshipPutSchema"
}
}
}
},
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TokenOnlyResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
},
- "400": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -13957,40 +14142,40 @@
}
}
},
+ "parameters": [
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
"tags": [
"users"
]
- }
- },
- "/users/@me/mfa/codes/": {
- "post": {
+ },
+ "patch": {
"security": [
{
"bearer": []
}
],
- "description": "This route is replaced with users/@me/mfa/codes-verification in newer clients",
- "deprecated": true,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MfaCodesSchema"
+ "$ref": "#/components/schemas/RelationshipPatchSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIBackupCodeArray"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -14013,38 +14198,30 @@
}
}
},
+ "parameters": [
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
"tags": [
"users"
]
- }
- },
- "/users/@me/mfa/codes-verification/": {
- "post": {
+ },
+ "delete": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CodesVerificationSchema"
- }
- }
- }
- },
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIBackupCodeArray"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -14067,84 +14244,36 @@
}
}
},
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/guilds/premium/subscription-slots/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/guilds/{guild_id}/settings/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "No description available"
- },
- "404": {
- "description": "No description available"
- }
- },
"parameters": [
{
- "name": "guild_id",
+ "name": "user_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "user_id"
}
],
"tags": [
"users"
]
- },
- "patch": {
+ }
+ },
+ "/users/@me/notes/{user_id}": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserGuildSettingsSchema"
- }
- }
- }
- },
"responses": {
"200": {
- "description": "No description available"
- },
- "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/UserNoteResponse"
}
}
}
@@ -14162,39 +14291,20 @@
},
"parameters": [
{
- "name": "guild_id",
+ "name": "user_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
- }
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/connections/": {
- "get": {
- "security": [
- {
- "bearer": []
+ "description": "user_id"
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
"users"
]
- }
- },
- "/users/@me/connections/{connection_name}/{connection_id}/": {
- "patch": {
+ },
+ "put": {
"security": [
{
"bearer": []
@@ -14205,148 +14315,43 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ConnectionUpdateSchema"
+ "$ref": "#/components/schemas/UserNoteUpdateSchema"
}
}
}
},
"responses": {
- "default": {
+ "204": {
"description": "No description available"
- }
- },
- "parameters": [
- {
- "name": "connection_name",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "connection_name"
},
- {
- "name": "connection_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "connection_id"
- }
- ],
- "tags": [
- "users"
- ]
- },
- "delete": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "parameters": [
- {
- "name": "connection_name",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "connection_name"
- },
- {
- "name": "connection_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "connection_id"
- }
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/connections/{connection_name}/{connection_id}/access-token/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
{
- "name": "connection_name",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "connection_name"
- },
- {
- "name": "connection_id",
+ "name": "user_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "connection_id"
- }
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/billing/location-info/": {
- "get": {
- "security": [
- {
- "bearer": []
+ "description": "user_id"
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
"users"
]
}
},
- "/users/@me/billing/subscriptions/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/billing/payment-sources/": {
+ "/users/@me/mfa/webauthn/credentials/": {
"get": {
"security": [
{
@@ -14368,106 +14373,36 @@
"bearer": []
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/billing/payment-sources/{payment_source_id}": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "parameters": [
- {
- "name": "payment_source_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "payment_source_id"
- }
- ],
- "tags": [
- "users"
- ]
- },
- "patch": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "parameters": [
- {
- "name": "payment_source_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "payment_source_id"
- }
- ],
- "tags": [
- "users"
- ]
- },
- "delete": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WebAuthnPostSchema"
+ }
+ }
}
},
- "parameters": [
- {
- "name": "payment_source_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "payment_source_id"
- }
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/billing/country-code/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WebAuthnCreateResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"tags": [
@@ -14475,119 +14410,36 @@
]
}
},
- "/users/@me/applications/{application_id}/entitlements/": {
- "get": {
+ "/users/@me/mfa/webauthn/credentials/{key_id}/": {
+ "delete": {
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
+ "204": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "application_id",
+ "name": "key_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "application_id"
- }
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/affinities/users/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/affinities/guilds/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/activities/statistics/applications/": {
- "get": {
- "security": [
- {
- "bearer": []
+ "description": "key_id"
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
"users"
]
}
},
- "/users/@me/settings/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserSettings"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "tags": [
- "users"
- ]
- },
- "patch": {
+ "/users/@me/mfa/totp/enable/": {
+ "post": {
"security": [
{
"bearer": []
@@ -14598,7 +14450,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserSettingsUpdateSchema"
+ "$ref": "#/components/schemas/TotpEnableSchema"
}
}
}
@@ -14609,7 +14461,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserSettings"
+ "$ref": "#/components/schemas/TokenWithBackupCodesResponse"
}
}
}
@@ -14640,39 +14492,7 @@
]
}
},
- "/users/@me/relationships/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserRelationshipsResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "tags": [
- "users"
- ]
- },
+ "/users/@me/mfa/totp/disable/": {
"post": {
"security": [
{
@@ -14684,26 +14504,23 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RelationshipPostSchema"
+ "$ref": "#/components/schemas/TotpDisableSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/TokenOnlyResponse"
}
}
}
},
- "404": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -14719,26 +14536,35 @@
]
}
},
- "/users/@me/relationships/{user_id}": {
- "put": {
+ "/users/@me/mfa/codes/": {
+ "post": {
"security": [
{
"bearer": []
}
],
+ "description": "This route is replaced with users/@me/mfa/codes-verification in newer clients",
+ "deprecated": true,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RelationshipPutSchema"
+ "$ref": "#/components/schemas/MfaCodesSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIBackupCodeArray"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -14761,22 +14587,13 @@
}
}
},
- "parameters": [
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
- }
- ],
"tags": [
"users"
]
- },
- "patch": {
+ }
+ },
+ "/users/@me/mfa/codes-verification/": {
+ "post": {
"security": [
{
"bearer": []
@@ -14787,61 +14604,22 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RelationshipPatchSchema"
+ "$ref": "#/components/schemas/CodesVerificationSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIBackupCodeArray"
}
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "parameters": [
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
- }
- ],
- "tags": [
- "users"
- ]
- },
- "delete": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
- },
"400": {
"description": "",
"content": {
@@ -14863,23 +14641,12 @@
}
}
},
- "parameters": [
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
- }
- ],
"tags": [
"users"
]
}
},
- "/users/@me/notes/{user_id}": {
+ "/users/@me/mentions": {
"get": {
"security": [
{
@@ -14892,7 +14659,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserNoteResponse"
+ "$ref": "#/components/schemas/MessageListResponse"
}
}
}
@@ -14908,63 +14675,6 @@
}
}
},
- "parameters": [
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
- }
- ],
- "tags": [
- "users"
- ]
- },
- "put": {
- "security": [
- {
- "bearer": []
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserNoteUpdateSchema"
- }
- }
- }
- },
- "responses": {
- "204": {
- "description": "No description available"
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "parameters": [
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
- }
- ],
"tags": [
"users"
]
@@ -15135,6 +14845,110 @@
]
}
},
+ "/users/@me/guilds/premium/subscription-slots/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/guilds/{guild_id}/settings/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserGuildSettingsSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "No description available"
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
"/users/@me/entitlements/gifts": {
"get": {
"security": [
@@ -15260,6 +15074,142 @@
]
}
},
+ "/users/@me/connections/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/connections/{connection_name}/{connection_id}/": {
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConnectionUpdateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "connection_name",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "connection_name"
+ },
+ {
+ "name": "connection_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "connection_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "delete": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "connection_name",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "connection_name"
+ },
+ {
+ "name": "connection_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "connection_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/connections/{connection_name}/{connection_id}/access-token/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "connection_name",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "connection_name"
+ },
+ {
+ "name": "connection_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "connection_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
"/users/@me/collectibles-purchases/": {
"get": {
"security": [
@@ -15403,6 +15353,248 @@
]
}
},
+ "/users/@me/billing/subscriptions/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/billing/payment-sources/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ },
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/billing/payment-sources/{payment_source_id}": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "payment_source_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "payment_source_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "payment_source_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "payment_source_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "delete": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "payment_source_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "payment_source_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/billing/location-info/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/billing/country-code/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/applications/{application_id}/entitlements/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/affinities/users/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/affinities/guilds/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/activities/statistics/applications/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
"/users/{user_id}/relationships/": {
"get": {
"security": [
@@ -15658,7 +15850,130 @@
]
}
},
- "/store/published-listings/skus/{sku_id}/subscription-plans/": {
+ "/updates/": {
+ "get": {
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdatesResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "updates"
+ ]
+ }
+ },
+ "/track/": {
+ "post": {
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "track"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/teams/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TeamListResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "include_payout_account_status",
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ },
+ "description": "Whether to include team payout account status in the response (default false)"
+ }
+ ],
+ "tags": [
+ "teams"
+ ]
+ },
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TeamCreateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "teams"
+ ]
+ }
+ },
+ "/store/published-listings/skus/{sku_id}": {
"get": {
"security": [
{
@@ -15686,7 +16001,7 @@
]
}
},
- "/store/published-listings/applications/{application_id}/subscription-plans/": {
+ "/store/published-listings/skus/{sku_id}/subscription-plans/": {
"get": {
"security": [
{
@@ -15700,13 +16015,13 @@
},
"parameters": [
{
- "name": "application_id",
+ "name": "sku_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "application_id"
+ "description": "sku_id"
}
],
"tags": [
@@ -15714,7 +16029,7 @@
]
}
},
- "/store/published-listings/applications/{application_id}/": {
+ "/store/published-listings/applications/{application_id}/subscription-plans/": {
"get": {
"security": [
{
@@ -15742,7 +16057,7 @@
]
}
},
- "/store/published-listings/skus/{sku_id}": {
+ "/store/published-listings/applications/{application_id}/": {
"get": {
"security": [
{
@@ -15756,13 +16071,13 @@
},
"parameters": [
{
- "name": "sku_id",
+ "name": "application_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "sku_id"
+ "description": "application_id"
}
],
"tags": [
@@ -15770,6 +16085,34 @@
]
}
},
+ "/stop/": {
+ "post": {
+ "x-right-required": "OPERATOR",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "No description available"
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "stop"
+ ]
+ }
+ },
"/stickers/{sticker_id}/": {
"get": {
"security": [
@@ -15829,6 +16172,35 @@
]
}
},
+ "/stage-instances/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "stage-instances"
+ ]
+ }
+ },
+ "/science/": {
+ "post": {
+ "responses": {
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "science"
+ ]
+ }
+ },
"/scheduled-maintenances/upcoming.json/": {
"get": {
"responses": {
@@ -15985,6 +16357,46 @@
]
}
},
+ "/policies/stats/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InstanceStatsResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "policies"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
"/policies/instance/limits/": {
"get": {
"responses": {
@@ -16085,37 +16497,22 @@
]
}
},
- "/policies/stats/": {
+ "/ping/": {
"get": {
- "security": [
- {
- "bearer": []
- }
- ],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/InstanceStatsResponse"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/InstancePingResponse"
}
}
}
}
},
"tags": [
- "policies"
+ "ping"
],
"x-badges": [
{
@@ -16153,7 +16550,7 @@
]
}
},
- "/oauth2/applications/@me/": {
+ "/outbound-promotions/": {
"get": {
"security": [
{
@@ -16161,19 +16558,12 @@
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Application"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"tags": [
- "oauth2"
+ "outbound-promotions"
]
}
},
@@ -16311,6 +16701,30 @@
]
}
},
+ "/oauth2/applications/@me/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Application"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "oauth2"
+ ]
+ }
+ },
"/invites/{invite_code}": {
"get": {
"responses": {
@@ -16522,6 +16936,50 @@
]
}
},
+ "/hub-waitlist/signup": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HubWaitlistSignupSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HubWaitlistSignupResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "hub-waitlist"
+ ]
+ }
+ },
"/guilds/templates/{template_code}": {
"get": {
"security": [
@@ -16613,8 +17071,9 @@
]
}
},
- "/guilds/automations/email-domain-lookup/": {
+ "/guilds/": {
"post": {
+ "x-right-required": "CREATE_GUILDS",
"security": [
{
"bearer": []
@@ -16625,18 +17084,18 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmailDomainLookupSchema"
+ "$ref": "#/components/schemas/GuildCreateSchema"
}
}
}
},
"responses": {
- "200": {
+ "201": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmailDomainLookupResponse"
+ "$ref": "#/components/schemas/GuildCreateResponse"
}
}
}
@@ -16650,32 +17109,8 @@
}
}
}
- }
- },
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/automations/email-domain-lookup/verify-code": {
- "post": {
- "security": [
- {
- "bearer": []
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/EmailDomainLookupVerifyCodeSchema"
- }
- }
- }
- },
- "responses": {
- "400": {
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -16684,9 +17119,6 @@
}
}
}
- },
- "501": {
- "description": "No description available"
}
},
"tags": [
@@ -16694,9 +17126,8 @@
]
}
},
- "/guilds/": {
+ "/guilds/automations/email-domain-lookup/": {
"post": {
- "x-right-required": "CREATE_GUILDS",
"security": [
{
"bearer": []
@@ -16707,18 +17138,18 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildCreateSchema"
+ "$ref": "#/components/schemas/EmailDomainLookupSchema"
}
}
}
},
"responses": {
- "201": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildCreateResponse"
+ "$ref": "#/components/schemas/EmailDomainLookupResponse"
}
}
}
@@ -16732,16 +17163,6 @@
}
}
}
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"tags": [
@@ -16749,61 +17170,52 @@
]
}
},
- "/guilds/{guild_id}/force-recount/": {
+ "/guilds/automations/email-domain-lookup/verify-code": {
"post": {
- "x-right-required": "MANAGE_GUILDS",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/EmailDomainLookupVerifyCodeSchema"
+ }
+ }
+ }
+ },
"responses": {
- "200": {
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIGuild"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
+ },
+ "501": {
+ "description": "No description available"
}
},
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- }
- ],
"tags": [
"guilds"
]
}
},
- "/guilds/{guild_id}/voice-states/{user_id}/": {
- "patch": {
+ "/guilds/{guild_id}/widget.png/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VoiceStateUpdateSchema"
- }
- }
- }
- },
"responses": {
- "204": {
+ "200": {
"description": "No description available"
},
"400": {
@@ -16816,16 +17228,6 @@
}
}
},
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
"404": {
"description": "",
"content": {
@@ -16846,15 +17248,6 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
}
],
"tags": [
@@ -16862,7 +17255,7 @@
]
}
},
- "/guilds/{guild_id}/roles/member-counts/": {
+ "/guilds/{guild_id}/widget.json/": {
"get": {
"security": [
{
@@ -16870,8 +17263,25 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GuildWidgetJsonResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -16890,7 +17300,7 @@
]
}
},
- "/guilds/{guild_id}/roles/": {
+ "/guilds/{guild_id}/widget/": {
"get": {
"security": [
{
@@ -16898,8 +17308,25 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GuildWidgetSettingsResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -16917,8 +17344,8 @@
"guilds"
]
},
- "post": {
- "x-permission-required": "MANAGE_ROLES",
+ "patch": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -16929,7 +17356,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RoleModifySchema"
+ "$ref": "#/components/schemas/WidgetModifySchema"
}
}
}
@@ -16940,7 +17367,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Role"
+ "$ref": "#/components/schemas/WidgetModifySchema"
}
}
}
@@ -16980,46 +17407,27 @@
"tags": [
"guilds"
]
- },
- "patch": {
- "x-permission-required": "MANAGE_ROLES",
+ }
+ },
+ "/guilds/{guild_id}/welcome-screen/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RolePositionUpdateSchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIRoleArray"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildWelcomeScreen"
}
}
}
},
- "403": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -17044,19 +17452,47 @@
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/roles/{role_id}/members/": {
+ },
"patch": {
- "x-permission-required": "MANAGE_ROLES",
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GuildUpdateWelcomeScreenSchema"
+ }
+ }
+ }
+ },
"responses": {
- "default": {
+ "204": {
"description": "No description available"
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -17068,15 +17504,6 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "role_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "role_id"
}
],
"tags": [
@@ -17084,16 +17511,25 @@
]
}
},
- "/guilds/{guild_id}/roles/{role_id}/member-ids/": {
+ "/guilds/{guild_id}/webhooks/": {
"get": {
+ "x-permission-required": "MANAGE_WEBHOOKS",
"security": [
{
"bearer": []
}
],
+ "description": "Returns a list of guild webhook objects. Requires the MANAGE_WEBHOOKS permission.",
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIWebhookArray"
+ }
+ }
+ }
}
},
"parameters": [
@@ -17105,15 +17541,6 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "role_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "role_id"
}
],
"tags": [
@@ -17121,20 +17548,33 @@
]
}
},
- "/guilds/{guild_id}/roles/{role_id}/": {
- "get": {
+ "/guilds/{guild_id}/voice-states/{user_id}/": {
+ "patch": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VoiceStateUpdateSchema"
+ }
+ }
+ }
+ },
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Role"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -17171,36 +17611,35 @@
"description": "guild_id"
},
{
- "name": "role_id",
+ "name": "user_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "role_id"
+ "description": "user_id"
}
],
"tags": [
"guilds"
]
- },
- "delete": {
- "x-permission-required": "MANAGE_ROLES",
+ }
+ },
+ "/guilds/{guild_id}/vanity-url/": {
+ "get": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildVanityUrlResponse"
}
}
}
@@ -17235,15 +17674,6 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "role_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "role_id"
}
],
"tags": [
@@ -17251,7 +17681,7 @@
]
},
"patch": {
- "x-permission-required": "MANAGE_ROLES",
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -17262,7 +17692,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RoleModifySchema"
+ "$ref": "#/components/schemas/VanityUrlSchema"
}
}
}
@@ -17273,17 +17703,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Role"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildVanityUrlCreateResponse"
}
}
}
@@ -17318,24 +17738,49 @@
"type": "string"
},
"description": "guild_id"
- },
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ }
+ },
+ "/guilds/{guild_id}/templates/": {
+ "get": {
+ "security": [
{
- "name": "role_id",
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APITemplateArray"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "role_id"
+ "description": "guild_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/profile/{member_id}": {
- "patch": {
+ },
+ "post": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -17346,7 +17791,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MemberChangeProfileSchema"
+ "$ref": "#/components/schemas/TemplateCreateSchema"
}
}
}
@@ -17357,7 +17802,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Member"
+ "$ref": "#/components/schemas/Template"
}
}
}
@@ -17372,6 +17817,16 @@
}
}
},
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
"404": {
"description": "",
"content": {
@@ -17392,15 +17847,6 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
}
],
"tags": [
@@ -17408,8 +17854,9 @@
]
}
},
- "/guilds/{guild_id}/messages/search/": {
- "get": {
+ "/guilds/{guild_id}/templates/{code}": {
+ "delete": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -17421,7 +17868,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildMessagesSearchResponse"
+ "$ref": "#/components/schemas/Template"
}
}
}
@@ -17435,16 +17882,6 @@
}
}
}
- },
- "422": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"parameters": [
@@ -17456,15 +17893,23 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "code",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "code"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/members/": {
- "get": {
+ },
+ "put": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -17476,7 +17921,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIMemberArray"
+ "$ref": "#/components/schemas/Template"
}
}
}
@@ -17503,37 +17948,46 @@
"description": "guild_id"
},
{
- "name": "limit",
- "in": "query",
- "schema": {
- "type": "number"
- },
- "description": "max number of members to return (1-1000). default 1"
- },
- {
- "name": "after",
- "in": "query",
+ "name": "code",
+ "in": "path",
+ "required": true,
"schema": {
"type": "string"
- }
+ },
+ "description": "code"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/members/{member_id}/roles/{role_id}/": {
- "delete": {
- "x-permission-required": "MANAGE_ROLES",
+ },
+ "patch": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TemplateModifySchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Template"
+ }
+ }
+ }
},
"403": {
"description": "",
@@ -17557,41 +18011,47 @@
"description": "guild_id"
},
{
- "name": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
- },
- {
- "name": "role_id",
+ "name": "code",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "role_id"
+ "description": "code"
}
],
"tags": [
"guilds"
]
- },
- "put": {
- "x-permission-required": "MANAGE_ROLES",
+ }
+ },
+ "/guilds/{guild_id}/stickers/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIStickerArray"
+ }
+ }
+ }
},
"403": {
- "description": "No description available"
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -17603,33 +18063,14 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
- },
- {
- "name": "role_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "role_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/members/{member_id}/nick/": {
- "patch": {
+ },
+ "post": {
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
@@ -17640,7 +18081,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MemberNickChangeSchema"
+ "$ref": "#/components/schemas/ModifyGuildStickerSchema"
}
}
}
@@ -17651,7 +18092,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIPublicMember"
+ "$ref": "#/components/schemas/Sticker"
}
}
}
@@ -17686,15 +18127,6 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
}
],
"tags": [
@@ -17702,7 +18134,7 @@
]
}
},
- "/guilds/{guild_id}/members/{member_id}/": {
+ "/guilds/{guild_id}/stickers/{sticker_id}": {
"get": {
"security": [
{
@@ -17715,7 +18147,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIPublicMember"
+ "$ref": "#/components/schemas/Sticker"
}
}
}
@@ -17729,16 +18161,6 @@
}
}
}
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"parameters": [
@@ -17752,13 +18174,13 @@
"description": "guild_id"
},
{
- "name": "member_id",
+ "name": "sticker_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "member_id"
+ "description": "sticker_id"
}
],
"tags": [
@@ -17766,6 +18188,7 @@
]
},
"patch": {
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
@@ -17776,7 +18199,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MemberChangeSchema"
+ "$ref": "#/components/schemas/ModifyGuildStickerSchema"
}
}
}
@@ -17787,7 +18210,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Member"
+ "$ref": "#/components/schemas/Sticker"
}
}
}
@@ -17811,16 +18234,6 @@
}
}
}
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"parameters": [
@@ -17834,35 +18247,29 @@
"description": "guild_id"
},
{
- "name": "member_id",
+ "name": "sticker_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "member_id"
+ "description": "sticker_id"
}
],
"tags": [
"guilds"
]
},
- "put": {
+ "delete": {
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MemberJoinGuildResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"403": {
"description": "",
@@ -17873,16 +18280,6 @@
}
}
}
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"parameters": [
@@ -17896,38 +18293,30 @@
"description": "guild_id"
},
{
- "name": "member_id",
+ "name": "sticker_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "member_id"
+ "description": "sticker_id"
}
],
"tags": [
"guilds"
]
- },
- "delete": {
+ }
+ },
+ "/guilds/{guild_id}/roles/member-counts/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
+ "default": {
"description": "No description available"
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"parameters": [
@@ -17939,15 +18328,6 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
}
],
"tags": [
@@ -17955,36 +18335,16 @@
]
}
},
- "/guilds/{guild_id}/auto-moderation/rules/": {
+ "/guilds/{guild_id}/roles/": {
"get": {
- "x-permission-required": [
- "MANAGE_GUILD"
- ],
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AutomodRuleSchemaWithId[]"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
@@ -18003,21 +18363,29 @@
]
},
"post": {
- "x-permission-required": [
- "MANAGE_GUILD"
- ],
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RoleModifySchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AutomodRuleSchemaWithId"
+ "$ref": "#/components/schemas/Role"
}
}
}
@@ -18057,25 +18425,31 @@
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/auto-moderation/rules/{rule_id}": {
+ },
"patch": {
- "x-permission-required": [
- "MANAGE_GUILD"
- ],
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RolePositionUpdateSchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AutomodRuleSchemaWithId"
+ "$ref": "#/components/schemas/APIRoleArray"
}
}
}
@@ -18110,53 +18484,24 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "rule_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "rule_id"
}
],
"tags": [
"guilds"
]
- },
- "delete": {
- "x-permission-required": [
- "MANAGE_GUILD"
- ],
+ }
+ },
+ "/guilds/{guild_id}/roles/{role_id}/members/": {
+ "patch": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
+ "default": {
"description": "No description available"
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"parameters": [
@@ -18170,13 +18515,13 @@
"description": "guild_id"
},
{
- "name": "rule_id",
+ "name": "role_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "rule_id"
+ "description": "role_id"
}
],
"tags": [
@@ -18184,7 +18529,7 @@
]
}
},
- "/guilds/{guild_id}/widget/": {
+ "/guilds/{guild_id}/roles/{role_id}/member-ids/": {
"get": {
"security": [
{
@@ -18192,25 +18537,8 @@
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildWidgetSettingsResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
@@ -18222,41 +18550,41 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
],
"tags": [
"guilds"
]
- },
- "patch": {
- "x-permission-required": "MANAGE_GUILD",
+ }
+ },
+ "/guilds/{guild_id}/roles/{role_id}/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WidgetModifySchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WidgetModifySchema"
+ "$ref": "#/components/schemas/Role"
}
}
}
},
- "400": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -18266,7 +18594,7 @@
}
}
},
- "403": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -18286,22 +18614,30 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/widget.png/": {
- "get": {
+ },
+ "delete": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
+ "204": {
"description": "No description available"
},
"400": {
@@ -18314,6 +18650,16 @@
}
}
},
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
"404": {
"description": "",
"content": {
@@ -18334,32 +18680,50 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/widget.json/": {
- "get": {
+ },
+ "patch": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RoleModifySchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildWidgetJsonResponse"
+ "$ref": "#/components/schemas/Role"
}
}
}
},
- "404": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -18368,38 +18732,13 @@
}
}
}
- }
- },
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/{guild_id}/welcome-screen/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildWelcomeScreen"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -18424,39 +18763,36 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
],
"tags": [
"guilds"
]
- },
- "patch": {
- "x-permission-required": "MANAGE_GUILD",
+ }
+ },
+ "/guilds/{guild_id}/regions/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildUpdateWelcomeScreenSchema"
- }
- }
- }
- },
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIGuildVoiceRegion"
}
}
}
@@ -18488,22 +18824,20 @@
]
}
},
- "/guilds/{guild_id}/webhooks/": {
+ "/guilds/{guild_id}/prune/": {
"get": {
- "x-permission-required": "MANAGE_WEBHOOKS",
"security": [
{
"bearer": []
}
],
- "description": "Returns a list of guild webhook objects. Requires the MANAGE_WEBHOOKS permission.",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIWebhookArray"
+ "$ref": "#/components/schemas/GuildPruneResponse"
}
}
}
@@ -18523,11 +18857,10 @@
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/vanity-url/": {
- "get": {
- "x-permission-required": "MANAGE_GUILD",
+ },
+ "post": {
+ "x-right-required": "KICK_BAN_MEMBERS",
+ "x-permission-required": "KICK_MEMBERS",
"security": [
{
"bearer": []
@@ -18539,7 +18872,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildVanityUrlResponse"
+ "$ref": "#/components/schemas/GuildPurgeResponse"
}
}
}
@@ -18553,13 +18886,38 @@
}
}
}
- },
- "404": {
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ }
+ },
+ "/guilds/{guild_id}/profile/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildProfileResponse"
}
}
}
@@ -18579,9 +18937,10 @@
"tags": [
"guilds"
]
- },
+ }
+ },
+ "/guilds/{guild_id}/profile/{member_id}": {
"patch": {
- "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -18592,7 +18951,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/VanityUrlSchema"
+ "$ref": "#/components/schemas/MemberChangeProfileSchema"
}
}
}
@@ -18603,12 +18962,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildVanityUrlCreateResponse"
+ "$ref": "#/components/schemas/Member"
}
}
}
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -18638,6 +18997,15 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "member_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "member_id"
}
],
"tags": [
@@ -18645,7 +19013,7 @@
]
}
},
- "/guilds/{guild_id}/templates/": {
+ "/guilds/{guild_id}/premium/subscriptions": {
"get": {
"security": [
{
@@ -18653,15 +19021,8 @@
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APITemplateArray"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
@@ -18678,41 +19039,22 @@
"tags": [
"guilds"
]
- },
- "post": {
- "x-permission-required": "MANAGE_GUILD",
+ }
+ },
+ "/guilds/{guild_id}/messages/search/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TemplateCreateSchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Template"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildMessagesSearchResponse"
}
}
}
@@ -18727,7 +19069,7 @@
}
}
},
- "404": {
+ "422": {
"description": "",
"content": {
"application/json": {
@@ -18754,9 +19096,8 @@
]
}
},
- "/guilds/{guild_id}/templates/{code}": {
- "delete": {
- "x-permission-required": "MANAGE_GUILD",
+ "/guilds/{guild_id}/members/": {
+ "get": {
"security": [
{
"bearer": []
@@ -18768,7 +19109,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Template"
+ "$ref": "#/components/schemas/APIMemberArray"
}
}
}
@@ -18795,36 +19136,37 @@
"description": "guild_id"
},
{
- "name": "code",
- "in": "path",
- "required": true,
+ "name": "limit",
+ "in": "query",
"schema": {
- "type": "string"
+ "type": "number"
},
- "description": "code"
+ "description": "max number of members to return (1-1000). default 1"
+ },
+ {
+ "name": "after",
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
}
],
"tags": [
"guilds"
]
- },
- "put": {
- "x-permission-required": "MANAGE_GUILD",
+ }
+ },
+ "/guilds/{guild_id}/members/{member_id}/roles/{role_id}/": {
+ "delete": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Template"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"403": {
"description": "",
@@ -18848,56 +19190,41 @@
"description": "guild_id"
},
{
- "name": "code",
+ "name": "member_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "member_id"
+ },
+ {
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
],
"tags": [
"guilds"
]
},
- "patch": {
- "x-permission-required": "MANAGE_GUILD",
+ "put": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TemplateModifySchema"
- }
- }
- }
- },
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Template"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
@@ -18911,66 +19238,31 @@
"description": "guild_id"
},
{
- "name": "code",
+ "name": "member_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
- }
- ],
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/{guild_id}/stickers/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIStickerArray"
- }
- }
- }
+ "description": "member_id"
},
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "parameters": [
{
- "name": "guild_id",
+ "name": "role_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "role_id"
}
],
"tags": [
"guilds"
]
- },
- "post": {
- "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
+ }
+ },
+ "/guilds/{guild_id}/members/{member_id}/nick/": {
+ "patch": {
"security": [
{
"bearer": []
@@ -18981,7 +19273,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ModifyGuildStickerSchema"
+ "$ref": "#/components/schemas/MemberNickChangeSchema"
}
}
}
@@ -18992,7 +19284,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Sticker"
+ "$ref": "#/components/schemas/APIPublicMember"
}
}
}
@@ -19027,6 +19319,15 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "member_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "member_id"
}
],
"tags": [
@@ -19034,7 +19335,7 @@
]
}
},
- "/guilds/{guild_id}/stickers/{sticker_id}": {
+ "/guilds/{guild_id}/members/{member_id}/": {
"get": {
"security": [
{
@@ -19047,7 +19348,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Sticker"
+ "$ref": "#/components/schemas/APIPublicMember"
}
}
}
@@ -19061,6 +19362,16 @@
}
}
}
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -19074,13 +19385,13 @@
"description": "guild_id"
},
{
- "name": "sticker_id",
+ "name": "member_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "sticker_id"
+ "description": "member_id"
}
],
"tags": [
@@ -19088,7 +19399,6 @@
]
},
"patch": {
- "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
@@ -19099,7 +19409,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ModifyGuildStickerSchema"
+ "$ref": "#/components/schemas/MemberChangeSchema"
}
}
}
@@ -19110,7 +19420,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Sticker"
+ "$ref": "#/components/schemas/Member"
}
}
}
@@ -19134,44 +19444,8 @@
}
}
}
- }
- },
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
},
- {
- "name": "sticker_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "sticker_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- },
- "delete": {
- "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
- },
- "403": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -19193,22 +19467,20 @@
"description": "guild_id"
},
{
- "name": "sticker_id",
+ "name": "member_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "sticker_id"
+ "description": "member_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/regions/": {
- "get": {
+ },
+ "put": {
"security": [
{
"bearer": []
@@ -19220,12 +19492,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIGuildVoiceRegion"
+ "$ref": "#/components/schemas/MemberJoinGuildResponse"
}
}
}
},
- "404": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -19234,38 +19506,13 @@
}
}
}
- }
- },
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/{guild_id}/prune/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
+ },
+ "404": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildPruneResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -19280,72 +19527,37 @@
"type": "string"
},
"description": "guild_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- },
- "post": {
- "x-right-required": "KICK_BAN_MEMBERS",
- "x-permission-required": "KICK_MEMBERS",
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildPurgeResponse"
- }
- }
- }
},
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "parameters": [
{
- "name": "guild_id",
+ "name": "member_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "member_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/profile/": {
- "get": {
+ },
+ "delete": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildProfileResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -19360,34 +19572,15 @@
"type": "string"
},
"description": "guild_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/{guild_id}/premium/subscriptions": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "parameters": [
+ },
{
- "name": "guild_id",
+ "name": "member_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "member_id"
}
],
"tags": [
@@ -19623,6 +19816,42 @@
]
}
},
+ "/guilds/{guild_id}/force-recount/": {
+ "post": {
+ "x-right-required": "MANAGE_GUILDS",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIGuild"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ }
+ },
"/guilds/{guild_id}/emojis/": {
"get": {
"security": [
@@ -20510,6 +20739,235 @@
]
}
},
+ "/guilds/{guild_id}/auto-moderation/rules/": {
+ "get": {
+ "x-permission-required": [
+ "MANAGE_GUILD"
+ ],
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AutomodRuleSchemaWithId[]"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ },
+ "post": {
+ "x-permission-required": [
+ "MANAGE_GUILD"
+ ],
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AutomodRuleSchemaWithId"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ }
+ },
+ "/guilds/{guild_id}/auto-moderation/rules/{rule_id}": {
+ "patch": {
+ "x-permission-required": [
+ "MANAGE_GUILD"
+ ],
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AutomodRuleSchemaWithId"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ },
+ {
+ "name": "rule_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "rule_id"
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ },
+ "delete": {
+ "x-permission-required": [
+ "MANAGE_GUILD"
+ ],
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No description available"
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ },
+ {
+ "name": "rule_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "rule_id"
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ }
+ },
"/guilds/{guild_id}/audit-logs/": {
"get": {
"security": [
@@ -20566,6 +21024,36 @@
]
}
},
+ "/guild-recommendations/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GuildRecommendationsResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "guild-recommendations"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
"/gifs/trending/": {
"get": {
"security": [
@@ -20755,6 +21243,18 @@
]
}
},
+ "/experiments/": {
+ "get": {
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "experiments"
+ ]
+ }
+ },
"/emojis/{emoji_id}/source/": {
"get": {
"security": [
@@ -20800,6 +21300,76 @@
]
}
},
+ "/download/": {
+ "get": {
+ "responses": {
+ "302": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "download"
+ ]
+ }
+ },
+ "/discovery/categories": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIDiscoveryCategoryArray"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "discovery"
+ ]
+ }
+ },
+ "/discoverable-guilds/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DiscoverableGuildsResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "discoverable-guilds"
+ ]
+ }
+ },
"/connections/": {
"get": {
"security": [
@@ -20927,6 +21497,60 @@
]
}
},
+ "/collectibles-shop/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CollectiblesShopResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "collectibles-shop"
+ ]
+ }
+ },
+ "/collectibles-categories/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CollectiblesCategoriesResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "collectibles-categories"
+ ]
+ }
+ },
"/channels/preload-messages/": {
"post": {
"security": [
@@ -20971,35 +21595,71 @@
]
}
},
- "/channels/{channel_id}/messages/search/": {
+ "/channels/{channel_id}/webhooks/": {
"get": {
+ "x-permission-required": "MANAGE_WEBHOOKS",
"security": [
{
"bearer": []
}
],
+ "description": "Returns a list of channel webhook objects. Requires the MANAGE_WEBHOOKS permission.",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildMessagesSearchResponse"
+ "$ref": "#/components/schemas/APIWebhookArray"
}
}
}
- },
- "403": {
+ }
+ },
+ "parameters": [
+ {
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "channel_id"
+ }
+ ],
+ "tags": [
+ "channels"
+ ]
+ },
+ "post": {
+ "x-permission-required": "MANAGE_WEBHOOKS",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WebhookCreateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/WebhookCreateResponse"
}
}
}
},
- "422": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -21008,6 +21668,9 @@
}
}
}
+ },
+ "403": {
+ "description": "No description available"
}
},
"parameters": [
@@ -21026,9 +21689,9 @@
]
}
},
- "/channels/{channel_id}/messages/pins/{message_id}": {
- "put": {
- "x-permission-required": "VIEW_CHANNEL",
+ "/channels/{channel_id}/typing/": {
+ "post": {
+ "x-permission-required": "SEND_MESSAGES",
"security": [
{
"bearer": []
@@ -21038,16 +21701,6 @@
"204": {
"description": "No description available"
},
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
"403": {
"description": "No description available"
},
@@ -21064,15 +21717,46 @@
"type": "string"
},
"description": "channel_id"
+ }
+ ],
+ "tags": [
+ "channels"
+ ]
+ }
+ },
+ "/channels/{channel_id}/recipients/{user_id}": {
+ "put": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "channel_id"
},
{
- "name": "message_id",
+ "name": "user_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "message_id"
+ "description": "user_id"
}
],
"tags": [
@@ -21080,7 +21764,6 @@
]
},
"delete": {
- "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -21090,19 +21773,6 @@
"204": {
"description": "No description available"
},
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "403": {
- "description": "No description available"
- },
"404": {
"description": "No description available"
}
@@ -21118,13 +21788,13 @@
"description": "channel_id"
},
{
- "name": "message_id",
+ "name": "user_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "message_id"
+ "description": "user_id"
}
],
"tags": [
@@ -21132,26 +21802,16 @@
]
}
},
- "/channels/{channel_id}/messages/pins/": {
- "get": {
- "x-permission-required": [
- "READ_MESSAGE_HISTORY"
- ],
+ "/channels/{channel_id}/purge/": {
+ "post": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIMessageArray"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -21162,6 +21822,12 @@
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -21180,23 +21846,17 @@
]
}
},
- "/channels/{channel_id}/messages/": {
- "get": {
+ "/channels/{channel_id}/pins/{message_id}": {
+ "put": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIMessageArray"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -21226,57 +21886,26 @@
"description": "channel_id"
},
{
- "name": "around",
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "before",
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "after",
- "in": "query",
+ "name": "message_id",
+ "in": "path",
+ "required": true,
"schema": {
"type": "string"
- }
- },
- {
- "name": "limit",
- "in": "query",
- "schema": {
- "type": "number"
},
- "description": "max number of messages to return (1-100). defaults to 50"
+ "description": "message_id"
}
],
"tags": [
"channels"
]
- }
- },
- "/channels/{channel_id}/messages/bulk-delete/": {
- "post": {
+ },
+ "delete": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BulkDeleteSchema"
- }
- }
- }
- },
"responses": {
"204": {
"description": "No description available"
@@ -21307,6 +21936,15 @@
"type": "string"
},
"description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
}
],
"tags": [
@@ -21314,29 +21952,36 @@
]
}
},
- "/channels/{channel_id}/messages/{message_id}/threads/": {
- "post": {
+ "/channels/{channel_id}/pins/": {
+ "get": {
+ "x-permission-required": [
+ "READ_MESSAGE_HISTORY"
+ ],
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MessageThreadCreationSchema"
- }
- }
- }
- },
"responses": {
"200": {
- "description": "No description available"
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIMessageArray"
+ }
+ }
+ }
},
- "403": {
- "description": "No description available"
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -21348,15 +21993,6 @@
"type": "string"
},
"description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
}
],
"tags": [
@@ -21364,14 +22000,24 @@
]
}
},
- "/channels/{channel_id}/messages/{message_id}/reactions/": {
- "delete": {
- "x-permission-required": "MANAGE_MESSAGES",
+ "/channels/{channel_id}/permissions/{overwrite_id}": {
+ "put": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChannelPermissionOverwriteSchema"
+ }
+ }
+ }
+ },
"responses": {
"204": {
"description": "No description available"
@@ -21386,10 +22032,10 @@
}
}
},
- "403": {
+ "404": {
"description": "No description available"
},
- "404": {
+ "501": {
"description": "No description available"
}
},
@@ -21404,23 +22050,21 @@
"description": "channel_id"
},
{
- "name": "message_id",
+ "name": "overwrite_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "message_id"
+ "description": "overwrite_id"
}
],
"tags": [
"channels"
]
- }
- },
- "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}": {
+ },
"delete": {
- "x-permission-required": "MANAGE_MESSAGES",
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
@@ -21430,19 +22074,6 @@
"204": {
"description": "No description available"
},
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "403": {
- "description": "No description available"
- },
"404": {
"description": "No description available"
}
@@ -21458,30 +22089,22 @@
"description": "channel_id"
},
{
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
- },
- {
- "name": "emoji",
+ "name": "overwrite_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "emoji"
+ "description": "overwrite_id"
}
],
"tags": [
"channels"
]
- },
+ }
+ },
+ "/channels/{channel_id}/messages/search/": {
"get": {
- "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -21493,12 +22116,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PublicUser"
+ "$ref": "#/components/schemas/GuildMessagesSearchResponse"
}
}
}
},
- "400": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -21508,11 +22131,15 @@
}
}
},
- "403": {
- "description": "No description available"
- },
- "404": {
- "description": "No description available"
+ "422": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -21524,24 +22151,6 @@
"type": "string"
},
"description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
- },
- {
- "name": "emoji",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "emoji"
}
],
"tags": [
@@ -21549,10 +22158,9 @@
]
}
},
- "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/{user_id}": {
+ "/channels/{channel_id}/messages/pins/{message_id}": {
"put": {
- "x-right-required": "SELF_ADD_REACTIONS",
- "x-permission-required": "READ_MESSAGE_HISTORY",
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -21597,24 +22205,6 @@
"type": "string"
},
"description": "message_id"
- },
- {
- "name": "emoji",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "emoji"
- },
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
}
],
"tags": [
@@ -21622,6 +22212,7 @@
]
},
"delete": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -21666,24 +22257,54 @@
"type": "string"
},
"description": "message_id"
- },
+ }
+ ],
+ "tags": [
+ "channels"
+ ]
+ }
+ },
+ "/channels/{channel_id}/messages/pins/": {
+ "get": {
+ "x-permission-required": [
+ "READ_MESSAGE_HISTORY"
+ ],
+ "security": [
{
- "name": "emoji",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "emoji"
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIMessageArray"
+ }
+ }
+ }
},
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
{
- "name": "user_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "user_id"
+ "description": "channel_id"
}
],
"tags": [
@@ -21691,16 +22312,23 @@
]
}
},
- "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/{burst}/{user_id}": {
- "delete": {
+ "/channels/{channel_id}/messages/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIMessageArray"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -21730,49 +22358,40 @@
"description": "channel_id"
},
{
- "name": "message_id",
- "in": "path",
- "required": true,
+ "name": "around",
+ "in": "query",
"schema": {
"type": "string"
- },
- "description": "message_id"
+ }
},
{
- "name": "emoji",
- "in": "path",
- "required": true,
+ "name": "before",
+ "in": "query",
"schema": {
"type": "string"
- },
- "description": "emoji"
+ }
},
{
- "name": "burst",
- "in": "path",
- "required": true,
+ "name": "after",
+ "in": "query",
"schema": {
"type": "string"
- },
- "description": "burst"
+ }
},
{
- "name": "user_id",
- "in": "path",
- "required": true,
+ "name": "limit",
+ "in": "query",
"schema": {
- "type": "string"
+ "type": "number"
},
- "description": "user_id"
+ "description": "max number of messages to return (1-100). defaults to 50"
}
],
"tags": [
"channels"
]
- }
- },
- "/channels/{channel_id}/messages/{message_id}/": {
- "patch": {
+ },
+ "post": {
"x-right-required": "SEND_MESSAGES",
"x-permission-required": "SEND_MESSAGES",
"security": [
@@ -21785,7 +22404,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MessageEditSchema"
+ "$ref": "#/components/schemas/MessageCreateSchema"
}
}
}
@@ -21827,24 +22446,53 @@
"type": "string"
},
"description": "channel_id"
- },
+ }
+ ],
+ "tags": [
+ "channels"
+ ]
+ }
+ },
+ "/channels/{channel_id}/messages/ack": {
+ "delete": {
+ "security": [
{
- "name": "message_id",
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AcknowledgeDeleteSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "message_id"
+ "description": "channel_id"
}
],
"tags": [
"channels"
]
- },
- "put": {
- "x-right-required": "SEND_BACKDATED_EVENTS",
- "x-permission-required": "SEND_MESSAGES",
+ }
+ },
+ "/channels/{channel_id}/messages/bulk-delete/": {
+ "post": {
"security": [
{
"bearer": []
@@ -21855,21 +22503,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MessageCreateSchema"
+ "$ref": "#/components/schemas/BulkDeleteSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Message"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -21897,53 +22538,35 @@
"type": "string"
},
"description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
}
],
"tags": [
"channels"
]
- },
- "get": {
- "x-permission-required": "VIEW_CHANNEL",
+ }
+ },
+ "/channels/{channel_id}/messages/{message_id}/threads/": {
+ "post": {
"security": [
{
"bearer": []
}
],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Message"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MessageThreadCreationSchema"
}
}
- },
- "403": {
+ }
+ },
+ "responses": {
+ "200": {
"description": "No description available"
},
- "404": {
+ "403": {
"description": "No description available"
}
},
@@ -21970,8 +22593,11 @@
"tags": [
"channels"
]
- },
+ }
+ },
+ "/channels/{channel_id}/messages/{message_id}/reactions/": {
"delete": {
+ "x-permission-required": "MANAGE_MESSAGES",
"security": [
{
"bearer": []
@@ -21991,6 +22617,9 @@
}
}
},
+ "403": {
+ "description": "No description available"
+ },
"404": {
"description": "No description available"
}
@@ -22020,8 +22649,8 @@
]
}
},
- "/channels/{channel_id}/messages/{message_id}/crosspost/": {
- "post": {
+ "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}": {
+ "delete": {
"x-permission-required": "MANAGE_MESSAGES",
"security": [
{
@@ -22029,15 +22658,24 @@
}
],
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Message"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -22058,36 +22696,54 @@
"type": "string"
},
"description": "message_id"
+ },
+ {
+ "name": "emoji",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "emoji"
}
],
"tags": [
"channels"
]
- }
- },
- "/channels/{channel_id}/messages/{message_id}/ack/": {
- "post": {
+ },
+ "get": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MessageAcknowledgeSchema"
- }
- }
- }
- },
"responses": {
"200": {
- "description": "No description available"
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PublicUser"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
},
"403": {
"description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -22108,6 +22764,15 @@
"type": "string"
},
"description": "message_id"
+ },
+ {
+ "name": "emoji",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "emoji"
}
],
"tags": [
@@ -22115,25 +22780,34 @@
]
}
},
- "/channels/{channel_id}/webhooks/": {
- "get": {
- "x-permission-required": "MANAGE_WEBHOOKS",
+ "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/{user_id}": {
+ "put": {
+ "x-right-required": "SELF_ADD_REACTIONS",
+ "x-permission-required": "READ_MESSAGE_HISTORY",
"security": [
{
"bearer": []
}
],
- "description": "Returns a list of channel webhook objects. Requires the MANAGE_WEBHOOKS permission.",
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIWebhookArray"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -22145,39 +22819,48 @@
"type": "string"
},
"description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
+ },
+ {
+ "name": "emoji",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "emoji"
+ },
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
}
],
"tags": [
"channels"
]
},
- "post": {
- "x-permission-required": "MANAGE_WEBHOOKS",
+ "delete": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WebhookCreateSchema"
- }
- }
- }
- },
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WebhookCreateResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -22191,6 +22874,9 @@
},
"403": {
"description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -22202,6 +22888,33 @@
"type": "string"
},
"description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
+ },
+ {
+ "name": "emoji",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "emoji"
+ },
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
}
],
"tags": [
@@ -22209,9 +22922,8 @@
]
}
},
- "/channels/{channel_id}/typing/": {
- "post": {
- "x-permission-required": "SEND_MESSAGES",
+ "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/{burst}/{user_id}": {
+ "delete": {
"security": [
{
"bearer": []
@@ -22221,6 +22933,16 @@
"204": {
"description": "No description available"
},
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
"403": {
"description": "No description available"
},
@@ -22237,75 +22959,33 @@
"type": "string"
},
"description": "channel_id"
- }
- ],
- "tags": [
- "channels"
- ]
- }
- },
- "/channels/{channel_id}/recipients/{user_id}": {
- "put": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "201": {
- "description": "No description available"
},
- "404": {
- "description": "No description available"
- }
- },
- "parameters": [
{
- "name": "channel_id",
+ "name": "message_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "channel_id"
+ "description": "message_id"
},
{
- "name": "user_id",
+ "name": "emoji",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "user_id"
- }
- ],
- "tags": [
- "channels"
- ]
- },
- "delete": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
+ "description": "emoji"
},
- "404": {
- "description": "No description available"
- }
- },
- "parameters": [
{
- "name": "channel_id",
+ "name": "burst",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "channel_id"
+ "description": "burst"
},
{
"name": "user_id",
@@ -22322,16 +23002,35 @@
]
}
},
- "/channels/{channel_id}/purge/": {
- "post": {
+ "/channels/{channel_id}/messages/{message_id}/": {
+ "patch": {
+ "x-right-required": "SEND_MESSAGES",
+ "x-permission-required": "SEND_MESSAGES",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MessageEditSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Message"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -22359,24 +23058,49 @@
"type": "string"
},
"description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
}
],
"tags": [
"channels"
]
- }
- },
- "/channels/{channel_id}/pins/{message_id}": {
+ },
"put": {
- "x-permission-required": "VIEW_CHANNEL",
+ "x-right-required": "SEND_BACKDATED_EVENTS",
+ "x-permission-required": "SEND_MESSAGES",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MessageCreateSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Message"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -22419,7 +23143,7 @@
"channels"
]
},
- "delete": {
+ "get": {
"x-permission-required": "VIEW_CHANNEL",
"security": [
{
@@ -22427,8 +23151,15 @@
}
],
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Message"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -22470,28 +23201,16 @@
"tags": [
"channels"
]
- }
- },
- "/channels/{channel_id}/pins/": {
- "get": {
- "x-permission-required": [
- "READ_MESSAGE_HISTORY"
- ],
+ },
+ "delete": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIMessageArray"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -22502,6 +23221,9 @@
}
}
}
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -22513,6 +23235,15 @@
"type": "string"
},
"description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
}
],
"tags": [
@@ -22520,43 +23251,24 @@
]
}
},
- "/channels/{channel_id}/permissions/{overwrite_id}": {
- "put": {
- "x-permission-required": "MANAGE_ROLES",
+ "/channels/{channel_id}/messages/{message_id}/crosspost/": {
+ "post": {
+ "x-permission-required": "MANAGE_MESSAGES",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ChannelPermissionOverwriteSchema"
- }
- }
- }
- },
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
- },
- "404": {
- "description": "No description available"
- },
- "501": {
- "description": "No description available"
}
},
"parameters": [
@@ -22570,31 +23282,42 @@
"description": "channel_id"
},
{
- "name": "overwrite_id",
+ "name": "message_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "overwrite_id"
+ "description": "message_id"
}
],
"tags": [
"channels"
]
- },
- "delete": {
- "x-permission-required": "MANAGE_ROLES",
+ }
+ },
+ "/channels/{channel_id}/messages/{message_id}/ack/": {
+ "post": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MessageAcknowledgeSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
+ "200": {
"description": "No description available"
},
- "404": {
+ "403": {
"description": "No description available"
}
},
@@ -22609,13 +23332,13 @@
"description": "channel_id"
},
{
- "name": "overwrite_id",
+ "name": "message_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "overwrite_id"
+ "description": "message_id"
}
],
"tags": [
@@ -23015,50 +23738,61 @@
]
}
},
- "/auth/sessions/": {
- "get": {
+ "/beaker/": {
+ "post": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetSessionsResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
}
},
"tags": [
- "auth"
+ "beaker"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
]
}
},
- "/auth/sessions/logout": {
+ "/auth/verify/view-backup-codes-challenge/": {
"post": {
- "security": [
- {
- "bearer": []
- }
- ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SessionsLogoutSchema"
+ "$ref": "#/components/schemas/BackupCodesChallengeSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BackupCodesChallengeResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"tags": [
@@ -23066,35 +23800,24 @@
]
}
},
- "/auth/conditional/finish/": {
+ "/auth/verify/resend/": {
"post": {
- "security": [
- {
- "bearer": []
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WebAuthnSSOSchema"
- }
- }
- }
- },
+ "x-right-required": "RESEND_VERIFICATION_EMAIL",
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TokenResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
},
- "400": {
+ "500": {
"description": "",
"content": {
"application/json": {
@@ -23110,19 +23833,14 @@
]
}
},
- "/auth/passwordless/finish/": {
+ "/auth/verify/": {
"post": {
- "security": [
- {
- "bearer": []
- }
- ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WebAuthnSSOSchema"
+ "$ref": "#/components/schemas/VerifyEmailSchema"
}
}
}
@@ -23143,7 +23861,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
}
}
}
@@ -23154,20 +23872,20 @@
]
}
},
- "/auth/passwordless/start/": {
- "post": {
+ "/auth/sessions/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
+ "$ref": "#/components/schemas/GetSessionsResponse"
}
}
}
@@ -23178,38 +23896,26 @@
]
}
},
- "/auth/verify/view-backup-codes-challenge/": {
+ "/auth/sessions/logout": {
"post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BackupCodesChallengeSchema"
+ "$ref": "#/components/schemas/SessionsLogoutSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BackupCodesChallengeResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
}
},
"tags": [
@@ -23217,29 +23923,35 @@
]
}
},
- "/auth/verify/resend/": {
+ "/auth/reset/": {
"post": {
- "x-right-required": "RESEND_VERIFICATION_EMAIL",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PasswordResetSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/TokenOnlyResponse"
}
}
}
},
- "500": {
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
}
}
}
@@ -23250,14 +23962,14 @@
]
}
},
- "/auth/verify/": {
+ "/auth/register/": {
"post": {
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/VerifyEmailSchema"
+ "$ref": "#/components/schemas/RegisterSchema"
}
}
}
@@ -23268,7 +23980,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TokenResponse"
+ "$ref": "#/components/schemas/TokenOnlyResponse"
}
}
}
@@ -23289,35 +24001,20 @@
]
}
},
- "/auth/mfa/webauthn/": {
+ "/auth/passwordless/start/": {
"post": {
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WebAuthnTotpSchema"
- }
- }
+ "security": [
+ {
+ "bearer": []
}
- },
+ ],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenResponse"
- }
- }
- }
- },
"400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
}
}
}
@@ -23325,23 +24022,22 @@
},
"tags": [
"auth"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
]
}
},
- "/auth/mfa/totp/": {
+ "/auth/passwordless/finish/": {
"post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TotpSchema"
+ "$ref": "#/components/schemas/WebAuthnSSOSchema"
}
}
}
@@ -23370,23 +24066,17 @@
},
"tags": [
"auth"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
]
}
},
- "/auth/reset/": {
+ "/auth/mfa/webauthn/": {
"post": {
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PasswordResetSchema"
+ "$ref": "#/components/schemas/WebAuthnTotpSchema"
}
}
}
@@ -23397,7 +24087,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TokenOnlyResponse"
+ "$ref": "#/components/schemas/TokenResponse"
}
}
}
@@ -23407,7 +24097,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -23415,17 +24105,23 @@
},
"tags": [
"auth"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
]
}
},
- "/auth/register/": {
+ "/auth/mfa/totp/": {
"post": {
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RegisterSchema"
+ "$ref": "#/components/schemas/TotpSchema"
}
}
}
@@ -23436,7 +24132,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TokenOnlyResponse"
+ "$ref": "#/components/schemas/TokenResponse"
}
}
}
@@ -23446,7 +24142,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -23454,6 +24150,12 @@
},
"tags": [
"auth"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
]
}
},
@@ -23638,6 +24340,50 @@
]
}
},
+ "/auth/conditional/finish/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WebAuthnSSOSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TokenResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "auth"
+ ]
+ }
+ },
"/attachments/refresh-urls/": {
"post": {
"security": [
@@ -23844,7 +24590,7 @@
]
}
},
- "/applications/{application_id}/guilds/{guild_id}/commands/": {
+ "/applications/{application_id}/skus/": {
"get": {
"security": [
{
@@ -23852,8 +24598,15 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ApplicationSkusResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -23865,40 +24618,40 @@
"type": "string"
},
"description": "application_id"
- },
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
}
],
"tags": [
"applications"
]
- },
- "post": {
+ }
+ },
+ "/applications/{application_id}/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Application"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
}
}
- }
- },
- "responses": {
- "default": {
- "description": "No description available"
}
},
"parameters": [
@@ -23910,22 +24663,13 @@
"type": "string"
},
"description": "application_id"
- },
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
}
],
"tags": [
"applications"
]
},
- "put": {
+ "patch": {
"security": [
{
"bearer": []
@@ -23936,14 +24680,31 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BulkApplicationCommandCreateSchema"
+ "$ref": "#/components/schemas/ApplicationModifySchema"
}
}
}
},
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Application"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -23955,15 +24716,6 @@
"type": "string"
},
"description": "application_id"
- },
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
}
],
"tags": [
@@ -23971,16 +24723,26 @@
]
}
},
- "/applications/{application_id}/guilds/{guild_id}/commands/{command_id}/": {
- "get": {
+ "/applications/{application_id}/delete": {
+ "post": {
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
+ "200": {
"description": "No description available"
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -23992,46 +24754,20 @@
"type": "string"
},
"description": "application_id"
- },
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "command_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "command_id"
}
],
"tags": [
"applications"
]
- },
- "patch": {
+ }
+ },
+ "/applications/{application_id}/guilds/{guild_id}/commands/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
- }
- }
- }
- },
"responses": {
"default": {
"description": "No description available"
@@ -24055,43 +24791,6 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "command_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "command_id"
- }
- ],
- "tags": [
- "applications"
- ]
- }
- },
- "/applications/{application_id}/commands/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "parameters": [
- {
- "name": "application_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "application_id"
}
],
"tags": [
@@ -24128,6 +24827,15 @@
"type": "string"
},
"description": "application_id"
+ },
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
}
],
"tags": [
@@ -24164,6 +24872,15 @@
"type": "string"
},
"description": "application_id"
+ },
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
}
],
"tags": [
@@ -24171,7 +24888,7 @@
]
}
},
- "/applications/{application_id}/commands/{command_id}/": {
+ "/applications/{application_id}/guilds/{guild_id}/commands/{command_id}/": {
"get": {
"security": [
{
@@ -24194,6 +24911,15 @@
"description": "application_id"
},
{
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ },
+ {
"name": "command_id",
"in": "path",
"required": true,
@@ -24239,6 +24965,15 @@
"description": "application_id"
},
{
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ },
+ {
"name": "command_id",
"in": "path",
"required": true,
@@ -24253,30 +24988,20 @@
]
}
},
- "/applications/{application_id}/bot/": {
- "post": {
+ "/applications/{application_id}/entitlements/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenOnlyResponse"
- }
- }
- }
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/ApplicationEntitlementsResponse"
}
}
}
@@ -24296,43 +25021,18 @@
"tags": [
"applications"
]
- },
- "patch": {
+ }
+ },
+ "/applications/{application_id}/commands/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BotModifySchema"
- }
- }
- }
- },
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Application"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
@@ -24349,37 +25049,28 @@
"tags": [
"applications"
]
- }
- },
- "/applications/{application_id}/bot/reset": {
+ },
"post": {
"security": [
{
"bearer": []
}
],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
}
}
}
},
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
"parameters": [
{
"name": "application_id",
@@ -24394,27 +25085,28 @@
"tags": [
"applications"
]
- }
- },
- "/applications/{application_id}/skus/": {
- "get": {
+ },
+ "put": {
"security": [
{
"bearer": []
}
],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ApplicationSkusResponse"
- }
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BulkApplicationCommandCreateSchema"
}
}
}
},
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
"parameters": [
{
"name": "application_id",
@@ -24431,7 +25123,7 @@
]
}
},
- "/applications/{application_id}/": {
+ "/applications/{application_id}/commands/{command_id}/": {
"get": {
"security": [
{
@@ -24439,25 +25131,8 @@
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Application"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
@@ -24469,6 +25144,15 @@
"type": "string"
},
"description": "application_id"
+ },
+ {
+ "name": "command_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "command_id"
}
],
"tags": [
@@ -24486,31 +25170,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ApplicationModifySchema"
+ "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Application"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
@@ -24522,44 +25189,15 @@
"type": "string"
},
"description": "application_id"
- }
- ],
- "tags": [
- "applications"
- ]
- }
- },
- "/applications/{application_id}/delete": {
- "post": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "No description available"
},
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "parameters": [
{
- "name": "application_id",
+ "name": "command_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "application_id"
+ "description": "command_id"
}
],
"tags": [
@@ -24567,86 +25205,20 @@
]
}
},
- "/applications/{application_id}/entitlements/": {
- "get": {
+ "/applications/{application_id}/bot/": {
+ "post": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ApplicationEntitlementsResponse"
- }
- }
- }
- }
- },
- "parameters": [
- {
- "name": "application_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "application_id"
- }
- ],
- "tags": [
- "applications"
- ]
- }
- },
- "/-/readyz/": {
- "get": {
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "-"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/-/healthz/": {
- "get": {
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "-"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/updates/": {
- "get": {
- "responses": {
- "200": {
+ "204": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UpdatesResponse"
+ "$ref": "#/components/schemas/TokenOnlyResponse"
}
}
}
@@ -24660,75 +25232,24 @@
}
}
}
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "tags": [
- "updates"
- ]
- }
- },
- "/track/": {
- "post": {
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "track"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/teams/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TeamListResponse"
- }
- }
- }
}
},
"parameters": [
{
- "name": "include_payout_account_status",
- "in": "query",
+ "name": "application_id",
+ "in": "path",
+ "required": true,
"schema": {
- "type": "boolean"
+ "type": "string"
},
- "description": "Whether to include team payout account status in the response (default false)"
+ "description": "application_id"
}
],
"tags": [
- "teams"
+ "applications"
]
},
- "post": {
+ "patch": {
"security": [
{
"bearer": []
@@ -24739,7 +25260,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TeamCreateSchema"
+ "$ref": "#/components/schemas/BotModifySchema"
}
}
}
@@ -24750,30 +25271,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Team"
+ "$ref": "#/components/schemas/Application"
}
}
}
- }
- },
- "tags": [
- "teams"
- ]
- }
- },
- "/stop/": {
- "post": {
- "x-right-required": "OPERATOR",
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "No description available"
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -24784,106 +25287,36 @@
}
}
},
- "tags": [
- "stop"
- ]
- }
- },
- "/stage-instances/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "stage-instances"
- ]
- }
- },
- "/science/": {
- "post": {
- "responses": {
- "204": {
- "description": "No description available"
- }
- },
- "tags": [
- "science"
- ]
- }
- },
- "/ping/": {
- "get": {
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InstancePingResponse"
- }
- }
- }
- }
- },
- "tags": [
- "ping"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/outbound-promotions/": {
- "get": {
- "security": [
+ "parameters": [
{
- "bearer": []
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
- "outbound-promotions"
+ "applications"
]
}
},
- "/hub-waitlist/signup": {
+ "/applications/{application_id}/bot/reset": {
"post": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HubWaitlistSignupSchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/HubWaitlistSignupResponse"
+ "$ref": "#/components/schemas/TokenResponse"
}
}
}
@@ -24899,42 +25332,23 @@
}
}
},
- "tags": [
- "hub-waitlist"
- ]
- }
- },
- "/guild-recommendations/": {
- "get": {
- "security": [
+ "parameters": [
{
- "bearer": []
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
}
],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildRecommendationsResponse"
- }
- }
- }
- }
- },
"tags": [
- "guild-recommendations"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
+ "applications"
]
}
},
- "/experiments/": {
+ "/-/readyz/": {
"get": {
"responses": {
"default": {
@@ -24942,148 +25356,25 @@
}
},
"tags": [
- "experiments"
- ]
- }
- },
- "/download/": {
- "get": {
- "responses": {
- "302": {
- "description": "No description available"
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- }
- },
- "tags": [
- "download"
- ]
- }
- },
- "/discovery/categories": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIDiscoveryCategoryArray"
- }
- }
- }
- }
- },
- "tags": [
- "discovery"
- ]
- }
- },
- "/discoverable-guilds/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
+ "-"
],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DiscoverableGuildsResponse"
- }
- }
- }
- }
- },
- "tags": [
- "discoverable-guilds"
- ]
- }
- },
- "/collectibles-shop/": {
- "get": {
- "security": [
+ "x-badges": [
{
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CollectiblesShopResponse"
- }
- }
- }
- },
- "204": {
- "description": "No description available"
+ "label": "Spacebar-only",
+ "color": "red"
}
- },
- "tags": [
- "collectibles-shop"
]
}
},
- "/collectibles-categories/": {
+ "/-/healthz/": {
"get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CollectiblesCategoriesResponse"
- }
- }
- }
- },
- "204": {
- "description": "No description available"
- }
- },
- "tags": [
- "collectibles-categories"
- ]
- }
- },
- "/beaker/": {
- "post": {
- "security": [
- {
- "bearer": []
- }
- ],
"responses": {
- "204": {
+ "default": {
"description": "No description available"
}
},
"tags": [
- "beaker"
+ "-"
],
"x-badges": [
{
diff --git a/assets/schemas.json b/assets/schemas.json
index b4993b94..f691b79e 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -1,4 +1,130 @@
{
+ "CreateFingerprintResponse": {
+ "type": "object",
+ "properties": {
+ "fingerprint": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "fingerprint"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationCommandSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "application_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "guild_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "name_localizations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "name_localized": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "description_localizations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "description_localized": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationCommandOption"
+ }
+ },
+ "default_member_permissions": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "dm_permission": {
+ "type": "boolean"
+ },
+ "permissions": {
+ "$ref": "#/definitions/ApplicationCommandIndexPermissions"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "integration_types": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationIntegrationType"
+ }
+ },
+ "global_popularity_rank": {
+ "type": "integer"
+ },
+ "contexts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InteractionContextType"
+ }
+ },
+ "version": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "handler": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application_id",
+ "default_member_permissions",
+ "description",
+ "name",
+ "version"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
"ConnectedAccountCommonOAuthTokenResponse": {
"type": "object",
"properties": {
@@ -251,6 +377,183 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
+ "InteractionSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "application_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "guild_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "channel_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "message_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "message_flags": {
+ "type": "integer"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "data": {
+ "$ref": "#/definitions/InteractionData"
+ },
+ "files": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "analytics_location": {
+ "type": "string"
+ },
+ "section_name": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application_id",
+ "channel_id",
+ "data",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InteractionCallbackSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/InteractionCallbackType"
+ },
+ "data": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "data",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InteractionCreateSchema": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "integer"
+ },
+ "id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "application_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "token": {
+ "type": "string"
+ },
+ "data": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "guild": {
+ "$ref": "#/definitions/InteractionGuild"
+ },
+ "guild_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "guild_locale": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "channel_id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/PublicMember"
+ },
+ "user": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "locale": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "app_permissions": {
+ "type": "string"
+ },
+ "entitlements": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
+ },
+ "entitlement_sku_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "authorizing_integration_owners": {
+ "type": "object",
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[0-9]+$": {
+ "type": "string"
+ }
+ }
+ },
+ "context": {
+ "type": "integer"
+ },
+ "attachment_size_limit": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "app_permissions",
+ "application_id",
+ "attachment_size_limit",
+ "id",
+ "token",
+ "type",
+ "version"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
"ApplicationCreateSchema": {
"type": "object",
"properties": {
@@ -325,6 +628,134 @@
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
},
+ "SendableApplicationCommandDataSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "$ref": "#/definitions/Snowflake"
+ },
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "version": {
+ "$ref": "#/definitions/Snowflake"
+ },
+ "application_command": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationCommandOption"
+ }
+ },
+ "target_id": {
+ "description": "A container for useful snowflake-related methods.",
+ "$ref": "#/definitions/Snowflake"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "version"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SendableMessageComponentDataSchema": {
+ "type": "object",
+ "properties": {
+ "component_type": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "values": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Snowflake"
+ }
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SendableModalSubmitDataSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "$ref": "#/definitions/Snowflake"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UploadAttachmentRequestSchema"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
"GuildProfileResponse": {
"type": "object",
"properties": {
@@ -2666,6 +3097,9 @@
"APIPrivateUser": {
"type": "object",
"properties": {
+ "email": {
+ "type": "string"
+ },
"id": {
"description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
"type": "string"
@@ -2673,9 +3107,6 @@
"flags": {
"type": "integer"
},
- "email": {
- "type": "string"
- },
"verified": {
"type": "boolean"
},
@@ -2798,6 +3229,9 @@
"newToken": {
"type": "string"
},
+ "email": {
+ "type": "string"
+ },
"id": {
"description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
"type": "string"
@@ -2805,9 +3239,6 @@
"flags": {
"type": "integer"
},
- "email": {
- "type": "string"
- },
"verified": {
"type": "boolean"
},
@@ -6819,424 +7250,6 @@
},
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "ApplicationCommandSchema": {
- "type": "object",
- "properties": {
- "id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "application_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "guild_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "name_localized": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "description_localized": {
- "type": [
- "null",
- "string"
- ]
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApplicationCommandOption"
- }
- },
- "default_member_permissions": {
- "type": [
- "null",
- "string"
- ]
- },
- "dm_permission": {
- "type": "boolean"
- },
- "permissions": {
- "$ref": "#/definitions/ApplicationCommandIndexPermissions"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApplicationIntegrationType"
- }
- },
- "global_popularity_rank": {
- "type": "integer"
- },
- "contexts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/InteractionContextType"
- }
- },
- "version": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "handler": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_id",
- "default_member_permissions",
- "description",
- "name",
- "version"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "InteractionSchema": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "application_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "guild_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "channel_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "message_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "message_flags": {
- "type": "integer"
- },
- "session_id": {
- "type": "string"
- },
- "data": {
- "$ref": "#/definitions/InteractionData"
- },
- "files": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- }
- },
- "nonce": {
- "type": "string"
- },
- "analytics_location": {
- "type": "string"
- },
- "section_name": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_id",
- "channel_id",
- "data",
- "type"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "InteractionCallbackSchema": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/InteractionCallbackType"
- },
- "data": {
- "$ref": "#/definitions/Message"
- }
- },
- "additionalProperties": false,
- "required": [
- "data",
- "type"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "InteractionCreateSchema": {
- "type": "object",
- "properties": {
- "version": {
- "type": "integer"
- },
- "id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "application_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "token": {
- "type": "string"
- },
- "data": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "guild": {
- "$ref": "#/definitions/InteractionGuild"
- },
- "guild_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "guild_locale": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "channel_id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/PublicMember"
- },
- "user": {
- "$ref": "#/definitions/PublicUser"
- },
- "locale": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "app_permissions": {
- "type": "string"
- },
- "entitlements": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- }
- },
- "entitlement_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "authorizing_integration_owners": {
- "type": "object",
- "additionalProperties": false,
- "patternProperties": {
- "^[0-9]+$": {
- "type": "string"
- }
- }
- },
- "context": {
- "type": "integer"
- },
- "attachment_size_limit": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "app_permissions",
- "application_id",
- "attachment_size_limit",
- "id",
- "token",
- "type",
- "version"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "SendableApplicationCommandDataSchema": {
- "type": "object",
- "properties": {
- "id": {
- "$ref": "#/definitions/Snowflake"
- },
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "version": {
- "$ref": "#/definitions/Snowflake"
- },
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApplicationCommandOption"
- }
- },
- "target_id": {
- "description": "A container for useful snowflake-related methods.",
- "$ref": "#/definitions/Snowflake"
- },
- "attachments": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "version"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "SendableMessageComponentDataSchema": {
- "type": "object",
- "properties": {
- "component_type": {
- "enum": [
- 0,
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "values": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Snowflake"
- }
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "SendableModalSubmitDataSchema": {
- "type": "object",
- "properties": {
- "id": {
- "$ref": "#/definitions/Snowflake"
- },
- "custom_id": {
- "type": "string"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/UploadAttachmentRequestSchema"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "id"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
"SessionsLogoutSchema": {
"type": "object",
"properties": {
@@ -7342,45 +7355,45 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "CreateFingerprintResponse": {
+ "ApplicationCommandOption": {
"type": "object",
"properties": {
- "fingerprint": {
+ "type": {
+ "$ref": "#/definitions/ApplicationCommandOptionType"
+ },
+ "name": {
"type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "fingerprint"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ErrorList": {
- "type": "object",
- "additionalProperties": false,
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
},
- "activity_score": {
- "type": "integer"
+ "description": {
+ "type": "string"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "choices": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationCommandOptionChoice"
+ }
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationCommandOption"
+ }
}
},
"additionalProperties": false,
"required": [
- "activity_level",
- "activity_score"
+ "description",
+ "name",
+ "type"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "GuildBadgeType": {
+ "ApplicationCommandOptionType": {
"type": "number",
"enum": [
- 0,
1,
2,
3,
@@ -7388,451 +7401,153 @@
5,
6,
7,
- 8,
- 9,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 30
+ 8
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "GuildTrait": {
+ "ApplicationCommandOptionChoice": {
"type": "object",
"properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
+ "name": {
+ "type": "string"
},
- "emoji_name": {
+ "value": {
"type": [
- "null",
- "string"
+ "string",
+ "integer"
]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "GuildVisibilityLevel": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3
+ "name",
+ "value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "InstanceUserDeleteSchemaContent": {
+ "ApplicationCommandIndexPermissions": {
"type": "object",
"properties": {
- "reason": {
- "type": "string"
- },
- "persistInstanceBan": {
+ "user": {
"type": "boolean"
- }
- },
- "additionalProperties": false,
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
},
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
+ "roles": {
+ "$ref": "#/definitions/Record<string,boolean>"
},
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
+ "channels": {
+ "$ref": "#/definitions/Record<string,boolean>"
}
},
"additionalProperties": false,
- "required": [
- "all"
- ],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": [
- "null",
- "integer"
- ]
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": [
- "null",
- "integer"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "guild_ids"
+ "ApplicationIntegrationType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Status": {
+ "InteractionContextType": {
+ "type": "number",
"enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
+ 0,
+ 1,
+ 2
],
- "type": "string",
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Activity": {
+ "ErrorList": {
"type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
"additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "ActivityType": {
+ "InteractionType": {
"type": "number",
"enum": [
- 0,
1,
2,
+ 3,
4,
5
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Classification": {
+ "InteractionData": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
+ "application_command": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
},
- "classification_type": {
- "$ref": "#/definitions/ClassificationType"
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UploadAttachmentRequestSchema"
+ }
},
- "description": {
+ "id": {
"type": "string"
},
- "explainer_link": {
+ "name": {
"type": "string"
},
- "actions": {
+ "options": {
"type": "array",
"items": {
- "$ref": "#/definitions/ClassificationAction"
+ "$ref": "#/definitions/ApplicationCommandOption"
}
},
- "max_expiration_time": {
- "type": "string"
- },
- "flagged_content": {
- "type": "array",
- "items": {}
- },
- "appeal_status": {
- "$ref": "#/definitions/AppealStatus"
- },
- "is_coppa": {
- "type": "boolean"
- },
- "is_spam": {
- "type": "boolean"
+ "type": {
+ "type": "integer"
},
- "appeal_ingestion_type": {
- "$ref": "#/definitions/AppealIngestionType"
+ "version": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
+ "application_command",
+ "attachments",
"id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ClassificationType": {
- "type": "number",
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 310,
- 320,
- 390,
- 600,
- 650,
- 711,
- 720,
- 3010,
- 3030,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485
+ "name",
+ "options",
+ "type",
+ "version"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "ClassificationAction": {
+ "UploadAttachmentRequest": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
- "action_type": {
- "$ref": "#/definitions/ClassificationActionType"
+ "filename": {
+ "type": "string"
},
- "descriptions": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "file_size": {
+ "type": "integer"
+ },
+ "is_clip": {
+ "type": "boolean"
+ },
+ "original_content_type": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "action_type",
- "descriptions",
- "id"
+ "file_size",
+ "filename"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "ClassificationActionType": {
+ "InteractionCallbackType": {
"type": "number",
"enum": [
- 0,
1,
2,
3,
@@ -7844,1024 +7559,251 @@
9,
10,
11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 20,
- 22
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "AppealStatusValue": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "AppealIngestionType": {
- "type": "number",
- "enum": [
- 0,
- 1,
- 2
+ 12
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "GuildClassification": {
+ "Message": {
"type": "object",
"properties": {
- "guild_metadata": {
- "$ref": "#/definitions/GuildMetadata"
- },
- "id": {
- "type": "string"
- },
- "classification_type": {
- "$ref": "#/definitions/ClassificationType"
- },
- "description": {
- "type": "string"
- },
- "explainer_link": {
+ "channel_id": {
"type": "string"
},
- "actions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ClassificationAction"
- }
+ "channel": {
+ "$ref": "#/definitions/Channel"
},
- "max_expiration_time": {
+ "guild_id": {
"type": "string"
},
- "flagged_content": {
- "type": "array",
- "items": {}
- },
- "appeal_status": {
- "$ref": "#/definitions/AppealStatus"
- },
- "is_coppa": {
- "type": "boolean"
- },
- "is_spam": {
- "type": "boolean"
+ "guild": {
+ "$ref": "#/definitions/Guild"
},
- "appeal_ingestion_type": {
- "$ref": "#/definitions/AppealIngestionType"
- }
- },
- "additionalProperties": false,
- "required": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
+ "author_id": {
"type": "string"
},
- "icon": {
- "type": "string"
+ "author": {
+ "$ref": "#/definitions/User"
},
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "GuildMemberType": {
- "type": "number",
- "enum": [
- 1,
- 2
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "AccountStandingState": {
- "type": "number",
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "AppealEligibility": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CollectiblesCategoryItem": {
- "type": "object",
- "properties": {
- "sku_id": {
+ "member_id": {
"type": "string"
},
- "name": {
- "type": "string"
+ "member": {
+ "$ref": "#/definitions/Member"
},
- "summary": {
+ "webhook_id": {
"type": "string"
},
- "store_listing_id": {
- "type": "string"
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
},
- "banner": {
+ "application_id": {
"type": "string"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
+ "application": {
+ "$ref": "#/definitions/Application"
},
- "logo": {
+ "content": {
"type": "string"
},
- "hero_ranking": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "mobile_bg": {
- "type": [
- "null",
- "string"
- ]
- },
- "pdp_bg": {
- "type": [
- "null",
- "string"
- ]
- },
- "success_modal_bg": {
- "type": [
- "null",
- "string"
- ]
- },
- "mobile_banner": {
- "type": [
- "null",
- "string"
- ]
- },
- "featured_block": {
- "type": [
- "null",
- "string"
- ]
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
},
- "hero_banner": {
- "type": [
- "null",
- "string"
- ]
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
},
- "wide_banner": {
- "type": [
- "null",
- "string"
- ]
+ "tts": {
+ "type": "boolean"
},
- "hero_logo": {
- "type": [
- "null",
- "string"
- ]
+ "mention_everyone": {
+ "type": "boolean"
},
- "products": {
+ "mentions": {
"type": "array",
"items": {
- "$ref": "#/definitions/CollectiblesCategoryProductItem"
+ "$ref": "#/definitions/User"
}
},
- "banner_asset": {
- "$ref": "#/definitions/StaticAnimatedAsset"
- },
- "hero_banner_asset": {
- "$ref": "#/definitions/StaticAnimatedAsset"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "featured_block",
- "hero_banner",
- "hero_logo",
- "hero_ranking",
- "logo",
- "mobile_banner",
- "mobile_bg",
- "name",
- "pdp_bg",
- "products",
- "sku_id",
- "store_listing_id",
- "styles",
- "success_modal_bg",
- "summary",
- "unpublished_at",
- "wide_banner"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CollectiblesCategoryStyle": {
- "type": "object",
- "properties": {
- "background_colors": {
+ "mention_roles": {
"type": "array",
"items": {
- "type": "integer"
+ "$ref": "#/definitions/Role"
}
},
- "button_colors": {
+ "mention_channels": {
"type": "array",
"items": {
- "type": "integer"
+ "$ref": "#/definitions/Channel"
}
},
- "confetti_colors": {
+ "sticker_items": {
"type": "array",
"items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "background_colors",
- "button_colors",
- "confetti_colors"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CollectiblesCategoryProductItem": {
- "type": "object",
- "properties": {
- "sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "store_listing_id": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
- },
- "prices": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "country_prices": {
- "$ref": "#/definitions/CountryPrice"
- }
- },
- "additionalProperties": false,
- "required": [
- "country_prices"
- ]
+ "$ref": "#/definitions/Sticker"
}
},
- "items": {
+ "attachments": {
"type": "array",
"items": {
- "$ref": "#/definitions/ProductItem"
- }
- },
- "type": {
- "type": "integer"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
+ "$ref": "#/definitions/Attachment"
}
},
- "variants": {
+ "embeds": {
"type": "array",
"items": {
- "$ref": "#/definitions/ProductItemVariant"
+ "$ref": "#/definitions/Embed"
}
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "category_sku_id",
- "google_sku_ids",
- "items",
- "name",
- "premium_type",
- "prices",
- "sku_id",
- "store_listing_id",
- "styles",
- "summary",
- "type",
- "unpublished_at"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
},
- "prices": {
+ "reactions": {
"type": "array",
"items": {
- "$ref": "#/definitions/PriceEntry"
+ "$ref": "#/definitions/Reaction"
}
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ProductItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "asset": {
- "type": "string"
},
- "label": {
- "type": "string"
- },
- "palette": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "sku_id",
- "type"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ProductItemVariant": {
- "type": "object",
- "properties": {
- "sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "type": "null"
- },
- "summary": {
- "type": "string"
- },
- "summary_localizations": {
- "type": "null"
- },
- "store_listing_id": {
- "type": "string"
- },
- "banner": {
+ "nonce": {
"type": "string"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
- },
- "prices": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "country_prices": {
- "$ref": "#/definitions/CountryPrice"
- }
+ "pinned_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
},
- "additionalProperties": false,
- "required": [
- "country_prices"
- ]
- }
- },
- "items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItem"
- }
- },
- "type": {
- "type": "integer"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "base_variant_sku_id": {
- "type": "string"
- },
- "base_variant_name": {
- "type": "string"
- },
- "variant_label": {
- "type": "string"
- },
- "variant_value": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "base_variant_name",
- "base_variant_sku_id",
- "category_sku_id",
- "items",
- "name",
- "name_localizations",
- "premium_type",
- "prices",
- "sku_id",
- "store_listing_id",
- "summary",
- "summary_localizations",
- "type",
- "variant_label",
- "variant_value"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
+ {
+ "type": "null"
+ }
]
},
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "AnyShopBlock": {
- "anyOf": [
- {
- "$ref": "#/definitions/ItemRowShopBlock"
- },
- {
- "$ref": "#/definitions/BundleTileRowShopBlock"
+ "pinned": {
+ "type": "boolean"
},
- {
- "$ref": "#/definitions/ItemCollectionShopBlock"
- }
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
"type": {
- "type": "integer",
- "const": 0
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "banner_asset": {
- "$ref": "#/definitions/StaticAnimatedAsset"
- },
- "logo_url": {
- "type": "string"
+ "$ref": "#/definitions/MessageType"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
]
},
- "summary": {
- "type": "string"
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_asset",
- "category_sku_id",
- "category_store_listing_id",
- "logo_url",
- "name",
- "ranked_sku_ids",
- "summary",
- "type",
- "unpublished_at"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer",
- "const": 1
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
+ "flags": {
"type": "integer"
},
- "category_store_listing_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
- },
- "banner_url": {
- "type": "string"
- },
- "body_text": {
- "type": [
- "null",
- "string"
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
]
},
- "banner_text_color": {
- "type": [
- "null",
- "integer"
+ "referenced_message": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/Message"
+ },
+ {
+ "type": "null"
+ }
]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer",
- "const": 2
},
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "sorted_sku_ids": {
+ "interaction": {
"type": "object",
"properties": {
- "recommended": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
+ "id": {
+ "type": "string"
},
- "popular": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": [
- "null",
- "string"
+ "id",
+ "name",
+ "type"
]
},
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
+ "interaction_metadata": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "authorizing_integration_owners": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "name": {
+ "type": "string"
+ },
+ "command_type": {
+ "$ref": "#/definitions/ApplicationCommandType"
+ }
},
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
+ "additionalProperties": false,
+ "required": [
+ "authorizing_integration_owners",
+ "command_type",
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
},
- "webhooks": {
+ "components": {
"type": "array",
"items": {
- "$ref": "#/definitions/Webhook"
+ "$ref": "#/definitions/ActionRowComponent"
}
},
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen",
- "description": "DEPRECATED: Look at the new Guild onboarding screens."
+ "poll": {
+ "$ref": "#/definitions/Poll"
},
- "widget_channel_id": {
+ "username": {
"type": "string"
},
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
+ "avatar": {
"type": "string"
},
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
+ "message_snapshots": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/definitions/MessageSnapshot"
}
},
"id": {
@@ -8870,26 +7812,18 @@
},
"additionalProperties": false,
"required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
+ "channel",
+ "embeds",
+ "flags",
"id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "message_snapshots",
+ "pinned",
+ "reactions",
+ "timestamp",
+ "type"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
@@ -9386,6 +8320,171 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ActivityType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
"ClientStatus": {
"type": "object",
"properties": {
@@ -9405,6 +8504,17 @@
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
},
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
"ExtendedLocationInfo": {
"type": "object",
"properties": {
@@ -9835,396 +8945,330 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "SecurityKey": {
+ "CustomStatus": {
"type": "object",
"properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
+ "emoji_id": {
"type": "string"
},
- "public_key": {
+ "emoji_name": {
"type": "string"
},
- "counter": {
+ "expires_at": {
"type": "integer"
},
- "name": {
- "type": "string"
- },
- "id": {
+ "text": {
"type": "string"
}
},
"additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
"required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
+ "all"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "ChannelPermissionOverwrite": {
+ "GuildFolder": {
"type": "object",
"properties": {
- "allow": {
- "type": "string"
+ "color": {
+ "type": [
+ "null",
+ "integer"
+ ]
},
- "deny": {
- "type": "string"
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
"id": {
- "type": "string"
+ "type": [
+ "null",
+ "integer"
+ ]
},
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
}
},
"additionalProperties": false,
"required": [
- "allow",
- "deny",
- "id",
- "type"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ChannelPermissionOverwriteType": {
- "type": "number",
- "enum": [
- 0,
- 1,
- 2
+ "guild_ids"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Invite": {
+ "SecurityKey": {
"type": "object",
"properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
+ "user_id": {
"type": "string"
},
- "inviter": {
+ "user": {
"$ref": "#/definitions/User"
},
- "target_user_id": {
+ "key_id": {
"type": "string"
},
- "target_user": {
+ "public_key": {
"type": "string"
},
- "target_user_type": {
+ "counter": {
"type": "integer"
},
- "vanity_url": {
- "type": "boolean"
+ "name": {
+ "type": "string"
},
- "flags": {
- "type": "integer"
+ "id": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Message": {
+ "Guild": {
"type": "object",
"properties": {
- "channel_id": {
- "type": "string"
+ "afk_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
},
- "channel": {
+ "afk_channel": {
"$ref": "#/definitions/Channel"
},
- "guild_id": {
- "type": "string"
+ "afk_timeout": {
+ "type": "integer"
},
- "guild": {
- "$ref": "#/definitions/Guild"
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
},
- "author_id": {
+ "banner": {
"type": "string"
},
- "author": {
- "$ref": "#/definitions/User"
+ "default_message_notifications": {
+ "type": "integer"
},
- "member_id": {
+ "description": {
"type": "string"
},
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
+ "discovery_splash": {
"type": "string"
},
- "webhook": {
- "$ref": "#/definitions/Webhook"
+ "explicit_content_filter": {
+ "type": "integer"
},
- "application_id": {
- "type": "string"
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
},
- "application": {
- "$ref": "#/definitions/Application"
+ "primary_category_id": {
+ "type": "string"
},
- "content": {
+ "icon": {
"type": "string"
},
- "timestamp": {
- "type": "string",
- "format": "date-time"
+ "large": {
+ "type": "boolean",
+ "default": false
},
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
+ "max_members": {
+ "type": "integer"
},
- "tts": {
- "type": "boolean"
+ "max_presences": {
+ "type": "integer"
},
- "mention_everyone": {
- "type": "boolean"
+ "max_video_channel_users": {
+ "type": "integer"
},
- "mentions": {
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
"type": "array",
"items": {
- "$ref": "#/definitions/User"
+ "$ref": "#/definitions/Member"
}
},
- "mention_roles": {
+ "roles": {
"type": "array",
"items": {
"$ref": "#/definitions/Role"
}
},
- "mention_channels": {
+ "channels": {
"type": "array",
"items": {
"$ref": "#/definitions/Channel"
}
},
- "sticker_items": {
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
"type": "array",
"items": {
"$ref": "#/definitions/Sticker"
}
},
- "attachments": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Attachment"
+ "$ref": "#/definitions/Invite"
}
},
- "embeds": {
+ "voice_states": {
"type": "array",
"items": {
- "$ref": "#/definitions/Embed"
+ "$ref": "#/definitions/VoiceState"
}
},
- "reactions": {
+ "webhooks": {
"type": "array",
"items": {
- "$ref": "#/definitions/Reaction"
+ "$ref": "#/definitions/Webhook"
}
},
- "nonce": {
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
"type": "string"
},
- "pinned_at": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time"
- },
- {
- "type": "null"
- }
- ]
+ "owner_id": {
+ "type": "string"
},
- "pinned": {
- "type": "boolean"
+ "owner": {
+ "$ref": "#/definitions/User"
},
- "type": {
- "$ref": "#/definitions/MessageType"
+ "preferred_locale": {
+ "type": "string"
},
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
+ "premium_subscription_count": {
+ "type": "integer"
},
- "flags": {
+ "premium_tier": {
"type": "integer"
},
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
+ "public_updates_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "referenced_message": {
- "anyOf": [
- {
- "$ref": "#/definitions/Message"
- },
- {
- "type": "null"
- }
- ]
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
},
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
+ "rules_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "interaction_metadata": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "user_id": {
- "type": "string"
- },
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "name": {
- "type": "string"
- },
- "command_type": {
- "$ref": "#/definitions/ApplicationCommandType"
- }
- },
- "additionalProperties": false,
- "required": [
- "authorizing_integration_owners",
- "command_type",
- "id",
- "name",
- "type",
- "user_id"
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
},
- "poll": {
- "$ref": "#/definitions/Poll"
+ "system_channel_flags": {
+ "type": "integer"
},
- "username": {
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen",
+ "description": "DEPRECATED: Look at the new Guild onboarding screens."
+ },
+ "widget_channel_id": {
"type": "string"
},
- "avatar": {
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
"type": "string"
},
- "message_snapshots": {
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
"type": "array",
"items": {
- "$ref": "#/definitions/MessageSnapshot"
+ "type": "string"
}
},
"id": {
@@ -10233,18 +9277,69 @@
},
"additionalProperties": false,
"required": [
- "channel",
- "embeds",
- "flags",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
"id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "message_snapshots",
- "pinned",
- "reactions",
- "timestamp",
- "type"
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "user",
+ "user_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
@@ -10574,6 +9669,390 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "StickerType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "StickerFormatType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
"Webhook": {
"type": "object",
"properties": {
@@ -10910,82 +10389,116 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Sticker": {
+ "GuildWelcomeScreen": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
+ "enabled": {
"type": "boolean"
},
- "tags": {
+ "description": {
"type": "string"
},
- "pack_id": {
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
"type": "string"
},
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
+ "deny": {
"type": "string"
},
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
+ "id": {
"type": "string"
},
- "user": {
- "$ref": "#/definitions/User"
- },
"type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
}
},
"additionalProperties": false,
"required": [
- "format_type",
+ "allow",
+ "deny",
"id",
- "name",
- "pack",
"type"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "StickerPack": {
+ "ChannelPermissionOverwriteType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ReadState": {
"type": "object",
"properties": {
- "name": {
+ "channel_id": {
"type": "string"
},
- "description": {
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
"type": "string"
},
- "banner_asset_id": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
"type": "string"
},
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
+ "public_ack": {
+ "type": "string"
},
- "cover_sticker_id": {
+ "notifications_cursor": {
"type": "string"
},
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
},
"id": {
"type": "string"
@@ -10993,27 +10506,16 @@
},
"additionalProperties": false,
"required": [
+ "channel",
+ "channel_id",
"id",
- "name",
- "stickers"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "StickerType": {
- "type": "number",
- "enum": [
- 1,
- 2
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "StickerFormatType": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3,
- 4
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
@@ -11269,17 +10771,6 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "InteractionType": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
"ApplicationCommandType": {
"type": "number",
"enum": [
@@ -11805,341 +11296,1223 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "VoiceState": {
+ "InteractionGuild": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "locale": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "features",
+ "id",
+ "locale"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PublicMember": {
+ "additionalProperties": false,
"type": "object",
"properties": {
+ "id": {
+ "type": "string"
+ },
"guild_id": {
"type": "string"
},
- "guild": {
- "$ref": "#/definitions/Guild"
+ "mute": {
+ "type": "boolean"
},
- "channel_id": {
+ "deaf": {
+ "type": "boolean"
+ },
+ "nick": {
"type": "string"
},
- "channel": {
- "$ref": "#/definitions/Channel"
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
},
- "user_id": {
+ "pending": {
+ "type": "boolean"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
"type": "string"
},
+ "communication_disabled_until": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
"user": {
- "$ref": "#/definitions/User"
+ "$ref": "#/definitions/PublicUser"
},
- "member": {
- "$ref": "#/definitions/Member"
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild_id",
+ "id",
+ "joined_at",
+ "mute",
+ "pending",
+ "roles",
+ "user"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
+ "type": "string"
},
- "session_id": {
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
"type": "string"
},
- "token": {
+ "banner": {
"type": "string"
},
- "deaf": {
- "type": "boolean"
+ "bio": {
+ "type": "string"
},
- "mute": {
- "type": "boolean"
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
},
- "self_deaf": {
+ "pronouns": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "bot": {
"type": "boolean"
},
- "self_mute": {
+ "premium_type": {
+ "type": "integer"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GameActivity": {
+ "type": "object",
+ "properties": {
+ "activity_level": {
+ "type": "integer"
+ },
+ "activity_score": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activity_level",
+ "activity_score"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildBadgeType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildTrait": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "emoji_name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "emoji_animated": {
"type": "boolean"
},
- "self_stream": {
+ "label": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "emoji_animated",
+ "emoji_id",
+ "emoji_name",
+ "label",
+ "position"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildVisibilityLevel": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InstanceUserDeleteSchemaContent": {
+ "type": "object",
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "persistInstanceBan": {
"type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Classification": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "self_video": {
+ "classification_type": {
+ "$ref": "#/definitions/ClassificationType"
+ },
+ "description": {
+ "type": "string"
+ },
+ "explainer_link": {
+ "type": "string"
+ },
+ "actions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ClassificationAction"
+ }
+ },
+ "max_expiration_time": {
+ "type": "string"
+ },
+ "flagged_content": {
+ "type": "array",
+ "items": {}
+ },
+ "appeal_status": {
+ "$ref": "#/definitions/AppealStatus"
+ },
+ "is_coppa": {
"type": "boolean"
},
- "suppress": {
+ "is_spam": {
"type": "boolean"
},
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
+ "appeal_ingestion_type": {
+ "$ref": "#/definitions/AppealIngestionType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "actions",
+ "appeal_ingestion_type",
+ "appeal_status",
+ "classification_type",
+ "description",
+ "explainer_link",
+ "flagged_content",
+ "id",
+ "is_coppa",
+ "is_spam",
+ "max_expiration_time"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ClassificationType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 100,
+ 200,
+ 210,
+ 220,
+ 230,
+ 240,
+ 250,
+ 280,
+ 290,
+ 310,
+ 320,
+ 390,
+ 600,
+ 650,
+ 711,
+ 720,
+ 3010,
+ 3030,
+ 4000,
+ 4010,
+ 4130,
+ 4140,
+ 5010,
+ 5090,
+ 5305,
+ 5411,
+ 5440,
+ 5485
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ClassificationAction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "action_type": {
+ "$ref": "#/definitions/ClassificationActionType"
+ },
+ "descriptions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "action_type",
+ "descriptions",
+ "id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ClassificationActionType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 20,
+ 22
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AppealStatus": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/AppealStatusValue"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AppealStatusValue": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AppealIngestionType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildClassification": {
+ "type": "object",
+ "properties": {
+ "guild_metadata": {
+ "$ref": "#/definitions/GuildMetadata"
},
"id": {
"type": "string"
+ },
+ "classification_type": {
+ "$ref": "#/definitions/ClassificationType"
+ },
+ "description": {
+ "type": "string"
+ },
+ "explainer_link": {
+ "type": "string"
+ },
+ "actions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ClassificationAction"
+ }
+ },
+ "max_expiration_time": {
+ "type": "string"
+ },
+ "flagged_content": {
+ "type": "array",
+ "items": {}
+ },
+ "appeal_status": {
+ "$ref": "#/definitions/AppealStatus"
+ },
+ "is_coppa": {
+ "type": "boolean"
+ },
+ "is_spam": {
+ "type": "boolean"
+ },
+ "appeal_ingestion_type": {
+ "$ref": "#/definitions/AppealIngestionType"
}
},
"additionalProperties": false,
"required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
+ "actions",
+ "appeal_ingestion_type",
+ "appeal_status",
+ "classification_type",
+ "description",
+ "explainer_link",
+ "flagged_content",
+ "guild_metadata",
"id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
+ "is_coppa",
+ "is_spam",
+ "max_expiration_time"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "ReadState": {
+ "GuildMetadata": {
"type": "object",
"properties": {
- "channel_id": {
+ "name": {
"type": "string"
},
- "channel": {
- "$ref": "#/definitions/Channel"
+ "icon": {
+ "type": "string"
},
- "user_id": {
+ "member_type": {
+ "$ref": "#/definitions/GuildMemberType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "member_type",
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildMemberType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AccountStandingState": {
+ "type": "number",
+ "enum": [
+ 100,
+ 200,
+ 300,
+ 400,
+ 500
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AppealEligibility": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CollectiblesCategoryItem": {
+ "type": "object",
+ "properties": {
+ "sku_id": {
"type": "string"
},
- "user": {
- "$ref": "#/definitions/User"
+ "name": {
+ "type": "string"
},
- "last_message_id": {
+ "summary": {
"type": "string"
},
- "public_ack": {
+ "store_listing_id": {
"type": "string"
},
- "notifications_cursor": {
+ "banner": {
"type": "string"
},
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
+ "unpublished_at": {
+ "type": [
+ "null",
+ "string"
+ ]
},
- "mention_count": {
+ "styles": {
+ "$ref": "#/definitions/CollectiblesCategoryStyle"
+ },
+ "logo": {
+ "type": "string"
+ },
+ "hero_ranking": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "mobile_bg": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "pdp_bg": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "success_modal_bg": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "mobile_banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "featured_block": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "hero_banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "wide_banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "hero_logo": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CollectiblesCategoryProductItem"
+ }
+ },
+ "banner_asset": {
+ "$ref": "#/definitions/StaticAnimatedAsset"
+ },
+ "hero_banner_asset": {
+ "$ref": "#/definitions/StaticAnimatedAsset"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "featured_block",
+ "hero_banner",
+ "hero_logo",
+ "hero_ranking",
+ "logo",
+ "mobile_banner",
+ "mobile_bg",
+ "name",
+ "pdp_bg",
+ "products",
+ "sku_id",
+ "store_listing_id",
+ "styles",
+ "success_modal_bg",
+ "summary",
+ "unpublished_at",
+ "wide_banner"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CollectiblesCategoryStyle": {
+ "type": "object",
+ "properties": {
+ "background_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "button_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "confetti_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "background_colors",
+ "button_colors",
+ "confetti_colors"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CollectiblesCategoryProductItem": {
+ "type": "object",
+ "properties": {
+ "sku_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "store_listing_id": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unpublished_at": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "styles": {
+ "$ref": "#/definitions/CollectiblesCategoryStyle"
+ },
+ "prices": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "country_prices": {
+ "$ref": "#/definitions/CountryPrice"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "country_prices"
+ ]
+ }
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProductItem"
+ }
+ },
+ "type": {
"type": "integer"
},
- "manual": {
- "type": "boolean"
+ "premium_type": {
+ "type": "integer"
},
- "id": {
+ "category_sku_id": {
"type": "string"
+ },
+ "google_sku_ids": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "variants": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProductItemVariant"
+ }
}
},
"additionalProperties": false,
"required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
+ "banner",
+ "category_sku_id",
+ "google_sku_ids",
+ "items",
+ "name",
+ "premium_type",
+ "prices",
+ "sku_id",
+ "store_listing_id",
+ "styles",
+ "summary",
+ "type",
+ "unpublished_at"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Ban": {
+ "CountryPrice": {
"type": "object",
"properties": {
- "user_id": {
+ "country_code": {
"type": "string"
},
- "user": {
- "$ref": "#/definitions/User"
+ "prices": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PriceEntry"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "country_code",
+ "prices"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PriceEntry": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "integer"
},
- "guild_id": {
+ "currency": {
"type": "string"
},
- "guild": {
- "$ref": "#/definitions/Guild"
+ "exponent": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "amount",
+ "currency",
+ "exponent"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ProductItem": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
},
- "executor_id": {
+ "id": {
"type": "string"
},
- "executor": {
- "$ref": "#/definitions/User"
+ "sku_id": {
+ "type": "string"
},
- "ip": {
+ "asset": {
"type": "string"
},
- "reason": {
+ "label": {
"type": "string"
},
- "id": {
+ "palette": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
"id",
- "user",
- "user_id"
+ "sku_id",
+ "type"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Template": {
+ "ProductItemVariant": {
"type": "object",
"properties": {
- "code": {
+ "sku_id": {
"type": "string"
},
"name": {
"type": "string"
},
- "description": {
+ "name_localizations": {
+ "type": "null"
+ },
+ "summary": {
"type": "string"
},
- "usage_count": {
- "type": "integer"
+ "summary_localizations": {
+ "type": "null"
},
- "creator_id": {
+ "store_listing_id": {
"type": "string"
},
- "creator": {
- "$ref": "#/definitions/User"
+ "banner": {
+ "type": "string"
},
- "created_at": {
- "type": "string",
- "format": "date-time"
+ "unpublished_at": {
+ "type": [
+ "null",
+ "string"
+ ]
},
- "updated_at": {
- "type": "string",
- "format": "date-time"
+ "styles": {
+ "$ref": "#/definitions/CollectiblesCategoryStyle"
},
- "source_guild_id": {
+ "prices": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "country_prices": {
+ "$ref": "#/definitions/CountryPrice"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "country_prices"
+ ]
+ }
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProductItem"
+ }
+ },
+ "type": {
+ "type": "integer"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "category_sku_id": {
"type": "string"
},
- "source_guild": {
- "$ref": "#/definitions/Guild"
+ "google_sku_ids": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
},
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
+ "base_variant_sku_id": {
+ "type": "string"
},
- "id": {
+ "base_variant_name": {
+ "type": "string"
+ },
+ "variant_label": {
+ "type": "string"
+ },
+ "variant_value": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
+ "base_variant_name",
+ "base_variant_sku_id",
+ "category_sku_id",
+ "items",
"name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
+ "name_localizations",
+ "premium_type",
+ "prices",
+ "sku_id",
+ "store_listing_id",
+ "summary",
+ "summary_localizations",
+ "type",
+ "variant_label",
+ "variant_value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Emoji": {
+ "StaticAnimatedAsset": {
"type": "object",
"properties": {
"animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
+ "type": [
+ "null",
+ "string"
+ ]
},
- "guild_id": {
+ "static": {
"type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "static"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CollectiblesMarketingItem": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
},
- "guild": {
- "$ref": "#/definitions/Guild"
+ "version": {
+ "type": "integer"
},
- "user_id": {
+ "title": {
"type": "string"
},
- "user": {
- "$ref": "#/definitions/User"
+ "body": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "body",
+ "title",
+ "type",
+ "version"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AnyShopBlock": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ItemRowShopBlock"
},
- "managed": {
- "type": "boolean"
+ {
+ "$ref": "#/definitions/BundleTileRowShopBlock"
+ },
+ {
+ "$ref": "#/definitions/ItemCollectionShopBlock"
+ }
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ItemRowShopBlock": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer",
+ "const": 0
+ },
+ "category_sku_id": {
+ "type": "string"
},
"name": {
"type": "string"
},
- "require_colons": {
- "type": "boolean"
+ "category_store_listing_id": {
+ "type": "string"
},
- "roles": {
+ "banner_asset": {
+ "$ref": "#/definitions/StaticAnimatedAsset"
+ },
+ "logo_url": {
+ "type": "string"
+ },
+ "unpublished_at": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "summary": {
+ "type": "string"
+ },
+ "ranked_sku_ids": {
"type": "array",
"items": {
"type": "string"
}
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner_asset",
+ "category_sku_id",
+ "category_store_listing_id",
+ "logo_url",
+ "name",
+ "ranked_sku_ids",
+ "summary",
+ "type",
+ "unpublished_at"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BundleTileRowShopBlock": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer",
+ "const": 1
},
- "groups": {
+ "subblocks": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/definitions/ShopBlockSubBlock"
}
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "subblocks",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ShopBlockSubBlock": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
},
- "id": {
+ "category_store_listing_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "unpublished_at": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner_url": {
"type": "string"
+ },
+ "body_text": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner_text_color": {
+ "type": [
+ "null",
+ "integer"
+ ]
}
},
"additionalProperties": false,
"required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
+ "banner_text_color",
+ "banner_url",
+ "body_text",
+ "category_store_listing_id",
"name",
- "require_colons",
- "roles",
- "user",
- "user_id"
+ "type",
+ "unpublished_at"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "GuildWelcomeScreen": {
+ "ItemCollectionShopBlock": {
"type": "object",
"properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
+ "type": {
+ "type": "integer",
+ "const": 2
},
- "welcome_channels": {
+ "ranked_sku_ids": {
"type": "array",
"items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
+ "type": "string"
+ }
+ },
+ "sorted_sku_ids": {
+ "type": "object",
+ "properties": {
+ "recommended": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "popular": {
+ "type": "array",
+ "items": {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "popular",
+ "recommended"
+ ]
}
},
"additionalProperties": false,
"required": [
- "description",
- "enabled",
- "welcome_channels"
+ "ranked_sku_ids",
+ "sorted_sku_ids",
+ "type"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
@@ -12604,73 +12977,6 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
"GuildVanityUrl": {
"type": "object",
"properties": {
@@ -12701,12 +13007,6 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false,
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
"HubDirectoryEntry": {
"type": "object",
"properties": {
@@ -12783,7 +13083,7 @@
"length": {
"type": "integer"
},
- "__@unscopables@686": {
+ "__@unscopables@700": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
@@ -12912,17 +13212,17 @@
"remove": {
"type": "boolean"
},
- "__@iterator@653": {
+ "__@iterator@698": {
"type": "boolean"
},
- "__@unscopables@686": {
+ "__@unscopables@700": {
"type": "boolean"
}
}
}
},
"required": [
- "__@unscopables@686",
+ "__@unscopables@700",
"length"
]
},
@@ -13447,89 +13747,6 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "PublicMember": {
- "additionalProperties": false,
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "mute": {
- "type": "boolean"
- },
- "deaf": {
- "type": "boolean"
- },
- "nick": {
- "type": "string"
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "pending": {
- "type": "boolean"
- },
- "premium_since": {
- "type": "integer"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time"
- },
- {
- "type": "null"
- }
- ]
- },
- "user": {
- "$ref": "#/definitions/PublicUser"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild_id",
- "id",
- "joined_at",
- "mute",
- "pending",
- "roles",
- "user"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
"PublicMemberProfile": {
"additionalProperties": false,
"type": "object",
@@ -13611,222 +13828,5 @@
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
- },
- "UploadAttachmentRequest": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- },
- "file_size": {
- "type": "integer"
- },
- "is_clip": {
- "type": "boolean"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "file_size",
- "filename"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationCommandOption": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/ApplicationCommandOptionType"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "required": {
- "type": "boolean"
- },
- "choices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApplicationCommandOptionChoice"
- }
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApplicationCommandOption"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "name",
- "type"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationCommandOptionType": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationCommandOptionChoice": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": [
- "string",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationIntegrationType": {
- "type": "number",
- "enum": [
- 0,
- 1
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "InteractionContextType": {
- "type": "number",
- "enum": [
- 0,
- 1,
- 2
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record<string,boolean>"
- },
- "channels": {
- "$ref": "#/definitions/Record<string,boolean>"
- }
- },
- "additionalProperties": false,
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/UploadAttachmentRequestSchema"
- }
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApplicationCommandOption"
- }
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "InteractionCallbackType": {
- "type": "number",
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9,
- 10,
- 11,
- 12
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {
- "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```",
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
}
}
\ No newline at end of file
|