diff --git a/.husky/pre-commit b/.husky/pre-commit
index bc8bed76b..a41ec6295 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,6 +1,4 @@
-#!/usr/bin/env sh
#!nix-shell -i "bash" -p bash prefetch-npm-deps jq nodejs nix-output-monitor
-. "$(dirname -- "$0")/_/husky.sh"
# Check if nix is available
if [ -n "$(find "flake.lock" -mtime +7 -print)" ]; then
@@ -22,4 +20,4 @@ else
echo "Nix flake lock was updated less than 7 days ago. Skipping update."
fi
-npx -y lint-staged
\ No newline at end of file
+npx -y lint-staged
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 741d94a61..b9d89f055 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -12,6 +12,11 @@
+
+
+
+
+
+
+
-
-
@@ -143,7 +148,7 @@
-
+
@@ -177,6 +182,9 @@
+
+
+
diff --git a/assets/openapi.json b/assets/openapi.json
index d84e4b11c..342bd7dd2 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -30,2199 +30,2931 @@
}
},
"schemas": {
- "AckBulkSchema": {
- "type": "object",
- "properties": {
- "read_states": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "read_state_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_id",
- "read_state_type"
- ]
- }
- }
- },
- "required": [
- "read_states"
- ]
- },
- "Network.Headers": {
- "description": "Request / response headers as keys / values of JSON object.",
- "type": "object"
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
+ "CreateFingerprintResponse": {
"type": "object",
"properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
+ "fingerprint": {
"type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
}
},
"required": [
- "access_token",
- "fetched_at"
+ "fingerprint"
]
},
- "ChannelModifySchema": {
+ "ApplicationCommandSchema": {
"type": "object",
"properties": {
- "name": {
- "maxLength": 100,
+ "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": [
- 0,
1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
2,
- 255,
3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
+ 4
],
"type": "number"
},
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": "string",
- "nullable": true
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
+ "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"
},
- "id": {
+ "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"
},
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
+ "name": {
"type": "string"
},
- "default_auto_archive_duration": {
- "type": "integer"
+ "name_localizations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
},
- "default_reaction_emoji": {
+ "name_localized": {
"type": "string",
"nullable": true
},
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
+ "description": {
+ "type": "string"
},
- "video_quality_mode": {
- "type": "integer"
- }
- }
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
+ "description_localizations": {
"type": "object",
"additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
+ "type": "string"
}
},
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
+ "description_localized": {
+ "type": "string",
+ "nullable": true
},
- "members": {
+ "options": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/ApplicationCommandOption"
}
},
- "member_updates": {
- "type": "boolean"
+ "default_member_permissions": {
+ "type": "string",
+ "nullable": true
},
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- }
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
+ "dm_permission": {
"type": "boolean"
},
- "status": {
- "$ref": "#/components/schemas/Status"
+ "permissions": {
+ "$ref": "#/components/schemas/ApplicationCommandIndexPermissions"
},
- "activities": {
+ "nsfw": {
+ "type": "boolean"
+ },
+ "integration_types": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Activity"
+ "$ref": "#/components/schemas/ApplicationIntegrationType"
}
},
- "since": {
+ "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": [
- "status"
+ "application_id",
+ "default_member_permissions",
+ "description",
+ "name",
+ "version"
]
},
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
+ "ConnectedAccountCommonOAuthTokenResponse": {
"type": "object",
"properties": {
- "name": {
+ "access_token": {
"type": "string"
},
- "type": {
- "$ref": "#/components/schemas/ActivityType"
+ "token_type": {
+ "type": "string"
},
- "url": {
+ "scope": {
"type": "string"
},
- "created_at": {
- "type": "integer"
+ "refresh_token": {
+ "type": "string"
},
- "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"
+ "expires_in": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "access_token",
+ "scope",
+ "token_type"
+ ]
+ },
+ "SupabaseResponse": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "integer"
},
- "emoji": {
+ "error": {
"type": "object",
"properties": {
- "name": {
+ "message": {
"type": "string"
},
- "id": {
+ "code": {
"type": "string"
},
- "animated": {
- "type": "boolean"
- }
+ "details": {}
},
"additionalProperties": false,
"required": [
- "animated",
- "name"
+ "message"
]
+ }
+ }
+ },
+ "JsonRpcResponse": {
+ "description": "JSON-RPC 2.0 response object",
+ "type": "object",
+ "properties": {
+ "jsonrpc": {
+ "type": "string",
+ "const": "2.0"
},
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "id": {
+ "type": "string",
+ "nullable": true
+ },
+ "result": {},
+ "error": {
+ "description": "JSON-RPC 2.0 error object",
+ "$ref": "#/components/schemas/JsonRpcError"
+ }
+ },
+ "required": [
+ "id",
+ "jsonrpc"
+ ]
+ },
+ "OpenAiResponse": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/OpenAiChatCompletionObject"
+ },
+ {
+ "$ref": "#/components/schemas/OpenAIResponseObject"
+ },
+ {
+ "$ref": "#/components/schemas/OpenAICreateEmbeddingsObject"
+ },
+ {
+ "$ref": "#/components/schemas/OpenAIConversationObject"
+ }
+ ]
+ },
+ "SuccessfulResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "created": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "enum": [
+ "assistant",
+ "user"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {}
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
},
- "size": {
+ "additionalProperties": false,
+ "required": [
+ "content",
+ "role"
+ ]
+ }
+ },
+ "content": {
+ "anyOf": [
+ {
"type": "array",
"items": {
- "type": "integer"
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "name": {
+ "description": "Tool name when type is tool_use",
+ "type": "string"
+ },
+ "id": {
+ "description": "Tool invocation id when type is tool_use",
+ "type": "string"
+ },
+ "input": {
+ "$ref": "#/components/schemas/Record"
+ },
+ "tool_use_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "type"
+ ]
}
+ },
+ {
+ "type": "string"
}
- },
- "additionalProperties": false
+ ]
},
- "assets": {
+ "completion": {
+ "type": "string"
+ },
+ "input_tokens": {
+ "type": "integer"
+ },
+ "usage": {
"type": "object",
"properties": {
- "large_image": {
- "type": "string"
+ "input_tokens": {
+ "type": "integer"
},
- "large_text": {
- "type": "string"
+ "output_tokens": {
+ "type": "integer"
},
- "small_image": {
- "type": "string"
+ "cache_creation_input_tokens": {
+ "type": "integer"
},
- "small_text": {
- "type": "string"
+ "cache_read_input_tokens": {
+ "type": "integer"
}
},
- "additionalProperties": false
- },
- "secrets": {
+ "additionalProperties": false,
+ "required": [
+ "cache_creation_input_tokens",
+ "cache_read_input_tokens",
+ "input_tokens",
+ "output_tokens"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "model"
+ ]
+ },
+ "AnthropicAiResponse": {
+ "anyOf": [
+ {
"type": "object",
"properties": {
- "join": {
- "type": "string"
+ "type": {
+ "type": "string",
+ "const": "error"
},
- "spectate": {
- "type": "string"
+ "error": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message",
+ "type"
+ ]
},
- "match": {
+ "request_id": {
"type": "string"
}
},
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
+ "additionalProperties": false,
+ "required": [
+ "error",
+ "request_id",
+ "type"
+ ]
},
- "metadata": {
+ {
"type": "object",
+ "additionalProperties": {},
"properties": {
- "context_uri": {
+ "id": {
"type": "string"
},
- "album_id": {
+ "model": {
"type": "string"
},
- "artist_ids": {
+ "created": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "messages": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "properties": {
+ "role": {
+ "enum": [
+ "assistant",
+ "user"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {}
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "content",
+ "role"
+ ]
}
+ },
+ "content": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "name": {
+ "description": "Tool name when type is tool_use",
+ "type": "string"
+ },
+ "id": {
+ "description": "Tool invocation id when type is tool_use",
+ "type": "string"
+ },
+ "input": {
+ "$ref": "#/components/schemas/Record"
+ },
+ "tool_use_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "type"
+ ]
+ }
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "completion": {
+ "type": "string"
+ },
+ "input_tokens": {
+ "type": "integer"
+ },
+ "usage": {
+ "type": "object",
+ "properties": {
+ "input_tokens": {
+ "type": "integer"
+ },
+ "output_tokens": {
+ "type": "integer"
+ },
+ "cache_creation_input_tokens": {
+ "type": "integer"
+ },
+ "cache_read_input_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "cache_creation_input_tokens",
+ "cache_read_input_tokens",
+ "input_tokens",
+ "output_tokens"
+ ]
}
},
- "additionalProperties": false,
"required": [
- "album_id",
- "artist_ids"
+ "id",
+ "model"
]
- },
- "session_id": {
- "type": "string"
}
- },
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
]
},
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
+ "GenerateContentResponse": {
+ "description": "Google GenAI Generate Content Response",
"type": "object",
"properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
+ "candidates": {
+ "description": "Response variations returned by the model.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Candidate",
+ "type": "object",
+ "additionalProperties": {},
+ "properties": {
+ "content": {
+ "description": "Contains the multi-part content of the response.",
+ "type": "object",
+ "properties": {
+ "parts": {
+ "description": "List of parts that constitute a single message.\nEach part may have a different IANA MIME type.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content Part",
+ "type": "object",
+ "properties": {
+ "videoMetadata": {
+ "description": "Metadata for a given video."
+ },
+ "thought": {
+ "description": "Indicates if the part is thought from the model.",
+ "type": "boolean"
+ },
+ "inlineData": {
+ "description": "Optional. Inlined bytes data.",
+ "$ref": "#/components/schemas/Blob"
+ },
+ "fileData": {
+ "description": "Optional. URI based data."
+ },
+ "thoughtSignature": {
+ "description": "An opaque signature for the thought so it can be reused in subsequent requests.",
+ "type": "string"
+ },
+ "functionCall": {
+ "description": "A predicted [FunctionCall] returned from the model that contains a string\n representing the [FunctionDeclaration.name] and a structured JSON object\n containing the parameters and their values.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique id of the function call. If populated, the client to execute the\n`function_call` and return the response with the matching `id`.",
+ "type": "string"
+ },
+ "args": {
+ "description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
+ "$ref": "#/components/schemas/Record"
+ },
+ "name": {
+ "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name].",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "codeExecutionResult": {
+ "description": "Optional. Result of executing the [ExecutableCode]."
+ },
+ "executableCode": {
+ "description": "Optional. Code generated by the model that is meant to be executed."
+ },
+ "functionResponse": {
+ "description": "Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model."
+ },
+ "text": {
+ "description": "Optional. Text part (can be code).",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "role": {
+ "description": "Optional. The producer of the content. Must be either 'user' or\n'model'. Useful to set for multi-turn conversations, otherwise can be\nempty. If role is not specified, SDK will determine the role.",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "finishReason": {
+ "description": "The reason why the model stopped generating tokens.\nIf empty, the model has not stopped generating the tokens.",
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens for this candidate.",
+ "type": "integer"
+ },
+ "index": {
+ "description": "The index of the candidate.",
+ "type": "integer"
+ }
+ }
+ }
},
- "description": {
- "type": "string"
+ "automaticFunctionCallingHistory": {
+ "description": "Timestamp when the request is made to the server.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content",
+ "type": "object",
+ "properties": {
+ "parts": {
+ "description": "List of parts that constitute a single message.\nEach part may have a different IANA MIME type.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content Part",
+ "type": "object",
+ "properties": {
+ "videoMetadata": {
+ "description": "Metadata for a given video."
+ },
+ "thought": {
+ "description": "Indicates if the part is thought from the model.",
+ "type": "boolean"
+ },
+ "inlineData": {
+ "description": "Optional. Inlined bytes data.",
+ "$ref": "#/components/schemas/Blob"
+ },
+ "fileData": {
+ "description": "Optional. URI based data."
+ },
+ "thoughtSignature": {
+ "description": "An opaque signature for the thought so it can be reused in subsequent requests.",
+ "type": "string"
+ },
+ "functionCall": {
+ "description": "A predicted [FunctionCall] returned from the model that contains a string\n representing the [FunctionDeclaration.name] and a structured JSON object\n containing the parameters and their values.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique id of the function call. If populated, the client to execute the\n`function_call` and return the response with the matching `id`.",
+ "type": "string"
+ },
+ "args": {
+ "description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
+ "$ref": "#/components/schemas/Record"
+ },
+ "name": {
+ "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name].",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "codeExecutionResult": {
+ "description": "Optional. Result of executing the [ExecutableCode]."
+ },
+ "executableCode": {
+ "description": "Optional. Code generated by the model that is meant to be executed."
+ },
+ "functionResponse": {
+ "description": "Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model."
+ },
+ "text": {
+ "description": "Optional. Text part (can be code).",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "role": {
+ "description": "Optional. The producer of the content. Must be either 'user' or\n'model'. Useful to set for multi-turn conversations, otherwise can be\nempty. If role is not specified, SDK will determine the role.",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
},
- "url": {
+ "modelVersion": {
+ "description": "Output only. The model version used to generate the response.",
"type": "string"
},
- "timestamp": {
- "type": "string",
- "format": "date-time"
+ "promptFeedback": {
+ "description": "Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.",
+ "$ref": "#/components/schemas/Record"
},
- "color": {
- "type": "integer"
+ "responseId": {
+ "description": "Output only. response_id is used to identify each response. It is the encoding of the event_id.",
+ "type": "string"
},
- "footer": {
+ "usageMetadata": {
+ "description": "Usage metadata about the response(s).",
"type": "object",
+ "additionalProperties": {},
"properties": {
- "text": {
- "type": "string"
+ "cacheTokensDetails": {
+ "description": "Output only. List of modalities of the cached content in the request input.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
},
- "icon_url": {
- "type": "string"
+ "cachedContentTokenCount": {
+ "description": "Output only. Number of tokens in the cached part in the input (the cached content).",
+ "type": "integer"
},
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/components/schemas/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/components/schemas/EmbedImage"
- },
- "video": {
- "$ref": "#/components/schemas/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
+ "candidatesTokenCount": {
+ "description": "Number of tokens in the response(s).",
+ "type": "integer"
},
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
+ "candidatesTokensDetails": {
+ "description": "Output only. List of modalities that were returned in the response.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
},
- "url": {
- "type": "string"
+ "promptTokenCount": {
+ "description": "Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.",
+ "type": "integer"
},
- "icon_url": {
- "type": "string"
+ "promptTokensDetails": {
+ "description": "Output only. List of modalities that were processed in the request input.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
},
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
+ "thoughtsTokenCount": {
+ "description": "Output only. Number of tokens present in thoughts output.",
+ "type": "integer"
+ },
+ "toolUsePromptTokenCount": {
+ "description": "Output only. Number of tokens present in tool-use prompt(s).",
+ "type": "integer"
+ },
+ "toolUsePromptTokensDetails": {
+ "description": "Output only. List of modalities that were processed for tool-use request inputs.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
}
},
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
+ "totalTokenCount": {
+ "description": "Total token count for prompt, response candidates, and tool-use prompts (if present).",
+ "type": "integer"
+ }
}
}
}
},
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- }
- },
- "ActionRowComponent": {
+ "GoogleGenAIResponse": {
+ "description": "Google GenAI Generate Content Response",
"type": "object",
"properties": {
- "type": {
- "$ref": "#/components/schemas/MessageComponentType.ActionRow"
- },
- "components": {
+ "candidates": {
+ "description": "Response variations returned by the model.",
"type": "array",
"items": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/ButtonComponent"
+ "description": "Google GenAI Candidate",
+ "type": "object",
+ "additionalProperties": {},
+ "properties": {
+ "content": {
+ "description": "Contains the multi-part content of the response.",
+ "type": "object",
+ "properties": {
+ "parts": {
+ "description": "List of parts that constitute a single message.\nEach part may have a different IANA MIME type.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content Part",
+ "type": "object",
+ "properties": {
+ "videoMetadata": {
+ "description": "Metadata for a given video."
+ },
+ "thought": {
+ "description": "Indicates if the part is thought from the model.",
+ "type": "boolean"
+ },
+ "inlineData": {
+ "description": "Optional. Inlined bytes data.",
+ "$ref": "#/components/schemas/Blob"
+ },
+ "fileData": {
+ "description": "Optional. URI based data."
+ },
+ "thoughtSignature": {
+ "description": "An opaque signature for the thought so it can be reused in subsequent requests.",
+ "type": "string"
+ },
+ "functionCall": {
+ "description": "A predicted [FunctionCall] returned from the model that contains a string\n representing the [FunctionDeclaration.name] and a structured JSON object\n containing the parameters and their values.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique id of the function call. If populated, the client to execute the\n`function_call` and return the response with the matching `id`.",
+ "type": "string"
+ },
+ "args": {
+ "description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
+ "$ref": "#/components/schemas/Record"
+ },
+ "name": {
+ "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name].",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "codeExecutionResult": {
+ "description": "Optional. Result of executing the [ExecutableCode]."
+ },
+ "executableCode": {
+ "description": "Optional. Code generated by the model that is meant to be executed."
+ },
+ "functionResponse": {
+ "description": "Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model."
+ },
+ "text": {
+ "description": "Optional. Text part (can be code).",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "role": {
+ "description": "Optional. The producer of the content. Must be either 'user' or\n'model'. Useful to set for multi-turn conversations, otherwise can be\nempty. If role is not specified, SDK will determine the role.",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
},
- {
- "$ref": "#/components/schemas/SelectMenuComponent"
+ "finishReason": {
+ "description": "The reason why the model stopped generating tokens.\nIf empty, the model has not stopped generating the tokens.",
+ "type": "string"
},
- {
- "$ref": "#/components/schemas/StringSelectMenuComponent"
+ "tokenCount": {
+ "description": "Number of tokens for this candidate.",
+ "type": "integer"
},
- {
- "$ref": "#/components/schemas/TextInputComponent"
+ "index": {
+ "description": "The index of the candidate.",
+ "type": "integer"
}
- ]
+ }
}
- }
- },
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/components/schemas/MessageComponentType.Button"
},
- "style": {
- "$ref": "#/components/schemas/ButtonStyle"
+ "automaticFunctionCallingHistory": {
+ "description": "Timestamp when the request is made to the server.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content",
+ "type": "object",
+ "properties": {
+ "parts": {
+ "description": "List of parts that constitute a single message.\nEach part may have a different IANA MIME type.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content Part",
+ "type": "object",
+ "properties": {
+ "videoMetadata": {
+ "description": "Metadata for a given video."
+ },
+ "thought": {
+ "description": "Indicates if the part is thought from the model.",
+ "type": "boolean"
+ },
+ "inlineData": {
+ "description": "Optional. Inlined bytes data.",
+ "$ref": "#/components/schemas/Blob"
+ },
+ "fileData": {
+ "description": "Optional. URI based data."
+ },
+ "thoughtSignature": {
+ "description": "An opaque signature for the thought so it can be reused in subsequent requests.",
+ "type": "string"
+ },
+ "functionCall": {
+ "description": "A predicted [FunctionCall] returned from the model that contains a string\n representing the [FunctionDeclaration.name] and a structured JSON object\n containing the parameters and their values.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique id of the function call. If populated, the client to execute the\n`function_call` and return the response with the matching `id`.",
+ "type": "string"
+ },
+ "args": {
+ "description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
+ "$ref": "#/components/schemas/Record"
+ },
+ "name": {
+ "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name].",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "codeExecutionResult": {
+ "description": "Optional. Result of executing the [ExecutableCode]."
+ },
+ "executableCode": {
+ "description": "Optional. Code generated by the model that is meant to be executed."
+ },
+ "functionResponse": {
+ "description": "Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model."
+ },
+ "text": {
+ "description": "Optional. Text part (can be code).",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "role": {
+ "description": "Optional. The producer of the content. Must be either 'user' or\n'model'. Useful to set for multi-turn conversations, otherwise can be\nempty. If role is not specified, SDK will determine the role.",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
},
- "label": {
+ "modelVersion": {
+ "description": "Output only. The model version used to generate the response.",
"type": "string"
},
- "emoji": {
- "$ref": "#/components/schemas/PartialEmoji"
+ "promptFeedback": {
+ "description": "Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.",
+ "$ref": "#/components/schemas/Record"
},
- "custom_id": {
+ "responseId": {
+ "description": "Output only. response_id is used to identify each response. It is the encoding of the event_id.",
"type": "string"
},
- "sku_id": {
- "type": "string"
+ "usageMetadata": {
+ "description": "Usage metadata about the response(s).",
+ "type": "object",
+ "additionalProperties": {},
+ "properties": {
+ "cacheTokensDetails": {
+ "description": "Output only. List of modalities of the cached content in the request input.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "cachedContentTokenCount": {
+ "description": "Output only. Number of tokens in the cached part in the input (the cached content).",
+ "type": "integer"
+ },
+ "candidatesTokenCount": {
+ "description": "Number of tokens in the response(s).",
+ "type": "integer"
+ },
+ "candidatesTokensDetails": {
+ "description": "Output only. List of modalities that were returned in the response.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "promptTokenCount": {
+ "description": "Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.",
+ "type": "integer"
+ },
+ "promptTokensDetails": {
+ "description": "Output only. List of modalities that were processed in the request input.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "thoughtsTokenCount": {
+ "description": "Output only. Number of tokens present in thoughts output.",
+ "type": "integer"
+ },
+ "toolUsePromptTokenCount": {
+ "description": "Output only. Number of tokens present in tool-use prompt(s).",
+ "type": "integer"
+ },
+ "toolUsePromptTokensDetails": {
+ "description": "Output only. List of modalities that were processed for tool-use request inputs.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "totalTokenCount": {
+ "description": "Total token count for prompt, response candidates, and tool-use prompts (if present).",
+ "type": "integer"
+ }
+ }
+ }
+ }
+ },
+ "UndiciResponse": {
+ "type": "object",
+ "properties": {
+ "headers": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[0-9]+$": {
+ "type": "integer"
+ }
+ },
+ "properties": {
+ "BYTES_PER_ELEMENT": {
+ "type": "integer"
+ },
+ "buffer": {
+ "$ref": "#/components/schemas/ArrayBufferLike"
+ },
+ "byteLength": {
+ "type": "integer"
+ },
+ "byteOffset": {
+ "type": "integer"
+ },
+ "length": {
+ "type": "integer"
+ },
+ "__@toStringTag@1293": {
+ "type": "string",
+ "const": "Uint8Array"
+ }
+ },
+ "required": [
+ "BYTES_PER_ELEMENT",
+ "__@toStringTag@1293",
+ "buffer",
+ "byteLength",
+ "byteOffset",
+ "length"
+ ]
+ }
},
- "url": {
- "type": "string"
+ "statusCode": {
+ "type": "integer"
},
- "disabled": {
- "type": "boolean"
+ "statusText": {
+ "type": "string"
}
},
"required": [
- "style",
- "type"
+ "headers",
+ "statusCode",
+ "statusText"
]
},
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
+ "CopyResponse": {
+ "type": "object",
+ "properties": {
+ "length": {
+ "type": "integer"
+ },
+ "name": {
+ "$ref": "#/components/schemas/MessageName"
+ },
+ "binary": {
+ "type": "boolean"
+ },
+ "columnTypes": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "required": [
+ "binary",
+ "columnTypes",
+ "length",
+ "name"
]
},
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
+ "RouteResponse": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "integer"
+ },
+ "body": {
+ "type": "string",
+ "pattern": "^.*Response$"
+ },
+ "headers": {
+ "$ref": "#/components/schemas/Record"
+ }
+ }
},
- "PartialEmoji": {
+ "FieldErrorResponse": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
+ "code": {
+ "type": "integer"
},
- "name": {
+ "message": {
"type": "string"
},
- "animated": {
- "type": "boolean"
+ "errors": {
+ "$ref": "#/components/schemas/ErrorList"
}
},
"required": [
- "name"
+ "code",
+ "errors",
+ "message"
]
},
- "SelectMenuComponent": {
+ "InteractionSchema": {
"type": "object",
"properties": {
"type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
+ "$ref": "#/components/schemas/InteractionType"
},
- "custom_id": {
+ "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"
},
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
+ "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"
},
- "placeholder": {
+ "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"
},
- "default_values": {
+ "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": {
- "$ref": "#/components/schemas/SelectMenuDefaultOption"
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
}
},
- "min_values": {
- "type": "integer"
+ "nonce": {
+ "type": "string"
},
- "max_values": {
- "type": "integer"
+ "analytics_location": {
+ "type": "string"
},
- "disabled": {
- "type": "boolean"
+ "section_name": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
}
},
"required": [
- "custom_id",
+ "application_id",
+ "channel_id",
+ "data",
"type"
]
},
- "SelectMenuDefaultOption": {
+ "InteractionCallbackSchema": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
- },
"type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
+ "$ref": "#/components/schemas/InteractionCallbackType"
+ },
+ "data": {
+ "$ref": "#/components/schemas/Message"
}
},
"required": [
- "id",
+ "data",
"type"
]
},
- "StringSelectMenuComponent": {
+ "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/MessageComponentType.StringSelect"
+ "$ref": "#/components/schemas/InteractionType"
},
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/SelectMenuOption"
- }
+ "token": {
+ "type": "string"
},
- "custom_id": {
+ "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"
},
- "channel_types": {
+ "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": "integer"
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
}
},
- "placeholder": {
- "type": "string"
- },
- "default_values": {
+ "entitlement_sku_ids": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/SelectMenuDefaultOption"
+ "type": "string"
}
},
- "min_values": {
- "type": "integer"
+ "authorizing_integration_owners": {
+ "type": "object",
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[0-9]+$": {
+ "type": "string"
+ }
+ }
},
- "max_values": {
+ "context": {
"type": "integer"
},
- "disabled": {
- "type": "boolean"
+ "attachment_size_limit": {
+ "type": "integer"
}
},
"required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
+ "app_permissions",
+ "application_id",
+ "attachment_size_limit",
+ "id",
+ "token",
+ "type",
+ "version"
]
},
- "SelectMenuOption": {
+ "ApplicationCreateSchema": {
"type": "object",
"properties": {
- "label": {
- "type": "string"
- },
- "value": {
+ "name": {
"type": "string"
},
- "description": {
+ "team_id": {
"type": "string"
- },
- "emoji": {
- "$ref": "#/components/schemas/PartialEmoji"
- },
- "default": {
- "type": "boolean"
}
},
"required": [
- "label",
- "value"
+ "name"
]
},
- "TextInputComponent": {
+ "ApplicationModifySchema": {
"type": "object",
"properties": {
- "type": {
- "$ref": "#/components/schemas/MessageComponentType.TextInput"
- },
- "custom_id": {
+ "description": {
"type": "string"
},
- "style": {
- "$ref": "#/components/schemas/TextInputStyle"
+ "icon": {
+ "type": "string"
},
- "label": {
+ "cover_image": {
"type": "string"
},
- "min_length": {
- "type": "integer"
+ "interactions_endpoint_url": {
+ "type": "string"
},
- "max_length": {
- "type": "integer"
+ "max_participants": {
+ "type": "integer",
+ "nullable": true
},
- "required": {
- "type": "boolean"
+ "name": {
+ "type": "string"
},
- "value": {
+ "privacy_policy_url": {
"type": "string"
},
- "placeholder": {
+ "role_connections_verification_url": {
"type": "string"
- }
- },
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/components/schemas/PollMedia"
},
- "answers": {
+ "tags": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/PollAnswer"
+ "type": "string"
}
},
- "duration": {
- "type": "integer"
+ "terms_of_service_url": {
+ "type": "string"
},
- "allow_multiselect": {
+ "bot_public": {
"type": "boolean"
},
- "layout_type": {
+ "bot_require_code_grant": {
+ "type": "boolean"
+ },
+ "flags": {
"type": "integer"
- }
- },
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
+ },
+ "custom_install_url": {
"type": "string"
},
- "emoji": {
- "$ref": "#/components/schemas/PartialEmoji"
+ "guild_id": {
+ "type": "string"
}
}
},
- "PollAnswer": {
+ "SendableApplicationCommandDataSchema": {
"type": "object",
"properties": {
- "answer_id": {
+ "id": {
+ "$ref": "#/components/schemas/Snowflake"
+ },
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "name": {
"type": "string"
},
- "poll_media": {
- "$ref": "#/components/schemas/PollMedia"
+ "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": [
- "poll_media"
+ "id",
+ "name",
+ "version"
]
},
- "APIErrorResponse": {
+ "SendableMessageComponentDataSchema": {
"type": "object",
"properties": {
- "code": {
- "type": "integer"
+ "component_type": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
},
- "message": {
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "custom_id": {
"type": "string"
},
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
+ "values": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
}
},
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Snowflake"
+ }
+ }
+ ]
}
},
"required": [
- "code",
- "errors",
- "message"
+ "custom_id"
]
},
- "CaptchaRequiredResponse": {
+ "SendableModalSubmitDataSchema": {
"type": "object",
"properties": {
- "captcha_key": {
- "type": "string"
+ "id": {
+ "$ref": "#/components/schemas/Snowflake"
},
- "captcha_sitekey": {
+ "custom_id": {
"type": "string"
},
- "captcha_service": {
- "type": "string"
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/UploadAttachmentRequestSchema"
+ }
}
},
"required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
+ "custom_id",
+ "id"
]
},
- "Guild": {
+ "GuildProfileResponse": {
"type": "object",
"properties": {
- "afk_channel_id": {
+ "id": {
"type": "string"
},
- "afk_channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "afk_timeout": {
- "type": "integer"
+ "name": {
+ "type": "string"
},
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Ban"
- }
+ "icon_hash": {
+ "type": "string",
+ "nullable": true
},
- "banner": {
- "type": "string"
+ "member_count": {
+ "type": "integer"
},
- "default_message_notifications": {
+ "online_count": {
"type": "integer"
},
"description": {
"type": "string"
},
- "discovery_splash": {
+ "brand_color_primary": {
"type": "string"
},
- "explicit_content_filter": {
- "type": "integer"
+ "banner_hash": {
+ "type": "string",
+ "nullable": true
},
- "features": {
+ "game_application_ids": {
"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"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Member"
}
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Role"
+ "game_activity": {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/components/schemas/GameActivity"
}
},
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Channel"
- }
+ "tag": {
+ "type": "string",
+ "nullable": true
},
- "template_id": {
+ "badge": {
+ "$ref": "#/components/schemas/GuildBadgeType"
+ },
+ "badge_color_primary": {
"type": "string"
},
- "template": {
- "$ref": "#/components/schemas/Template"
+ "badge_color_secondary": {
+ "type": "string"
},
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Emoji"
- }
+ "badge_hash": {
+ "type": "string"
},
- "stickers": {
+ "traits": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Sticker"
+ "$ref": "#/components/schemas/GuildTrait"
}
},
- "invites": {
+ "features": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Invite"
+ "type": "string"
}
},
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/VoiceState"
- }
+ "visibility": {
+ "$ref": "#/components/schemas/GuildVisibilityLevel"
},
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Webhook"
- }
+ "custom_banner_hash": {
+ "type": "string",
+ "nullable": true
},
- "mfa_level": {
+ "premium_subscription_count": {
"type": "integer"
},
- "name": {
+ "premium_tier": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "badge",
+ "badge_color_primary",
+ "badge_color_secondary",
+ "badge_hash",
+ "banner_hash",
+ "brand_color_primary",
+ "custom_banner_hash",
+ "description",
+ "features",
+ "game_activity",
+ "game_application_ids",
+ "icon_hash",
+ "id",
+ "member_count",
+ "name",
+ "online_count",
+ "premium_subscription_count",
+ "premium_tier",
+ "tag",
+ "traits",
+ "visibility"
+ ]
+ },
+ "GuildAvailableSchema": {
+ "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"
},
- "owner_id": {
- "type": "string"
+ "available": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "available",
+ "id"
+ ]
+ },
+ "InstanceUserDeleteSchema": {
+ "$ref": "#/components/schemas/InstanceUserDeleteSchemaContent"
+ },
+ "UserSettingsUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "afk_timeout": {
+ "type": "integer"
},
- "owner": {
- "$ref": "#/components/schemas/User"
+ "allow_accessibility_detection": {
+ "type": "boolean"
},
- "preferred_locale": {
- "type": "string"
+ "animate_emoji": {
+ "type": "boolean"
},
- "premium_subscription_count": {
+ "animate_stickers": {
"type": "integer"
},
- "premium_tier": {
- "type": "integer"
+ "contact_sync_enabled": {
+ "type": "boolean"
},
- "public_updates_channel_id": {
- "type": "string"
+ "convert_emoticons": {
+ "type": "boolean"
},
- "public_updates_channel": {
- "$ref": "#/components/schemas/Channel"
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "rules_channel_id": {
- "type": "string"
+ "default_guilds_restricted": {
+ "type": "boolean"
},
- "rules_channel": {
- "type": "string"
+ "detect_platform_accounts": {
+ "type": "boolean"
},
- "region": {
- "type": "string"
+ "developer_mode": {
+ "type": "boolean"
},
- "splash": {
- "type": "string"
+ "disable_games_tab": {
+ "type": "boolean"
},
- "system_channel_id": {
- "type": "string"
+ "enable_tts_command": {
+ "type": "boolean"
},
- "system_channel": {
- "$ref": "#/components/schemas/Channel"
+ "explicit_content_filter": {
+ "type": "integer"
},
- "system_channel_flags": {
+ "friend_discovery_flags": {
"type": "integer"
},
- "unavailable": {
- "type": "boolean",
- "default": false
+ "friend_source_flags": {
+ "$ref": "#/components/schemas/FriendSourceFlags"
},
- "verification_level": {
- "type": "integer"
+ "gateway_connected": {
+ "type": "boolean"
},
- "welcome_screen": {
- "$ref": "#/components/schemas/GuildWelcomeScreen",
- "description": "DEPRECATED: Look at the new Guild onboarding screens."
- },
- "widget_channel_id": {
- "type": "string"
+ "gif_auto_play": {
+ "type": "boolean"
},
- "widget_channel": {
- "$ref": "#/components/schemas/Channel"
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/GuildFolder"
+ }
},
- "widget_enabled": {
- "type": "boolean",
- "default": true
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "nsfw_level": {
- "type": "integer"
+ "inline_attachment_media": {
+ "type": "boolean"
},
- "nsfw": {
- "type": "boolean",
- "default": false
+ "inline_embed_media": {
+ "type": "boolean"
},
- "parent": {
+ "locale": {
"type": "string"
},
- "permissions": {
- "type": "integer"
+ "message_display_compact": {
+ "type": "boolean"
},
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
+ "native_phone_integration_enabled": {
+ "type": "boolean"
},
- "channel_ordering": {
+ "render_embeds": {
+ "type": "boolean"
+ },
+ "render_reactions": {
+ "type": "boolean"
+ },
+ "restricted_guilds": {
"type": "array",
"items": {
"type": "string"
}
},
- "id": {
+ "show_current_game": {
+ "type": "boolean"
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean"
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
"type": "string"
+ },
+ "timezone_offset": {
+ "type": "integer"
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean"
}
- },
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
+ }
},
- "Channel": {
+ "UserSettingsSchema": {
"type": "object",
"properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
+ "afk_timeout": {
+ "type": "integer"
},
- "name": {
- "type": "string"
+ "allow_accessibility_detection": {
+ "type": "boolean"
},
- "icon": {
- "type": "string",
- "nullable": true
+ "animate_emoji": {
+ "type": "boolean"
},
- "type": {
- "$ref": "#/components/schemas/ChannelType"
+ "animate_stickers": {
+ "type": "integer"
},
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Recipient"
- }
+ "contact_sync_enabled": {
+ "type": "boolean"
},
- "last_message_id": {
- "type": "string"
+ "convert_emoticons": {
+ "type": "boolean"
},
- "guild_id": {
- "type": "string"
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "default_guilds_restricted": {
+ "type": "boolean"
},
- "parent_id": {
- "type": "string",
- "nullable": true
+ "detect_platform_accounts": {
+ "type": "boolean"
},
- "parent": {
- "$ref": "#/components/schemas/Channel"
+ "developer_mode": {
+ "type": "boolean"
},
- "owner_id": {
- "type": "string"
+ "disable_games_tab": {
+ "type": "boolean"
},
- "owner": {
- "$ref": "#/components/schemas/User"
+ "enable_tts_command": {
+ "type": "boolean"
},
- "last_pin_timestamp": {
+ "explicit_content_filter": {
"type": "integer"
},
- "default_auto_archive_duration": {
+ "friend_discovery_flags": {
"type": "integer"
},
- "permission_overwrites": {
+ "friend_source_flags": {
+ "$ref": "#/components/schemas/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean"
+ },
+ "gif_auto_play": {
+ "type": "boolean"
+ },
+ "guild_folders": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/ChannelPermissionOverwrite"
+ "$ref": "#/components/schemas/GuildFolder"
}
},
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "nsfw": {
- "type": "boolean",
- "default": false
+ "inline_attachment_media": {
+ "type": "boolean"
},
- "rate_limit_per_user": {
- "type": "integer"
+ "inline_embed_media": {
+ "type": "boolean"
},
- "topic": {
+ "locale": {
"type": "string"
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Invite"
- }
+ "message_display_compact": {
+ "type": "boolean"
},
- "retention_policy_id": {
- "type": "string"
+ "native_phone_integration_enabled": {
+ "type": "boolean"
},
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Message"
- }
+ "render_embeds": {
+ "type": "boolean"
},
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/VoiceState"
- }
+ "render_reactions": {
+ "type": "boolean"
},
- "read_states": {
+ "restricted_guilds": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/ReadState"
+ "type": "string"
}
},
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Webhook"
- }
+ "show_current_game": {
+ "type": "boolean"
},
- "flags": {
- "type": "integer",
- "default": 0
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
},
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
+ "stream_notifications_enabled": {
+ "type": "boolean"
},
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string"
+ },
+ "timezone_offset": {
"type": "integer"
},
- "id": {
- "type": "string"
+ "view_nsfw_guilds": {
+ "type": "boolean"
}
},
"required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
]
},
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
+ "IdentifySchema": {
"type": "object",
"properties": {
- "channel_id": {
+ "token": {
"type": "string"
},
- "channel": {
- "$ref": "#/components/schemas/Channel"
+ "properties": {
+ "type": "object",
+ "properties": {
+ "os": {
+ "type": "string"
+ },
+ "os_atch": {
+ "type": "string"
+ },
+ "browser": {
+ "type": "string"
+ },
+ "device": {
+ "type": "string"
+ },
+ "$os": {
+ "type": "string"
+ },
+ "$browser": {
+ "type": "string"
+ },
+ "$device": {
+ "type": "string"
+ },
+ "browser_user_agent": {
+ "type": "string"
+ },
+ "browser_version": {
+ "type": "string"
+ },
+ "os_version": {
+ "type": "string"
+ },
+ "referrer": {
+ "type": "string"
+ },
+ "referring_domain": {
+ "type": "string"
+ },
+ "referrer_current": {
+ "type": "string"
+ },
+ "referring_domain_current": {
+ "type": "string"
+ },
+ "release_channel": {
+ "enum": [
+ "canary",
+ "dev",
+ "ptb",
+ "stable"
+ ],
+ "type": "string"
+ },
+ "client_build_number": {
+ "type": "integer"
+ },
+ "client_event_source": {
+ "type": "string"
+ },
+ "client_version": {
+ "type": "string"
+ },
+ "system_locale": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
},
- "user_id": {
- "type": "string"
+ "intents": {
+ "type": "number"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "presence": {
+ "$ref": "#/components/schemas/ActivitySchema"
},
- "closed": {
+ "compress": {
"type": "boolean"
},
- "id": {
- "type": "string"
- }
- },
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
+ "large_threshold": {
"type": "integer"
},
- "banner": {
- "type": "string"
+ "largeThreshold": {
+ "type": "integer"
},
- "theme_colors": {
+ "shard": {
+ "minItems": 2,
+ "maxItems": 2,
"type": "array",
"items": {
- "type": "integer"
+ "type": "number"
}
},
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
+ "guild_subscriptions": {
"type": "boolean"
},
- "premium_type": {
+ "capabilities": {
"type": "integer"
},
- "bot": {
- "type": "boolean",
- "default": false
+ "client_state": {
+ "type": "object",
+ "properties": {
+ "guild_hashes": {},
+ "highest_last_message_id": {
+ "type": "integer"
+ },
+ "read_state_version": {
+ "type": "integer"
+ },
+ "user_guild_settings_version": {
+ "type": "integer"
+ },
+ "user_settings_version": {
+ "type": "integer"
+ },
+ "useruser_guild_settings_version": {
+ "type": "integer"
+ },
+ "private_channels_version": {
+ "type": "integer"
+ },
+ "guild_versions": {},
+ "api_code_version": {
+ "type": "integer"
+ },
+ "initial_guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
},
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
+ "clientState": {
+ "type": "object",
+ "properties": {
+ "guildHashes": {},
+ "highestLastMessageId": {
+ "type": "integer"
+ },
+ "readStateVersion": {
+ "type": "integer"
+ },
+ "userGuildSettingsVersion": {
+ "type": "integer"
+ },
+ "useruserGuildSettingsVersion": {
+ "type": "integer"
+ },
+ "guildVersions": {},
+ "apiCodeVersion": {
+ "type": "integer"
+ },
+ "initialGuildId": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
},
- "deleted": {
- "type": "boolean",
- "default": false
+ "v": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "properties",
+ "token"
+ ]
+ },
+ "StreamCreateSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "call",
+ "guild"
+ ],
+ "type": "string"
},
- "email": {
+ "channel_id": {
"type": "string"
},
- "flags": {
- "type": "integer",
- "default": 0
+ "guild_id": {
+ "type": "string"
},
- "public_flags": {
- "type": "integer",
- "default": 0
+ "preferred_region": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "channel_id",
+ "type"
+ ]
+ },
+ "StreamDeleteSchema": {
+ "type": "object",
+ "properties": {
+ "stream_key": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "stream_key"
+ ]
+ },
+ "StreamWatchSchema": {
+ "type": "object",
+ "properties": {
+ "stream_key": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "stream_key"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
},
- "purchased_flags": {
- "type": "integer",
- "default": 0
+ "message": {
+ "type": "string"
},
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
},
- "rights": {
+ "captcha_sitekey": {
"type": "string"
},
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Session"
- }
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "APIErrorOrCaptchaResponse": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/APIErrorResponse"
},
- "relationships": {
+ {
+ "$ref": "#/components/schemas/CaptchaRequiredResponse"
+ }
+ ]
+ },
+ "AccountStandingResponse": {
+ "type": "object",
+ "properties": {
+ "classifications": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Relationship"
+ "$ref": "#/components/schemas/Classification"
}
},
- "connected_accounts": {
+ "guild_classifications": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/ConnectedAccount"
+ "$ref": "#/components/schemas/GuildClassification"
}
},
- "data": {
+ "account_standing": {
"type": "object",
"properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
+ "state": {
+ "$ref": "#/components/schemas/AccountStandingState"
}
},
"additionalProperties": false,
"required": [
- "valid_tokens_since"
+ "state"
]
},
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
+ "is_dsa_eligible": {
+ "type": "boolean"
},
- "settings": {
- "$ref": "#/components/schemas/UserSettings"
+ "username": {
+ "type": "string"
},
- "extended_settings": {
- "type": "string",
- "default": "{}"
+ "discriminator": {
+ "type": "string"
},
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/SecurityKey"
- }
+ "is_appeal_eligible": {
+ "type": "boolean"
},
- "badge_ids": {
+ "appeal_eligibility": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/AppealEligibility"
}
- },
- "id": {
- "type": "string"
}
},
"required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
+ "account_standing",
+ "appeal_eligibility",
+ "classifications",
"discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
+ "guild_classifications",
+ "is_appeal_eligible",
+ "is_dsa_eligible",
+ "username"
]
},
- "Session": {
+ "BackupCodesChallengeResponse": {
"type": "object",
"properties": {
- "user_id": {
+ "nonce": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
- },
- "session_id": {
+ "regenerate_nonce": {
"type": "string"
- },
- "activities": {
+ }
+ },
+ "required": [
+ "nonce",
+ "regenerate_nonce"
+ ]
+ },
+ "CollectiblesCategoriesResponse": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CollectiblesCategoryItem"
+ }
+ },
+ "CollectiblesMarketingResponse": {
+ "type": "object",
+ "properties": {
+ "marketings": {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/components/schemas/CollectiblesMarketingItem"
+ }
+ }
+ },
+ "required": [
+ "marketings"
+ ]
+ },
+ "CollectiblesShopResponse": {
+ "type": "object",
+ "properties": {
+ "shop_blocks": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Activity"
+ "$ref": "#/components/schemas/AnyShopBlock"
}
},
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/components/schemas/ClientStatus"
- },
- "status": {
- "$ref": "#/components/schemas/Status"
- },
- "id": {
- "type": "string"
+ "categories": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CollectiblesCategoryItem"
+ }
}
},
"required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
+ "categories",
+ "shop_blocks"
]
},
- "ClientStatus": {
+ "DiscoverableGuildsResponse": {
"type": "object",
"properties": {
- "desktop": {
- "type": "string"
+ "total": {
+ "type": "integer"
},
- "mobile": {
- "type": "string"
+ "guilds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Guild"
+ }
},
- "web": {
- "type": "string"
+ "offset": {
+ "type": "integer"
},
- "embedded": {
- "type": "string"
+ "limit": {
+ "type": "integer"
}
+ },
+ "required": [
+ "guilds",
+ "limit",
+ "offset",
+ "total"
+ ]
+ },
+ "MessageType": {
+ "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,
+ 127,
+ 128,
+ 129,
+ 130,
+ 131,
+ 132,
+ 255
+ ]
+ },
+ "DmMessagesResponseSchema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PartialMessage"
}
},
- "Relationship": {
+ "EmailDomainLookupResponse": {
"type": "object",
"properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/components/schemas/User"
- },
- "to_id": {
- "type": "string"
+ "guilds_info": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/HubGuild"
+ }
},
- "to": {
- "$ref": "#/components/schemas/User"
+ "has_matching_guild": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "guilds_info",
+ "has_matching_guild"
+ ]
+ },
+ "EmailDomainLookupVerifyCodeResponse": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
},
- "nickname": {
+ "joined": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "guild",
+ "joined"
+ ]
+ },
+ "EmojiSourceResponse": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "APPLICATION",
+ "GUILD"
+ ],
"type": "string"
},
- "type": {
- "$ref": "#/components/schemas/RelationshipType"
+ "guild": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/EmojiGuild"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "id": {
- "type": "string"
+ "application": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/EmojiApplication"
+ },
+ {
+ "type": "null"
+ }
+ ]
}
},
"required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
"type"
]
},
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
+ "GatewayBotResponse": {
"type": "object",
"properties": {
- "external_id": {
+ "url": {
"type": "string"
},
- "user_id": {
- "type": "string"
+ "shards": {
+ "type": "integer"
},
- "user": {
- "$ref": "#/components/schemas/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
+ "session_start_limit": {
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer"
+ },
+ "remaining": {
+ "type": "integer"
+ },
+ "reset_after": {
+ "type": "integer"
+ },
+ "max_concurrency": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "max_concurrency",
+ "remaining",
+ "reset_after",
+ "total"
+ ]
+ }
+ },
+ "required": [
+ "session_start_limit",
+ "shards",
+ "url"
+ ]
+ },
+ "GatewayResponse": {
+ "type": "object",
+ "properties": {
+ "url": {
"type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
+ }
+ },
+ "required": [
+ "url"
+ ]
+ },
+ "GenerateRegistrationTokensResponse": {
+ "type": "object",
+ "properties": {
+ "tokens": {
"type": "array",
"items": {
"type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
+ }
+ }
+ },
+ "required": [
+ "tokens"
+ ]
+ },
+ "GuildBansResponse": {
+ "type": "object",
+ "properties": {
+ "reason": {
+ "type": "string",
+ "nullable": true
},
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/ConnectedAccountTokenData"
+ "user": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
},
- {
- "type": "null"
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "public_flags": {
+ "type": "integer"
}
+ },
+ "additionalProperties": false,
+ "required": [
+ "avatar",
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
]
- },
- "id": {
- "type": "string"
}
},
"required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
+ "reason",
+ "user"
]
},
- "UserSettings": {
+ "GuildCreateResponse": {
"type": "object",
"properties": {
- "index": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer",
- "default": 3600
+ "name": {
+ "type": "string"
},
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
+ "primary_category_id": {
+ "type": "string"
},
- "animate_emoji": {
- "type": "boolean",
- "default": true
+ "large": {
+ "type": "boolean"
},
- "animate_stickers": {
- "type": "integer",
- "default": 0
+ "max_members": {
+ "type": "integer"
},
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
+ "max_presences": {
+ "type": "integer"
},
- "convert_emoticons": {
- "type": "boolean",
- "default": false
+ "max_video_channel_users": {
+ "type": "integer"
},
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
+ "member_count": {
+ "type": "integer"
},
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
+ "presence_count": {
+ "type": "integer"
},
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
+ "template_id": {
+ "type": "string"
},
- "developer_mode": {
- "type": "boolean",
- "default": true
+ "mfa_level": {
+ "type": "integer"
},
- "disable_games_tab": {
- "type": "boolean",
- "default": true
+ "owner_id": {
+ "type": "string"
},
- "enable_tts_command": {
- "type": "boolean",
- "default": false
+ "premium_subscription_count": {
+ "type": "integer"
},
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
+ "premium_tier": {
+ "type": "integer"
},
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
+ "welcome_screen": {
+ "$ref": "#/components/schemas/GuildWelcomeScreen"
},
- "friend_source_flags": {
- "$ref": "#/components/schemas/FriendSourceFlags"
+ "widget_channel_id": {
+ "type": "string"
},
- "gateway_connected": {
- "type": "boolean",
- "default": false
+ "widget_enabled": {
+ "type": "boolean"
},
- "gif_auto_play": {
- "type": "boolean",
- "default": false
+ "nsfw_level": {
+ "type": "integer"
},
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/GuildFolder"
- },
- "default": []
+ "nsfw": {
+ "type": "boolean"
},
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
+ "parent": {
+ "type": "string"
},
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
+ "region": {
+ "type": "string"
},
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
+ "icon": {
"type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
+ "nullable": true
},
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
+ "banner": {
"type": "string",
- "default": "dark"
+ "nullable": true
},
- "timezone_offset": {
- "type": "integer",
- "default": 0
+ "system_channel_id": {
+ "type": "string"
},
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
+ "rules_channel_id": {
"type": "string"
},
- "emoji_name": {
+ "guild_template_code": {
"type": "string"
},
- "expires_at": {
- "type": "integer"
+ "staff_only": {
+ "type": "boolean"
},
- "text": {
+ "splash": {
+ "type": "string",
+ "nullable": true
+ },
+ "description": {
"type": "string"
- }
- }
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
},
- "guild_ids": {
+ "features": {
"type": "array",
"items": {
"type": "string"
}
},
- "id": {
+ "verification_level": {
"type": "integer"
},
- "name": {
- "type": "string"
- }
- },
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
+ "default_message_notifications": {
+ "type": "integer"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "system_channel_flags": {
+ "type": "integer"
},
- "key_id": {
- "type": "string"
+ "explicit_content_filter": {
+ "type": "integer"
},
- "public_key": {
+ "public_updates_channel_id": {
"type": "string"
},
- "counter": {
+ "afk_timeout": {
"type": "integer"
},
- "name": {
+ "afk_channel_id": {
"type": "string"
},
- "id": {
- "type": "string"
- }
- },
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
+ "preferred_locale": {
"type": "string"
},
- "deny": {
- "type": "string"
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
},
- "id": {
+ "discovery_splash": {
"type": "string"
},
- "type": {
- "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
+ "safety_alerts_channel_id": {
+ "type": "string",
+ "nullable": true
}
},
"required": [
- "allow",
- "deny",
"id",
- "type"
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
]
},
- "Invite": {
+ "GuildDiscoveryRequirementsResponse": {
"type": "object",
"properties": {
- "code": {
+ "guild_id": {
"type": "string"
},
- "temporary": {
+ "safe_environment": {
"type": "boolean"
},
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
+ "healthy": {
+ "type": "boolean"
},
- "max_age": {
- "type": "integer"
+ "health_score_pending": {
+ "type": "boolean"
},
- "created_at": {
- "type": "string",
- "format": "date-time"
+ "size": {
+ "type": "boolean"
},
- "expires_at": {
- "type": "string",
- "format": "date-time"
+ "nsfw_properties": {},
+ "protected": {
+ "type": "boolean"
},
- "guild_id": {
- "type": "string"
+ "sufficient": {
+ "type": "boolean"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "sufficient_without_grace_period": {
+ "type": "boolean"
},
- "channel_id": {
- "type": "string"
+ "valid_rules_channel": {
+ "type": "boolean"
},
- "channel": {
- "$ref": "#/components/schemas/Channel"
+ "retention_healthy": {
+ "type": "boolean"
},
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/components/schemas/User"
- },
- "target_user_id": {
- "type": "string"
+ "engagement_healthy": {
+ "type": "boolean"
},
- "target_user": {
- "type": "string"
+ "age": {
+ "type": "boolean"
},
- "target_user_type": {
+ "minimum_age": {
"type": "integer"
},
- "vanity_url": {
- "type": "boolean"
+ "health_score": {
+ "type": "object",
+ "properties": {
+ "avg_nonnew_participators": {
+ "type": "integer"
+ },
+ "avg_nonnew_communicators": {
+ "type": "integer"
+ },
+ "num_intentful_joiners": {
+ "type": "integer"
+ },
+ "perc_ret_w1_intentful": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "avg_nonnew_communicators",
+ "avg_nonnew_participators",
+ "num_intentful_joiners",
+ "perc_ret_w1_intentful"
+ ]
},
- "flags": {
+ "minimum_size": {
"type": "integer"
}
},
"required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
+ "age",
+ "engagement_healthy",
"guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
+ "health_score",
+ "health_score_pending",
+ "healthy",
+ "minimum_age",
+ "minimum_size",
+ "nsfw_properties",
+ "protected",
+ "retention_healthy",
+ "safe_environment",
+ "size",
+ "sufficient",
+ "sufficient_without_grace_period",
+ "valid_rules_channel"
]
},
"Message": {
@@ -2234,6 +2966,12 @@
"channel": {
"$ref": "#/components/schemas/Channel"
},
+ "thread_id": {
+ "type": "string"
+ },
+ "thread": {
+ "$ref": "#/components/schemas/Channel"
+ },
"guild_id": {
"type": "string"
},
@@ -2329,6 +3067,17 @@
"pinned": {
"type": "boolean"
},
+ "pinned_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
"type": {
"$ref": "#/components/schemas/MessageType"
},
@@ -2362,12 +3111,12 @@
},
"guild_id": {
"type": "string"
+ },
+ "type": {
+ "type": "integer"
}
},
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
+ "additionalProperties": false
},
"referenced_message": {
"$ref": "#/components/schemas/Message"
@@ -2405,6 +3154,50 @@
"poll": {
"$ref": "#/components/schemas/Poll"
},
+ "interaction_metadata": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/InteractionType"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "authorizing_integration_owners": {
+ "$ref": "#/components/schemas/Record"
+ },
+ "original_response_message_id": {
+ "type": "string"
+ },
+ "interacted_message_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type",
+ "user_id"
+ ]
+ },
+ "message_snapshots": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MessageSnapshot"
+ }
+ },
+ "reply_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"username": {
"type": "string"
},
@@ -2428,1405 +3221,1125 @@
"type"
]
},
- "Member": {
+ "GuildMessagesSearchResponse": {
"type": "object",
"properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/components/schemas/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
+ "messages": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Role"
+ "$ref": "#/components/schemas/GuildMessagesSearchMessage"
}
},
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
+ "total_results": {
"type": "integer"
+ }
+ },
+ "required": [
+ "messages",
+ "total_results"
+ ]
+ },
+ "GuildPruneResponse": {
+ "type": "object",
+ "properties": {
+ "pruned": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "pruned"
+ ]
+ },
+ "GuildPurgeResponse": {
+ "type": "object",
+ "properties": {
+ "purged": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "purged"
+ ]
+ },
+ "GuildRecommendationsResponse": {
+ "type": "object",
+ "properties": {
+ "recommended_guilds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Guild"
+ }
},
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/components/schemas/UserGuildSettings"
- },
- "last_message_id": {
+ "load_id": {
"type": "string"
+ }
+ },
+ "required": [
+ "load_id",
+ "recommended_guilds"
+ ]
+ },
+ "GuildVanityUrlResponse": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/GuildVanityUrl"
},
- "joined_by": {
- "type": "string"
+ {
+ "$ref": "#/components/schemas/GuildVanityUrlNoInvite"
},
- "avatar": {
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/GuildVanityUrl"
+ }
+ }
+ ]
+ },
+ "GuildVanityUrlCreateResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code"
+ ]
+ },
+ "GuildWidgetJsonResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
"type": "string"
},
- "banner": {
+ "name": {
"type": "string"
},
- "bio": {
+ "instant_invite": {
"type": "string"
},
- "theme_colors": {
+ "channels": {
"type": "array",
"items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ }
},
- "integration_id": {
- "type": "string"
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "position"
+ ]
+ }
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "status": {
+ "$ref": "#/components/schemas/ClientStatus"
+ },
+ "avatar_url": {
+ "type": "string"
+ }
},
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
+ "additionalProperties": false,
+ "required": [
+ "avatar",
+ "avatar_url",
+ "discriminator",
+ "id",
+ "status",
+ "username"
+ ]
+ }
},
- "flags": {
+ "presence_count": {
"type": "integer"
- },
- "id": {
- "type": "string"
}
},
"required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
+ "channels",
"id",
- "managed",
- "mentionable",
+ "instant_invite",
+ "members",
"name",
- "permissions",
- "position"
+ "presence_count"
]
},
- "UserGuildSettings": {
+ "GuildWidgetSettingsResponse": {
"type": "object",
"properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/components/schemas/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
+ "enabled": {
"type": "boolean"
},
- "mute_config": {
+ "channel_id": {
"anyOf": [
{
- "$ref": "#/components/schemas/MuteConfig"
+ "$ref": "#/components/schemas/Snowflake"
},
{
"type": "null"
}
]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": "string",
- "nullable": true
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
}
},
"required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
+ "channel_id",
+ "enabled"
]
},
- "ChannelOverride": {
+ "HubDirectoryEntriesResponse": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/HubDirectoryEntry"
+ }
+ },
+ "HubWaitlistSignupResponse": {
"type": "object",
"properties": {
- "message_notifications": {
- "type": "integer"
+ "email": {
+ "type": "string"
},
- "mute_config": {
- "$ref": "#/components/schemas/MuteConfig"
+ "email_domain": {
+ "type": "string"
},
- "muted": {
- "type": "boolean"
+ "school": {
+ "type": "string"
},
- "channel_id": {
- "type": "string",
- "nullable": true
+ "user_id": {
+ "type": "string"
}
},
"required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
+ "email",
+ "email_domain",
+ "school",
+ "user_id"
]
},
- "MuteConfig": {
+ "InstanceDomainsResponse": {
"type": "object",
"properties": {
- "end_time": {
- "type": "integer"
+ "admin": {
+ "type": "string"
},
- "selected_time_window": {
- "type": "integer"
- }
- },
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/components/schemas/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/components/schemas/Application"
- },
- "user_id": {
+ "api": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
- },
- "source_guild_id": {
+ "apiEndpoint": {
"type": "string"
},
- "source_guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "source_channel_id": {
+ "cdn": {
"type": "string"
},
- "source_channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "url": {
+ "gateway": {
"type": "string"
},
- "id": {
+ "defaultApiVersion": {
"type": "string"
}
},
"required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
+ "api",
+ "apiEndpoint",
+ "cdn",
+ "defaultApiVersion",
+ "gateway"
]
},
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
+ "InstancePingResponse": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
+ "ping": {
"type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/components/schemas/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/components/schemas/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
+ "const": "pong!"
},
- "install_params": {
+ "instance": {
"type": "object",
"properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "id": {
+ "type": "string"
},
- "permissions": {
+ "name": {
"type": "string"
+ },
+ "description": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "image": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "correspondenceEmail": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "correspondenceUserID": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "frontPage": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "tosPage": {
+ "type": [
+ "null",
+ "string"
+ ]
}
},
"additionalProperties": false,
"required": [
- "permissions",
- "scopes"
+ "correspondenceEmail",
+ "correspondenceUserID",
+ "description",
+ "frontPage",
+ "id",
+ "image",
+ "name",
+ "tosPage"
]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "custom_install_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/components/schemas/Team"
- },
- "id": {
- "type": "string"
}
},
"required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
+ "instance",
+ "ping"
]
},
- "Team": {
+ "InstanceStatsResponse": {
"type": "object",
"properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/TeamMember"
- }
- },
- "name": {
- "type": "string"
+ "counts": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "type": "integer"
+ },
+ "guild": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "guild",
+ "members",
+ "message",
+ "user"
+ ]
+ }
+ },
+ "required": [
+ "counts"
+ ]
+ },
+ "LocationMetadataResponse": {
+ "type": "object",
+ "properties": {
+ "consent_required": {
+ "type": "boolean"
},
- "owner_user_id": {
+ "country_code": {
"type": "string"
},
- "owner_user": {
- "$ref": "#/components/schemas/User"
- },
- "id": {
- "type": "string"
+ "promotional_email_opt_in": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "const": true
+ },
+ "pre_checked": {
+ "type": "boolean",
+ "const": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "pre_checked",
+ "required"
+ ]
}
},
"required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
+ "consent_required",
+ "country_code",
+ "promotional_email_opt_in"
]
},
- "TeamMember": {
+ "MemberJoinGuildResponse": {
"type": "object",
"properties": {
- "membership_state": {
- "$ref": "#/components/schemas/TeamMemberState"
+ "guild": {
+ "$ref": "#/components/schemas/GuildCreateResponse"
},
- "permissions": {
+ "emojis": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/Emoji"
}
},
- "role": {
- "$ref": "#/components/schemas/TeamMemberRole"
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/components/schemas/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/components/schemas/User"
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Role"
+ }
},
- "id": {
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Sticker"
+ }
+ }
+ },
+ "required": [
+ "emojis",
+ "guild",
+ "roles",
+ "stickers"
+ ]
+ },
+ "OAuthAuthorizeResponse": {
+ "type": "object",
+ "properties": {
+ "location": {
"type": "string"
}
},
"required": [
- "id",
- "membership_state",
- "permissions",
- "role",
- "team",
- "team_id",
- "user",
- "user_id"
+ "location"
]
},
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
+ "PreloadMessagesResponseSchema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Message"
+ }
},
- "TeamMemberRole": {
- "enum": [
- "admin",
- "developer",
- "read_only"
- ],
- "type": "string"
+ "RefreshUrlsResponse": {
+ "type": "object",
+ "properties": {
+ "refreshed_urls": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/RefreshedUrl"
+ }
+ }
+ },
+ "required": [
+ "refreshed_urls"
+ ]
},
- "Sticker": {
+ "SettingsProtoResponse": {
"type": "object",
"properties": {
- "name": {
+ "settings": {
"type": "string"
+ }
+ },
+ "required": [
+ "settings"
+ ]
+ },
+ "SettingsProtoUpdateResponse": {
+ "type": "object",
+ "properties": {
+ "out_of_date": {
+ "type": "boolean"
},
- "description": {
+ "settings": {
"type": "string"
- },
- "available": {
+ }
+ },
+ "required": [
+ "settings"
+ ]
+ },
+ "SettingsProtoJsonResponse": {
+ "type": "object",
+ "properties": {
+ "settings": {
+ "$ref": "#/components/schemas/JsonValue"
+ }
+ },
+ "required": [
+ "settings"
+ ]
+ },
+ "SettingsProtoUpdateJsonResponse": {
+ "type": "object",
+ "properties": {
+ "out_of_date": {
"type": "boolean"
},
- "tags": {
+ "settings": {
+ "$ref": "#/components/schemas/JsonValue"
+ }
+ },
+ "required": [
+ "settings"
+ ]
+ },
+ "TeamListResponse": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Team"
+ }
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
"type": "string"
},
- "pack_id": {
+ "title": {
"type": "string"
},
- "pack": {
- "$ref": "#/components/schemas/StickerPack"
- },
- "guild_id": {
+ "url": {
"type": "string"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "user_id": {
+ "src": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "gif_src": {
+ "type": "string"
},
- "type": {
- "$ref": "#/components/schemas/StickerType"
+ "width": {
+ "type": "integer"
},
- "format_type": {
- "$ref": "#/components/schemas/StickerFormatType"
+ "height": {
+ "type": "integer"
},
- "id": {
+ "preview": {
"type": "string"
}
},
"required": [
- "format_type",
+ "gif_src",
+ "height",
"id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "TenorTrendingResponse": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
+ "categories": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "searchterm": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "image",
+ "name",
+ "path",
+ "searchterm"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "tags"
+ ]
},
- "stickers": {
+ "gifs": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Sticker"
+ "$ref": "#/components/schemas/TenorGifResponse"
}
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/components/schemas/Sticker"
- },
- "id": {
- "type": "string"
}
},
"required": [
- "id",
- "name",
- "stickers"
+ "categories",
+ "gifs"
]
},
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "TenorGifsResponse": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/TenorGifResponse"
+ }
},
- "Attachment": {
+ "TokenResponse": {
"type": "object",
"properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
+ "token": {
"type": "string"
},
- "message": {
- "$ref": "#/components/schemas/Message"
- },
- "id": {
- "type": "string"
+ "settings": {
+ "$ref": "#/components/schemas/UserSettings"
}
},
"required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
+ "settings",
+ "token"
]
},
- "Reaction": {
+ "TokenOnlyResponse": {
"type": "object",
"properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/components/schemas/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "token": {
+ "type": "string"
}
},
"required": [
- "count",
- "emoji",
- "user_ids"
+ "token"
]
},
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
+ "TokenWithBackupCodesResponse": {
"type": "object",
"properties": {
- "question": {
- "$ref": "#/components/schemas/PollMedia"
+ "token": {
+ "type": "string"
},
- "answers": {
+ "backup_codes": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/PollAnswer"
+ "$ref": "#/components/schemas/BackupCode"
}
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/components/schemas/PollResult"
}
},
"required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
+ "backup_codes",
+ "token"
]
},
- "PollResult": {
+ "APIGuild": {
"type": "object",
"properties": {
- "is_finalized": {
- "type": "boolean"
+ "name": {
+ "type": "string"
},
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PollAnswerCount"
- }
- }
- },
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
+ "region": {
"type": "string"
},
- "count": {
- "type": "integer"
+ "insert": {
+ "type": "object",
+ "additionalProperties": false
},
- "me_voted": {
- "type": "boolean"
- }
- },
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
+ "id": {
"type": "string"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "unavailable": {
+ "type": "boolean"
},
- "channel_id": {
+ "icon": {
"type": "string"
},
- "channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "user_id": {
+ "parent": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "owner_id": {
+ "type": "string"
},
- "member": {
- "$ref": "#/components/schemas/Member"
+ "nsfw": {
+ "type": "boolean"
},
- "session_id": {
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Webhook"
+ }
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Role"
+ }
+ },
+ "banner": {
"type": "string"
},
- "token": {
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Channel"
+ }
+ },
+ "system_channel_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "rules_channel_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "splash": {
"type": "string"
},
- "deaf": {
- "type": "boolean"
+ "description": {
+ "type": "string"
},
- "mute": {
- "type": "boolean"
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "self_deaf": {
- "type": "boolean"
+ "verification_level": {
+ "type": "integer"
},
- "self_mute": {
- "type": "boolean"
+ "default_message_notifications": {
+ "type": "integer"
},
- "self_stream": {
- "type": "boolean"
+ "system_channel_flags": {
+ "type": "integer"
},
- "self_video": {
- "type": "boolean"
+ "explicit_content_filter": {
+ "type": "integer"
},
- "suppress": {
- "type": "boolean"
+ "public_updates_channel_id": {
+ "type": "string",
+ "nullable": true
},
- "request_to_speak_timestamp": {
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "afk_channel_id": {
"type": "string",
- "format": "date-time"
+ "nullable": true
},
- "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"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
+ "preferred_locale": {
"type": "string"
},
- "channel": {
- "$ref": "#/components/schemas/Channel"
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
},
- "user_id": {
+ "discovery_splash": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Ban"
+ }
},
- "last_message_id": {
+ "primary_category_id": {
"type": "string"
},
- "public_ack": {
- "type": "string"
+ "large": {
+ "type": "boolean"
},
- "notifications_cursor": {
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Member"
+ }
+ },
+ "template_id": {
"type": "string"
},
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Emoji"
+ }
},
- "mention_count": {
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Sticker"
+ }
+ },
+ "mfa_level": {
"type": "integer"
},
- "manual": {
- "type": "boolean"
+ "premium_subscription_count": {
+ "type": "integer"
},
- "id": {
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/components/schemas/GuildWelcomeScreen",
+ "description": "DEPRECATED: Look at the new Guild onboarding screens."
+ },
+ "widget_channel_id": {
"type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
"required": [
- "channel",
- "channel_id",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
"id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
+ "insert",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
]
},
- "Ban": {
+ "APIPublicUser": {
"type": "object",
"properties": {
- "user_id": {
+ "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"
},
- "user": {
- "$ref": "#/components/schemas/User"
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
},
- "guild_id": {
+ "avatar": {
"type": "string"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "banner": {
+ "type": "string"
},
- "executor_id": {
+ "bio": {
"type": "string"
},
- "executor": {
- "$ref": "#/components/schemas/User"
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
},
- "ip": {
+ "pronouns": {
"type": "string"
},
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
+ "username": {
"type": "string"
},
- "description": {
+ "discriminator": {
"type": "string"
},
- "usage_count": {
+ "public_flags": {
"type": "integer"
},
- "creator_id": {
- "type": "string"
+ "accent_color": {
+ "type": "integer"
},
- "creator": {
- "$ref": "#/components/schemas/User"
+ "bot": {
+ "type": "boolean"
},
- "created_at": {
- "type": "string",
- "format": "date-time"
+ "premium_type": {
+ "type": "integer"
},
- "updated_at": {
- "type": "string",
- "format": "date-time"
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "source_guild_id": {
- "type": "string"
+ "avatar_decoration_data": {
+ "$ref": "#/components/schemas/AvatarDecorationData"
},
- "source_guild": {
- "$ref": "#/components/schemas/Guild"
+ "display_name_styles": {
+ "$ref": "#/components/schemas/DisplayNameStyle"
},
- "serialized_source_guild": {
- "$ref": "#/components/schemas/Guild"
+ "collectibles": {
+ "$ref": "#/components/schemas/Collectibles"
},
- "id": {
- "type": "string"
+ "primary_guild": {
+ "$ref": "#/components/schemas/PrimaryGuild"
}
},
"required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
+ "bio",
+ "bot",
+ "discriminator",
"id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
]
},
- "Emoji": {
+ "APIPrivateUser": {
"type": "object",
"properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
+ "email": {
"type": "string"
},
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "user_id": {
+ "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"
},
- "user": {
- "$ref": "#/components/schemas/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
+ "flags": {
+ "type": "integer"
},
- "require_colons": {
+ "verified": {
"type": "boolean"
},
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
},
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "avatar": {
+ "type": "string"
},
- "id": {
+ "banner": {
"type": "string"
- }
- },
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
},
- "description": {
+ "bio": {
"type": "string"
},
- "welcome_channels": {
+ "theme_colors": {
"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"
- ]
+ "type": "integer"
}
- }
- },
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
},
- "id": {
+ "pronouns": {
"type": "string"
},
- "name": {
- "type": "string"
- }
- },
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
+ "username": {
"type": "string"
},
- "name": {
+ "discriminator": {
"type": "string"
},
- "icon": {
- "type": "string",
- "nullable": true
+ "public_flags": {
+ "type": "integer"
},
- "description": {
- "type": "string",
- "nullable": true
+ "accent_color": {
+ "type": "integer"
},
- "features": {
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "badge_ids": {
"type": "array",
"items": {
"type": "string"
}
},
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Emoji"
- }
+ "avatar_decoration_data": {
+ "$ref": "#/components/schemas/AvatarDecorationData"
},
- "premium_tier": {
- "type": "integer"
+ "display_name_styles": {
+ "$ref": "#/components/schemas/DisplayNameStyle"
},
- "premium_subscription_count": {
- "type": "integer"
+ "collectibles": {
+ "$ref": "#/components/schemas/Collectibles"
},
- "approximate_member_count": {
+ "primary_guild": {
+ "$ref": "#/components/schemas/PrimaryGuild"
+ },
+ "mfa_enabled": {
+ "type": "boolean"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "nsfw_allowed": {
+ "type": "boolean"
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "purchased_flags": {
"type": "integer"
},
- "approximate_presence_count": {
+ "premium_usage_flags": {
"type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/components/schemas/UserSettingsSchema"
}
},
"required": [
- "emojis",
- "features",
+ "bio",
+ "bot",
+ "disabled",
+ "discriminator",
+ "flags",
"id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
+ "mfa_enabled",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "username",
+ "verified"
]
},
- "GuildMessagesSearchMessage": {
+ "APIGuildArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/APIGuild"
+ }
+ },
+ "APIDMChannelArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/DmChannelDTO"
+ }
+ },
+ "APIBackupCodeArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BackupCode"
+ }
+ },
+ "UserUpdateResponse": {
"type": "object",
"properties": {
- "id": {
+ "newToken": {
"type": "string"
},
- "type": {
- "$ref": "#/components/schemas/MessageType"
- },
- "content": {
+ "email": {
"type": "string"
},
- "channel_id": {
+ "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"
},
- "author": {
- "$ref": "#/components/schemas/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Role"
- }
- },
- "pinned": {
- "type": "boolean"
+ "flags": {
+ "type": "integer"
},
- "mention_everyone": {
+ "verified": {
"type": "boolean"
},
- "tts": {
- "type": "boolean"
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
},
- "timestamp": {
+ "avatar": {
"type": "string"
},
- "edited_timestamp": {
- "type": "string",
- "nullable": true
+ "banner": {
+ "type": "string"
},
- "flags": {
- "type": "integer"
+ "bio": {
+ "type": "string"
},
- "components": {
+ "theme_colors": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/ActionRowComponent"
+ "type": "integer"
}
},
- "poll": {
- "$ref": "#/components/schemas/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
+ "pronouns": {
"type": "string"
},
"username": {
@@ -3841,113 +4354,290 @@
"accent_color": {
"type": "integer"
},
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
"bot": {
"type": "boolean"
},
"premium_type": {
"type": "integer"
},
- "theme_colors": {
+ "badge_ids": {
"type": "array",
"items": {
- "type": "integer"
+ "type": "string"
}
},
- "pronouns": {
+ "avatar_decoration_data": {
+ "$ref": "#/components/schemas/AvatarDecorationData"
+ },
+ "display_name_styles": {
+ "$ref": "#/components/schemas/DisplayNameStyle"
+ },
+ "collectibles": {
+ "$ref": "#/components/schemas/Collectibles"
+ },
+ "primary_guild": {
+ "$ref": "#/components/schemas/PrimaryGuild"
+ },
+ "mfa_enabled": {
+ "type": "boolean"
+ },
+ "phone": {
"type": "string"
},
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "nsfw_allowed": {
+ "type": "boolean"
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "purchased_flags": {
+ "type": "integer"
+ },
+ "premium_usage_flags": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/components/schemas/UserSettingsSchema"
}
},
"required": [
"bio",
"bot",
+ "disabled",
"discriminator",
+ "flags",
"id",
+ "mfa_enabled",
+ "nsfw_allowed",
+ "premium",
"premium_since",
"premium_type",
+ "premium_usage_flags",
"public_flags",
- "username"
+ "purchased_flags",
+ "username",
+ "verified"
]
},
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "required": [
- "code",
- "uses"
- ]
+ "ApplicationDetectableResponse": {
+ "type": "array",
+ "items": {}
},
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "required": [
- "code"
- ]
+ "ApplicationEntitlementsResponse": {
+ "type": "array",
+ "items": {}
},
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object"
+ "ApplicationSkusResponse": {
+ "type": "array",
+ "items": {}
},
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/components/schemas/Guild"
- },
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
+ "APIApplicationArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Application"
+ }
+ },
+ "APIBansArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/GuildBansResponse"
+ }
+ },
+ "APIInviteArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Invite"
+ }
+ },
+ "APIMessageArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Message"
+ }
+ },
+ "APIWebhookArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Webhook"
+ }
+ },
+ "APIDiscoveryCategoryArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Categories"
+ }
+ },
+ "APIGeneralConfiguration": {
+ "type": "object",
+ "properties": {
+ "instanceName": {
+ "type": "string",
+ "default": "Spacebar Instance"
+ },
+ "serverName": {
+ "type": "string",
+ "default": null,
+ "nullable": true
+ },
+ "instanceDescription": {
+ "type": "string",
+ "default": "This is a Spacebar instance made in the pre-release days",
+ "nullable": true
+ },
+ "frontPage": {
+ "type": "string",
+ "default": null,
+ "nullable": true
+ },
+ "tosPage": {
+ "type": "string",
+ "default": null,
+ "nullable": true
+ },
+ "correspondenceEmail": {
+ "type": "string",
+ "default": null,
+ "nullable": true
+ },
+ "correspondenceUserID": {
+ "type": "string",
+ "default": null,
+ "nullable": true
+ },
+ "image": {
+ "type": "string",
+ "default": null,
+ "nullable": true
+ },
+ "instanceId": {
+ "type": "string"
+ },
+ "autoCreateBotUsers": {
+ "type": "boolean",
+ "default": false
+ }
},
"required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
+ "autoCreateBotUsers",
+ "correspondenceEmail",
+ "correspondenceUserID",
+ "frontPage",
+ "image",
+ "instanceDescription",
+ "instanceId",
+ "instanceName",
+ "serverName",
+ "tosPage"
]
},
- "GuildCreateResponse": {
+ "APIChannelArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Channel"
+ }
+ },
+ "APIEmojiArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Emoji"
+ }
+ },
+ "APIMemberArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Member"
+ }
+ },
+ "APIPublicMember": {
+ "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"
+ ]
+ },
+ "APIGuildWithJoinedAt": {
"type": "object",
"properties": {
+ "joined_at": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -4008,6 +4698,9 @@
"parent": {
"type": "string"
},
+ "region": {
+ "type": "string"
+ },
"icon": {
"type": "string",
"nullable": true
@@ -4016,9 +4709,6 @@
"type": "string",
"nullable": true
},
- "region": {
- "type": "string"
- },
"system_channel_id": {
"type": "string"
},
@@ -4073,2055 +4763,2054 @@
},
"discovery_splash": {
"type": "string"
+ },
+ "safety_alerts_channel_id": {
+ "type": "string",
+ "nullable": true
}
},
"required": [
"id",
+ "joined_at",
+ "large",
+ "max_members",
+ "max_presences",
+ "max_video_channel_users",
+ "member_count",
+ "mfa_level",
"name",
"nsfw",
+ "nsfw_level",
+ "owner_id",
+ "parent",
+ "premium_subscription_count",
+ "premium_tier",
+ "presence_count",
+ "primary_category_id",
+ "template_id",
"welcome_screen",
+ "widget_channel_id",
"widget_enabled"
]
},
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "required": [
- "original",
- "refreshed"
- ]
+ "APIRoleArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Role"
+ }
},
- "TenorGifResponse": {
+ "APIStickerArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Sticker"
+ }
+ },
+ "APITemplateArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Template"
+ }
+ },
+ "APIGuildVoiceRegion": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/GuildVoiceRegion"
+ }
+ },
+ "APILimitsConfiguration": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
+ "user": {
+ "$ref": "#/components/schemas/UserLimits"
},
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
+ "guild": {
+ "$ref": "#/components/schemas/GuildLimits"
},
- "gif_src": {
- "type": "string"
+ "message": {
+ "$ref": "#/components/schemas/MessageLimits"
},
- "width": {
- "type": "integer"
+ "channel": {
+ "$ref": "#/components/schemas/ChannelLimits"
},
- "height": {
- "type": "integer"
+ "rate": {
+ "$ref": "#/components/schemas/RateLimits"
},
- "preview": {
- "type": "string"
+ "absoluteRate": {
+ "$ref": "#/components/schemas/GlobalRateLimits"
}
},
"required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
+ "absoluteRate",
+ "channel",
+ "guild",
+ "message",
+ "rate",
+ "user"
]
},
- "BackupCode": {
+ "APIStickerPackArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/StickerPack"
+ }
+ },
+ "APIConnectionsConfiguration": {
+ "type": "object"
+ },
+ "UpdatesResponse": {
"type": "object",
"properties": {
- "user": {
- "$ref": "#/components/schemas/User"
- },
- "code": {
+ "name": {
"type": "string"
},
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
+ "pub_date": {
+ "type": "string"
},
- "id": {
+ "url": {
"type": "string"
+ },
+ "notes": {
+ "type": "string",
+ "nullable": true
}
},
"required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
+ "name",
+ "notes",
+ "pub_date",
+ "url"
]
},
- "APIGuild": {
+ "UploadAttachmentResponseSchema": {
"type": "object",
"properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/UploadAttachmentResponse"
+ }
+ }
+ },
+ "required": [
+ "attachments"
+ ]
+ },
+ "UploadAttachmentResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "name": {
+ "upload_url": {
"type": "string"
},
- "id": {
+ "upload_filename": {
"type": "string"
},
- "icon": {
+ "original_content_type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "upload_filename",
+ "upload_url"
+ ]
+ },
+ "UserNoteResponse": {
+ "type": "object",
+ "properties": {
+ "note": {
"type": "string"
},
- "parent": {
+ "note_user_id": {
"type": "string"
},
- "owner_id": {
+ "user_id": {
"type": "string"
+ }
+ },
+ "required": [
+ "note",
+ "note_user_id",
+ "user_id"
+ ]
+ },
+ "UserProfileResponse": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/components/schemas/PublicUser"
},
- "nsfw": {
- "type": "boolean"
+ "connected_accounts": {
+ "$ref": "#/components/schemas/PublicConnectedAccount"
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Invite"
- }
+ "premium_guild_since": {
+ "type": "string",
+ "format": "date-time"
},
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/VoiceState"
- }
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
},
- "webhooks": {
+ "mutual_guilds": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Webhook"
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "nick": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id"
+ ]
}
},
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
+ "premium_type": {
+ "type": "integer"
},
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
+ "profile_themes_experiment_bucket": {
+ "type": "integer"
},
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
+ "user_profile": {
+ "$ref": "#/components/schemas/UserProfile"
},
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
+ "guild_member": {
+ "$ref": "#/components/schemas/PublicMember"
},
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
+ "guild_member_profile": {
+ "$ref": "#/components/schemas/PublicMemberProfile"
},
- "roles": {
+ "badges": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Role"
+ "$ref": "#/components/schemas/Badge"
+ }
+ }
+ },
+ "required": [
+ "badges",
+ "connected_accounts",
+ "mutual_guilds",
+ "premium_type",
+ "profile_themes_experiment_bucket",
+ "user",
+ "user_profile"
+ ]
+ },
+ "UserRelationsResponse": {
+ "type": "array",
+ "items": {
+ "additionalProperties": false,
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
}
},
- "banner": {
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ }
+ },
+ "UserRelationshipsResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
"type": "string"
},
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Channel"
- }
+ "type": {
+ "$ref": "#/components/schemas/RelationshipType"
},
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Member"
- }
+ "nickname": {
+ "type": "null"
},
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "splash": {
+ "user": {
+ "$ref": "#/components/schemas/PublicUser"
+ }
+ },
+ "required": [
+ "id",
+ "nickname",
+ "type",
+ "user"
+ ]
+ },
+ "WebAuthnCreateResponse": {
+ "type": "object",
+ "properties": {
+ "name": {
"type": "string"
},
- "description": {
+ "id": {
"type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ]
+ },
+ "WebhookCreateResponse": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/components/schemas/User"
},
- "features": {
+ "hook": {
+ "$ref": "#/components/schemas/Webhook"
+ }
+ },
+ "required": [
+ "hook",
+ "user"
+ ]
+ },
+ "AckBulkSchema": {
+ "type": "object",
+ "properties": {
+ "read_states": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "read_state_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_id",
+ "read_state_type"
+ ]
}
+ }
+ },
+ "required": [
+ "read_states"
+ ]
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
},
- "verification_level": {
- "type": "integer"
- },
- "default_message_notifications": {
- "type": "integer"
+ "status": {
+ "$ref": "#/components/schemas/Status"
},
- "system_channel_flags": {
- "type": "integer"
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Activity"
+ }
},
- "explicit_content_filter": {
+ "since": {
"type": "integer"
+ }
+ },
+ "required": [
+ "status"
+ ]
+ },
+ "ApplicationAuthorizeSchema": {
+ "type": "object",
+ "properties": {
+ "authorize": {
+ "type": "boolean"
},
- "public_updates_channel_id": {
+ "guild_id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
+ "permissions": {
+ "type": "string"
},
- "afk_channel_id": {
+ "captcha_key": {
"type": "string"
},
- "preferred_locale": {
+ "code": {
+ "minLength": 6,
+ "maxLength": 6,
"type": "string"
+ }
+ },
+ "required": [
+ "authorize",
+ "guild_id",
+ "permissions"
+ ]
+ },
+ "AutomodMentionSpamRuleSchema": {
+ "type": "object",
+ "properties": {
+ "mention_total_limit": {
+ "type": "integer"
},
- "premium_progress_bar_enabled": {
+ "mention_raid_protection_enabled": {
"type": "boolean"
+ }
+ },
+ "required": [
+ "mention_raid_protection_enabled",
+ "mention_total_limit"
+ ]
+ },
+ "AutomodSuspectedSpamRuleSchema": {
+ "type": "object"
+ },
+ "AutomodCommonlyFlaggedWordsRuleSchema": {
+ "type": "object",
+ "properties": {
+ "allow_list": {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "discovery_splash": {
- "type": "string"
+ "presets": {
+ "type": "array",
+ "items": [
+ {
+ "type": "integer"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
+ }
+ },
+ "required": [
+ "allow_list",
+ "presets"
+ ]
+ },
+ "AutomodCustomWordsRuleSchema": {
+ "type": "object",
+ "properties": {
+ "allow_list": {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "bans": {
+ "keyword_filter": {
"type": "array",
- "items": {
- "$ref": "#/components/schemas/Ban"
- }
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "primary_category_id": {
+ "regex_patterns": {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
+ }
+ },
+ "required": [
+ "allow_list",
+ "keyword_filter",
+ "regex_patterns"
+ ]
+ },
+ "AutomodRuleSchema": {
+ "type": "object",
+ "properties": {
+ "creator_id": {
"type": "string"
},
- "large": {
+ "enabled": {
"type": "boolean"
},
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
+ "event_type": {
"type": "integer"
},
- "template_id": {
- "type": "string"
- },
- "emojis": {
+ "exempt_channels": {
"type": "array",
- "items": {
- "$ref": "#/components/schemas/Emoji"
- }
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "stickers": {
+ "exempt_roles": {
"type": "array",
- "items": {
- "$ref": "#/components/schemas/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/components/schemas/GuildWelcomeScreen",
- "description": "DEPRECATED: Look at the new Guild onboarding screens."
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "widget_channel_id": {
+ "guild_id": {
"type": "string"
},
- "widget_enabled": {
- "type": "boolean"
+ "name": {
+ "type": "string"
},
- "nsfw_level": {
+ "position": {
"type": "integer"
},
- "permissions": {
+ "trigger_type": {
"type": "integer"
},
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "trigger_metadata": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/AutomodMentionSpamRuleSchema"
+ },
+ {
+ "$ref": "#/components/schemas/AutomodSuspectedSpamRuleSchema"
+ },
+ {
+ "$ref": "#/components/schemas/AutomodCommonlyFlaggedWordsRuleSchema"
+ },
+ {
+ "$ref": "#/components/schemas/AutomodCustomWordsRuleSchema"
+ }
+ ]
}
},
"required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
+ "creator_id",
+ "enabled",
+ "event_type",
+ "exempt_channels",
+ "exempt_roles",
+ "guild_id",
"name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
+ "position",
+ "trigger_metadata",
+ "trigger_type"
]
},
- "DmChannelDTO": {
+ "BackupCodesChallengeSchema": {
"type": "object",
"properties": {
- "icon": {
- "type": "string",
- "nullable": true
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": "string",
- "nullable": true
- },
- "name": {
- "type": "string",
- "nullable": true
- },
- "origin_channel_id": {
- "type": "string",
- "nullable": true
- },
- "owner_id": {
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
"type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
}
},
"required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
+ "password"
]
},
- "MinimalPublicUserDTO": {
+ "BanCreateSchema": {
"type": "object",
"properties": {
- "avatar": {
- "type": "string",
- "nullable": true
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
+ "delete_message_seconds": {
+ "type": "integer"
},
- "public_flags": {
+ "delete_message_days": {
"type": "integer"
},
- "username": {
+ "reason": {
"type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
}
- },
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
+ }
},
- "Categories": {
+ "BanModeratorSchema": {
"type": "object",
"properties": {
"id": {
- "type": "integer"
+ "type": "string"
},
- "name": {
+ "user_id": {
"type": "string"
},
- "localizations": {
+ "guild_id": {
"type": "string"
},
- "is_primary": {
- "type": "boolean"
+ "executor_id": {
+ "type": "string"
},
- "icon": {
+ "reason": {
"type": "string"
}
},
"required": [
+ "executor_id",
+ "guild_id",
"id",
- "is_primary",
- "localizations",
- "name"
+ "user_id"
]
},
- "GuildVoiceRegion": {
+ "BanRegistrySchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
- "name": {
+ "user_id": {
"type": "string"
},
- "custom": {
- "type": "boolean"
+ "guild_id": {
+ "type": "string"
},
- "deprecated": {
- "type": "boolean"
+ "executor_id": {
+ "type": "string"
},
- "optimal": {
- "type": "boolean"
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
}
},
"required": [
- "custom",
- "deprecated",
+ "executor_id",
+ "guild_id",
"id",
- "name",
- "optimal"
+ "user_id"
]
},
- "UserLimits": {
+ "BotModifySchema": {
"type": "object",
"properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
+ "avatar": {
+ "type": "string"
},
- "maxUsername": {
- "type": "integer",
- "default": 32
+ "username": {
+ "type": "string"
},
- "maxFriends": {
- "type": "integer",
- "default": 5000
+ "banner": {
+ "type": "string"
+ }
+ }
+ },
+ "BulkBanSchema": {
+ "type": "object",
+ "properties": {
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "maxBio": {
- "type": "integer",
- "default": 190
+ "delete_message_seconds": {
+ "type": "integer"
}
},
"required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
+ "user_ids"
]
},
- "GuildLimits": {
+ "BulkDeleteSchema": {
"type": "object",
"properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
+ "messages": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
"required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
+ "messages"
]
},
- "MessageLimits": {
+ "ChannelModifySchema": {
"type": "object",
"properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
+ "name": {
+ "maxLength": 100,
+ "type": "string"
},
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 2,
+ 20,
+ 21,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
},
- "maxTopic": {
- "type": "integer",
- "default": 1024
+ "topic": {
+ "type": "string"
},
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
+ "icon": {
+ "type": "string",
+ "nullable": true
},
- "ip": {
- "$ref": "#/components/schemas/RateLimitOptions"
+ "bitrate": {
+ "type": "integer"
},
- "global": {
- "$ref": "#/components/schemas/RateLimitOptions"
+ "user_limit": {
+ "type": "integer"
},
- "error": {
- "$ref": "#/components/schemas/RateLimitOptions"
+ "rate_limit_per_user": {
+ "type": "integer"
},
- "routes": {
- "$ref": "#/components/schemas/RouteRateLimit"
- }
- },
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
+ "position": {
"type": "integer"
},
- "count": {
+ "invitable": {
+ "type": "boolean"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
"type": "integer"
},
- "window": {
+ "default_reaction_emoji": {
+ "type": "string",
+ "nullable": true
+ },
+ "flags": {
"type": "integer"
},
- "onyIp": {
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "auto_archive_duration": {
+ "type": "integer"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "locked": {
"type": "boolean"
+ },
+ "available_tags": {
+ "type": "array",
+ "items": {
+ "additionalProperties": false,
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "moderated": {
+ "type": [
+ "null",
+ "boolean"
+ ]
+ },
+ "emoji_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "emoji_name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ]
+ }
}
- },
- "required": [
- "count",
- "window"
- ]
+ }
},
- "RouteRateLimit": {
+ "ChannelPermissionOverwriteSchema": {
"type": "object",
"properties": {
- "guild": {
- "$ref": "#/components/schemas/RateLimitOptions"
+ "allow": {
+ "type": "string"
},
- "webhook": {
- "$ref": "#/components/schemas/RateLimitOptions"
+ "deny": {
+ "type": "string"
},
- "channel": {
- "$ref": "#/components/schemas/RateLimitOptions"
+ "id": {
+ "type": "string"
},
- "auth": {
- "$ref": "#/components/schemas/AuthRateLimit"
+ "type": {
+ "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
}
},
"required": [
- "auth",
- "channel",
- "guild",
- "webhook"
+ "allow",
+ "deny",
+ "id",
+ "type"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/components/schemas/RateLimitOptions"
+ "ChannelReorderSchema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "lock_permissions": {
+ "type": "boolean"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
},
- "register": {
- "$ref": "#/components/schemas/RateLimitOptions"
- }
- },
- "required": [
- "login",
- "register"
- ]
+ "additionalProperties": false,
+ "required": [
+ "id"
+ ]
+ }
},
- "GlobalRateLimits": {
+ "CodesVerificationSchema": {
"type": "object",
"properties": {
- "register": {
- "$ref": "#/components/schemas/GlobalRateLimit"
+ "key": {
+ "type": "string"
},
- "sendMessage": {
- "$ref": "#/components/schemas/GlobalRateLimit"
+ "nonce": {
+ "type": "string"
+ },
+ "regenerate": {
+ "type": "boolean"
}
},
"required": [
- "register",
- "sendMessage"
+ "key",
+ "nonce"
]
},
- "GlobalRateLimit": {
+ "ConnectedAccountSchema": {
"type": "object",
"properties": {
- "limit": {
- "type": "integer",
- "default": 100
+ "external_id": {
+ "type": "string"
},
- "window": {
- "type": "integer",
- "default": 3600000
+ "user_id": {
+ "type": "string"
+ },
+ "token_data": {
+ "$ref": "#/components/schemas/ConnectedAccountTokenData"
+ },
+ "friend_sync": {
+ "type": "boolean"
},
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
"name": {
"type": "string"
},
+ "revoked": {
+ "type": "boolean"
+ },
+ "show_activity": {
+ "type": "integer"
+ },
"type": {
"type": "string"
},
"verified": {
"type": "boolean"
- }
- },
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
},
- "bio": {
- "type": "string"
+ "visibility": {
+ "type": "integer"
},
- "theme_colors": {
+ "integrations": {
"type": "array",
"items": {
- "type": "integer"
+ "type": "string"
}
},
- "pronouns": {
- "type": "string"
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer"
+ },
+ "two_way_link": {
+ "type": "boolean"
}
},
"required": [
- "bio"
+ "external_id",
+ "name",
+ "type",
+ "user_id"
]
},
- "Badge": {
+ "ConnectionCallbackSchema": {
"type": "object",
"properties": {
- "id": {
+ "code": {
"type": "string"
},
- "description": {
+ "state": {
"type": "string"
},
- "icon": {
- "type": "string"
+ "insecure": {
+ "type": "boolean"
},
- "link": {
- "type": "string"
- }
+ "friend_sync": {
+ "type": "boolean"
+ },
+ "openid_params": {}
},
"required": [
- "description",
- "icon",
- "id"
+ "friend_sync",
+ "insecure",
+ "state"
]
},
- "GenerateWebAuthnCredentialsSchema": {
+ "ConnectionUpdateSchema": {
"type": "object",
"properties": {
- "password": {
- "type": "string"
+ "visibility": {
+ "type": "boolean"
+ },
+ "show_activity": {
+ "type": "boolean"
+ },
+ "metadata_visibility": {
+ "type": "boolean"
}
- },
- "required": [
- "password"
- ]
+ }
},
- "CreateWebAuthnCredentialSchema": {
+ "DmChannelCreateSchema": {
"type": "object",
"properties": {
- "credential": {
- "type": "string"
- },
"name": {
"type": "string"
},
- "ticket": {
+ "recipients": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "recipient_id": {
"type": "string"
+ },
+ "access_tokens": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
- },
- "required": [
- "credential",
- "name",
- "ticket"
- ]
+ }
},
- "TokenResponse": {
+ "EmailDomainLookupSchema": {
"type": "object",
"properties": {
- "token": {
+ "allow_multiple_guilds": {
+ "type": "boolean"
+ },
+ "email": {
"type": "string"
},
- "settings": {
- "$ref": "#/components/schemas/UserSettings"
+ "use_verification_code": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
}
},
"required": [
- "settings",
- "token"
+ "allow_multiple_guilds",
+ "email",
+ "use_verification_code"
]
},
- "MFAResponse": {
+ "EmailDomainLookupVerifyCodeSchema": {
"type": "object",
"properties": {
- "ticket": {
+ "email": {
"type": "string"
},
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
+ "guild_id": {
+ "type": "string"
},
- "token": {
- "type": "null"
+ "code": {
+ "type": "string"
}
},
"required": [
- "mfa",
- "sms",
- "ticket",
- "token"
+ "code",
+ "email",
+ "guild_id"
]
},
- "WebAuthnResponse": {
+ "EmojiCreateSchema": {
"type": "object",
"properties": {
- "webauthn": {
+ "name": {
"type": "string"
},
- "ticket": {
+ "image": {
"type": "string"
},
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
+ "require_colons": {
"type": "boolean",
- "enum": [
- false
- ]
+ "nullable": true
},
- "token": {
- "type": "null"
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
"required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
+ "image"
]
},
- "Network.Response": {
- "description": "HTTP response data.",
+ "EmojiModifySchema": {
"type": "object",
"properties": {
- "url": {
- "type": "string"
- },
- "status": {
- "type": "integer"
- },
- "statusText": {
+ "name": {
"type": "string"
},
- "headers": {
- "$ref": "#/components/schemas/Network.Headers"
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
- },
- "required": [
- "headers",
- "status",
- "statusText",
- "url"
- ]
+ }
},
- "ConnectedAccountCommonOAuthTokenResponse": {
+ "ForgotPasswordSchema": {
"type": "object",
"properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
+ "login": {
"type": "string"
},
- "refresh_token": {
+ "captcha_key": {
"type": "string"
- },
- "expires_in": {
- "type": "integer"
}
},
"required": [
- "access_token",
- "scope",
- "token_type"
+ "login"
]
},
- "ApplicationAuthorizeSchema": {
+ "GreetRequestSchema": {
"type": "object",
"properties": {
- "authorize": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
+ "sticker_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "captcha_key": {
- "type": "string"
+ "allowed_mentions": {
+ "$ref": "#/components/schemas/AllowedMentions"
},
- "code": {
- "minLength": 6,
- "maxLength": 6,
- "type": "string"
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "fail_if_not_exists": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
}
},
"required": [
- "authorize",
- "guild_id",
- "permissions"
+ "sticker_ids"
]
},
- "ApplicationCreateSchema": {
+ "GuildCreateSchema": {
"type": "object",
"properties": {
"name": {
+ "maxLength": 100,
"type": "string"
},
- "team_id": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ]
- },
- "ApplicationModifySchema": {
- "type": "object",
- "properties": {
- "description": {
+ "region": {
"type": "string"
},
"icon": {
- "type": "string"
+ "type": "string",
+ "nullable": true
},
- "cover_image": {
- "type": "string"
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ChannelCreateSchema"
+ }
},
- "interactions_endpoint_url": {
+ "system_channel_id": {
"type": "string"
},
- "max_participants": {
- "type": "integer",
- "nullable": true
- },
- "name": {
+ "rules_channel_id": {
"type": "string"
},
- "privacy_policy_url": {
+ "guild_template_code": {
"type": "string"
},
- "role_connections_verification_url": {
- "type": "string"
+ "staff_only": {
+ "type": "boolean"
+ }
+ }
+ },
+ "GuildSubscriptionsBulkSchema": {
+ "type": "object",
+ "properties": {
+ "subscriptions": {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/components/schemas/GuildSubscriptionSchema"
+ }
+ }
+ },
+ "required": [
+ "subscriptions"
+ ]
+ },
+ "GuildSubscriptionSchema": {
+ "type": "object",
+ "properties": {
+ "channels": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
},
- "tags": {
+ "members": {
"type": "array",
"items": {
"type": "string"
}
},
- "terms_of_service_url": {
- "type": "string"
- },
- "bot_public": {
+ "activities": {
"type": "boolean"
},
- "bot_require_code_grant": {
+ "threads": {
"type": "boolean"
},
- "flags": {
- "type": "integer"
+ "typing": {
+ "const": true,
+ "type": "boolean"
},
- "custom_install_url": {
- "type": "string"
+ "member_updates": {
+ "type": "boolean"
},
- "guild_id": {
- "type": "string"
+ "thread_member_lists": {
+ "type": "array",
+ "items": {}
}
}
},
- "BackupCodesChallengeSchema": {
+ "GuildTemplateCreateSchema": {
"type": "object",
"properties": {
- "password": {
- "minLength": 1,
- "maxLength": 72,
+ "name": {
"type": "string"
+ },
+ "avatar": {
+ "type": "string",
+ "nullable": true
}
},
"required": [
- "password"
+ "name"
]
},
- "BanCreateSchema": {
+ "GuildUpdateSchema": {
"type": "object",
"properties": {
- "delete_message_seconds": {
- "type": "string"
+ "banner": {
+ "type": "string",
+ "nullable": true
},
- "delete_message_days": {
- "type": "string"
+ "splash": {
+ "type": "string",
+ "nullable": true
},
- "reason": {
- "type": "string"
- }
- }
- },
- "BanModeratorSchema": {
- "type": "object",
- "properties": {
- "id": {
+ "description": {
"type": "string"
},
- "user_id": {
- "type": "string"
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "guild_id": {
- "type": "string"
+ "verification_level": {
+ "type": "integer"
},
- "executor_id": {
- "type": "string"
+ "default_message_notifications": {
+ "type": "integer"
},
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "executor_id",
- "guild_id",
- "id",
- "user_id"
- ]
- },
- "BanRegistrySchema": {
- "type": "object",
- "properties": {
- "id": {
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
"type": "string"
},
- "user_id": {
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "afk_channel_id": {
"type": "string"
},
- "guild_id": {
+ "preferred_locale": {
"type": "string"
},
- "executor_id": {
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
"type": "string"
},
- "ip": {
+ "safety_alerts_channel_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "name": {
+ "maxLength": 100,
"type": "string"
},
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "executor_id",
- "guild_id",
- "id",
- "user_id"
- ]
- },
- "BotModifySchema": {
- "type": "object",
- "properties": {
- "avatar": {
+ "region": {
"type": "string"
},
- "username": {
- "type": "string"
- }
- }
- },
- "ChannelPermissionOverwriteSchema": {
- "type": "object",
- "properties": {
- "allow": {
+ "icon": {
+ "type": "string",
+ "nullable": true
+ },
+ "system_channel_id": {
"type": "string"
},
- "deny": {
+ "rules_channel_id": {
"type": "string"
},
- "id": {
+ "guild_template_code": {
"type": "string"
},
- "type": {
- "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
+ "staff_only": {
+ "type": "boolean"
}
- },
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
+ }
},
- "ChannelReorderSchema": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "lock_permissions": {
- "type": "boolean"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
+ "GuildUpdateWelcomeScreenSchema": {
+ "type": "object",
+ "properties": {
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
]
}
},
- "additionalProperties": false,
- "required": [
- "id"
- ]
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ }
}
},
- "CodesVerificationSchema": {
+ "HubWaitlistSignupSchema": {
"type": "object",
"properties": {
- "key": {
+ "email": {
"type": "string"
},
- "nonce": {
+ "school": {
"type": "string"
- },
- "regenerate": {
- "type": "boolean"
}
},
"required": [
- "key",
- "nonce"
+ "email",
+ "school"
]
},
- "ConnectedAccountSchema": {
+ "InviteCreateSchema": {
"type": "object",
"properties": {
- "external_id": {
+ "target_user_id": {
"type": "string"
},
- "user_id": {
+ "target_type": {
"type": "string"
},
- "token_data": {
- "$ref": "#/components/schemas/ConnectedAccountTokenData"
+ "validate": {
+ "type": "string"
},
- "friend_sync": {
- "type": "boolean"
+ "max_age": {
+ "type": "integer"
},
- "name": {
- "type": "string"
+ "max_uses": {
+ "type": "integer"
},
- "revoked": {
+ "temporary": {
"type": "boolean"
},
- "show_activity": {
- "type": "integer"
+ "unique": {
+ "type": "boolean"
},
- "type": {
+ "target_user": {
"type": "string"
},
- "verified": {
- "type": "boolean"
+ "target_user_type": {
+ "type": "integer"
},
- "visibility": {
+ "flags": {
"type": "integer"
+ }
+ }
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
},
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "mfa": {
+ "type": "boolean",
+ "const": true
},
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer"
+ "sms": {
+ "type": "boolean",
+ "const": false
},
- "two_way_link": {
- "type": "boolean"
+ "token": {
+ "type": "null"
}
},
"required": [
- "external_id",
- "name",
- "type",
- "user_id"
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
]
},
- "ConnectionCallbackSchema": {
+ "WebAuthnResponse": {
"type": "object",
"properties": {
- "code": {
+ "webauthn": {
"type": "string"
},
- "state": {
+ "ticket": {
"type": "string"
},
- "insecure": {
- "type": "boolean"
+ "mfa": {
+ "type": "boolean",
+ "const": true
},
- "friend_sync": {
- "type": "boolean"
+ "sms": {
+ "type": "boolean",
+ "const": false
},
- "openid_params": {}
+ "token": {
+ "type": "null"
+ }
},
"required": [
- "friend_sync",
- "insecure",
- "state"
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
]
},
- "ConnectionUpdateSchema": {
- "type": "object",
- "properties": {
- "visibility": {
- "type": "boolean"
+ "LoginResponse": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/TokenResponse"
},
- "show_activity": {
- "type": "boolean"
+ {
+ "$ref": "#/components/schemas/MFAResponse"
},
- "metadata_visibility": {
- "type": "boolean"
+ {
+ "$ref": "#/components/schemas/WebAuthnResponse"
}
- }
+ ]
},
- "DmChannelCreateSchema": {
+ "LoginSchema": {
"type": "object",
"properties": {
- "name": {
+ "login": {
"type": "string"
},
- "recipients": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "recipients"
- ]
- },
- "EmailDomainLookupSchema": {
- "type": "object",
- "properties": {
- "allow_multiple_guilds": {
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
+ "type": "string"
+ },
+ "undelete": {
"type": "boolean"
},
- "email": {
+ "captcha_key": {
"type": "string"
},
- "use_verification_code": {
- "type": "boolean"
+ "login_source": {
+ "type": "string"
},
- "guild_id": {
+ "gift_code_sku_id": {
"type": "string"
}
},
"required": [
- "allow_multiple_guilds",
- "email",
- "use_verification_code"
+ "login",
+ "password"
]
},
- "EmailDomainLookupVerifyCodeSchema": {
+ "MemberChangeProfileSchema": {
"type": "object",
"properties": {
- "email": {
- "type": "string"
+ "banner": {
+ "type": "string",
+ "nullable": true
},
- "guild_id": {
+ "nick": {
"type": "string"
},
- "code": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "email",
- "guild_id"
- ]
- },
- "EmojiCreateSchema": {
- "type": "object",
- "properties": {
- "name": {
+ "bio": {
"type": "string"
},
- "image": {
+ "pronouns": {
"type": "string"
},
- "require_colons": {
- "type": "boolean",
- "nullable": true
- },
- "roles": {
+ "theme_colors": {
+ "items": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "integer"
+ }
+ ],
"type": "array",
- "items": {
- "type": "string"
- }
+ "minItems": 2,
+ "maxItems": 2
}
- },
- "required": [
- "image"
- ]
+ }
},
- "EmojiModifySchema": {
+ "MemberChangeSchema": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"roles": {
"type": "array",
"items": {
"type": "string"
}
+ },
+ "nick": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string",
+ "nullable": true
+ },
+ "bio": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "nullable": true
}
}
},
- "ForgotPasswordSchema": {
+ "MemberNickChangeSchema": {
"type": "object",
"properties": {
- "login": {
- "type": "string"
- },
- "captcha_key": {
+ "nick": {
"type": "string"
}
},
"required": [
- "login"
+ "nick"
]
},
- "GuildCreateSchema": {
+ "MessageAcknowledgeSchema": {
"type": "object",
"properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string",
- "nullable": true
+ "manual": {
+ "type": "boolean"
},
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ChannelModifySchema"
- }
+ "mention_count": {
+ "type": "integer"
},
- "system_channel_id": {
- "type": "string"
+ "flags": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4
+ ],
+ "type": "number"
},
- "rules_channel_id": {
- "type": "string"
+ "last_viewed": {
+ "type": "integer"
},
- "guild_template_code": {
+ "token": {
"type": "string"
- },
- "staff_only": {
- "type": "boolean"
}
}
},
- "LazyRequestSchema": {
+ "AcknowledgeDeleteSchema": {
"type": "object",
"properties": {
- "guild_id": {
- "type": "string"
- },
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
+ "read_state_type": {
"enum": [
- true
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
+ "type": "number"
},
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "required": [
- "guild_id"
- ]
- },
- "GuildSubscriptionsBulkSchema": {
- "type": "object",
- "properties": {
- "subscriptions": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/components/schemas/GuildSubscriptionSchema"
- }
+ "version": {
+ "type": "integer"
}
- },
- "required": [
- "subscriptions"
- ]
+ }
},
- "GuildTemplateCreateSchema": {
+ "Embed": {
"type": "object",
"properties": {
- "name": {
+ "title": {
"type": "string"
},
- "avatar": {
- "type": "string",
- "nullable": true
- }
- },
- "required": [
- "name"
- ]
- },
- "GuildUpdateSchema": {
- "type": "object",
- "properties": {
- "banner": {
- "type": "string",
- "nullable": true
- },
- "splash": {
- "type": "string",
- "nullable": true
+ "type": {
+ "enum": [
+ "article",
+ "auto_moderation_message",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
},
"description": {
"type": "string"
},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "url": {
+ "type": "string"
},
- "verification_level": {
- "type": "integer"
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
},
- "default_message_notifications": {
+ "color": {
"type": "integer"
},
- "system_channel_flags": {
- "type": "integer"
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
},
- "explicit_content_filter": {
- "type": "integer"
+ "image": {
+ "$ref": "#/components/schemas/EmbedImage"
},
- "public_updates_channel_id": {
- "type": "string"
+ "thumbnail": {
+ "$ref": "#/components/schemas/EmbedImage"
},
- "afk_timeout": {
- "type": "integer"
+ "video": {
+ "$ref": "#/components/schemas/EmbedImage"
},
- "afk_channel_id": {
- "type": "string"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "discovery_splash": {
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "icon": {
- "type": "string",
- "nullable": true
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
},
- "guild_template_code": {
- "type": "string"
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
},
- "staff_only": {
- "type": "boolean"
- }
- }
- },
- "GuildUpdateWelcomeScreenSchema": {
- "type": "object",
- "properties": {
- "welcome_channels": {
+ "fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
- "channel_id": {
- "type": "string"
- },
- "description": {
+ "name": {
"type": "string"
},
- "emoji_id": {
+ "value": {
"type": "string"
},
- "emoji_name": {
- "type": "string"
+ "inline": {
+ "type": "boolean"
}
},
"additionalProperties": false,
"required": [
- "channel_id",
- "description"
+ "name",
+ "value"
]
}
- },
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
}
}
},
- "HubWaitlistSignupSchema": {
+ "MessageCreateSchema": {
"type": "object",
"properties": {
- "email": {
- "type": "string"
+ "type": {
+ "type": "integer"
},
- "school": {
- "type": "string"
- }
- },
- "required": [
- "email",
- "school"
- ]
- },
- "IdentifySchema": {
- "type": "object",
- "properties": {
- "token": {
+ "content": {
"type": "string"
},
- "properties": {
- "type": "object",
- "properties": {
- "os": {
- "type": "string"
- },
- "os_atch": {
- "type": "string"
- },
- "browser": {
- "type": "string"
- },
- "device": {
- "type": "string"
- },
- "$os": {
- "type": "string"
- },
- "$browser": {
- "type": "string"
- },
- "$device": {
- "type": "string"
- },
- "browser_user_agent": {
- "type": "string"
- },
- "browser_version": {
- "type": "string"
- },
- "os_version": {
- "type": "string"
- },
- "referrer": {
- "type": "string"
- },
- "referring_domain": {
- "type": "string"
- },
- "referrer_current": {
- "type": "string"
- },
- "referring_domain_current": {
- "type": "string"
- },
- "release_channel": {
- "enum": [
- "canary",
- "dev",
- "ptb",
- "stable"
- ],
- "type": "string"
- },
- "client_build_number": {
- "type": "integer"
- },
- "client_event_source": {
- "type": "string"
- },
- "client_version": {
- "type": "string"
- },
- "system_locale": {
- "type": "string"
- }
- },
- "additionalProperties": false
+ "mobile_network_type": {
+ "type": "string"
},
- "intents": {
- "type": "number"
+ "nonce": {
+ "type": "string"
},
- "presence": {
- "$ref": "#/components/schemas/ActivitySchema"
+ "channel_id": {
+ "type": "string"
},
- "compress": {
+ "tts": {
"type": "boolean"
},
- "large_threshold": {
- "type": "integer"
- },
- "largeThreshold": {
+ "flags": {
"type": "integer"
},
- "shard": {
- "minItems": 2,
- "maxItems": 2,
+ "embeds": {
"type": "array",
"items": {
- "type": "number"
+ "$ref": "#/components/schemas/Embed"
}
},
- "guild_subscriptions": {
- "type": "boolean"
- },
- "capabilities": {
- "type": "integer"
+ "embed": {
+ "$ref": "#/components/schemas/Embed"
},
- "client_state": {
+ "allowed_mentions": {
"type": "object",
"properties": {
- "guild_hashes": {},
- "highest_last_message_id": {
- "type": [
- "string",
- "integer"
- ]
- },
- "read_state_version": {
- "type": "integer"
- },
- "user_guild_settings_version": {
- "type": "integer"
- },
- "user_settings_version": {
- "type": "integer"
- },
- "useruser_guild_settings_version": {
- "type": "integer"
+ "parse": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "private_channels_version": {
- "type": "integer"
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "guild_versions": {},
- "api_code_version": {
- "type": "integer"
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "initial_guild_id": {
- "type": "string"
+ "replied_user": {
+ "type": "boolean"
}
},
"additionalProperties": false
},
- "clientState": {
+ "message_reference": {
"type": "object",
"properties": {
- "guildHashes": {},
- "highestLastMessageId": {
- "type": [
- "string",
- "integer"
- ]
- },
- "readStateVersion": {
- "type": "integer"
+ "message_id": {
+ "type": "string"
},
- "userGuildSettingsVersion": {
- "type": "integer"
+ "channel_id": {
+ "type": "string"
},
- "useruserGuildSettingsVersion": {
- "type": "integer"
+ "guild_id": {
+ "type": "string"
},
- "guildVersions": {},
- "apiCodeVersion": {
- "type": "integer"
+ "fail_if_not_exists": {
+ "type": "boolean"
},
- "initialGuildId": {
- "type": "string"
+ "type": {
+ "type": "integer"
}
},
"additionalProperties": false
},
- "v": {
- "type": "integer"
- }
- },
- "required": [
- "properties",
- "token"
- ]
- },
- "InviteCreateSchema": {
- "type": "object",
- "properties": {
- "target_user_id": {
+ "payload_json": {
"type": "string"
},
- "target_type": {
- "type": "string"
+ "file": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename"
+ ]
},
- "validate": {
- "type": "string"
+ "attachments": {
+ "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "uploaded_filename": {
+ "type": "string"
+ },
+ "original_content_type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "uploaded_filename"
+ ]
+ }
+ ]
+ }
},
- "max_age": {
- "type": "integer"
+ "sticker_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "max_uses": {
- "type": "integer"
+ "components": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ActionRowComponent"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "temporary": {
- "type": "boolean"
+ "poll": {
+ "$ref": "#/components/schemas/PollCreationSchema"
},
- "unique": {
+ "enforce_nonce": {
"type": "boolean"
},
- "target_user": {
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "thread_name": {
"type": "string"
},
- "target_user_type": {
- "type": "integer"
+ "avatar_url": {
+ "type": "string"
},
- "flags": {
- "type": "integer"
+ "interaction": {
+ "$ref": "#/components/schemas/MessageInteractionSchema"
+ },
+ "interaction_metadata": {
+ "$ref": "#/components/schemas/MessageInteractionSchema"
}
}
},
- "LoginSchema": {
+ "PollCreationSchema": {
"type": "object",
"properties": {
- "login": {
- "type": "string"
- },
- "password": {
- "minLength": 1,
- "maxLength": 72,
- "type": "string"
+ "question": {
+ "$ref": "#/components/schemas/PollMedia"
},
- "undelete": {
- "type": "boolean"
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PollAnswer"
+ }
},
- "captcha_key": {
- "type": "string"
+ "duration": {
+ "type": "integer"
},
- "login_source": {
- "type": "string"
+ "allow_multiselect": {
+ "type": "boolean"
},
- "gift_code_sku_id": {
- "type": "string"
+ "layout_type": {
+ "type": "integer"
}
},
"required": [
- "login",
- "password"
+ "answers",
+ "question"
]
},
- "MemberChangeProfileSchema": {
+ "MessageInteractionSchema": {
"type": "object",
"properties": {
- "banner": {
- "type": "string",
- "nullable": true
- },
- "nick": {
+ "id": {
"type": "string"
},
- "bio": {
- "type": "string"
+ "type": {
+ "$ref": "#/components/schemas/InteractionType"
},
- "pronouns": {
+ "name": {
"type": "string"
},
- "theme_colors": {
- "items": [
- {
- "type": "integer"
- },
- {
- "type": "integer"
- }
+ "command_type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
],
- "type": "array",
- "minItems": 2,
- "maxItems": 2
- }
- }
- },
- "MemberChangeSchema": {
- "type": "object",
- "properties": {
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "type": "number"
},
- "nick": {
- "type": "string"
+ "ephemerality_reason": {
+ "type": "integer"
},
- "avatar": {
- "type": "string",
- "nullable": true
+ "user": {
+ "$ref": "#/components/schemas/PublicUser"
},
- "bio": {
+ "user_id": {
"type": "string"
- }
- }
- },
- "MessageAcknowledgeSchema": {
- "type": "object",
- "properties": {
- "manual": {
- "type": "boolean"
},
- "mention_count": {
- "type": "integer"
+ "authorizing_integration_owners": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
},
- "flags": {
- "type": "integer"
+ "original_response_message_id": {
+ "description": "A container for useful snowflake-related methods.",
+ "$ref": "#/components/schemas/Snowflake"
},
- "last_viewed": {
- "type": "integer"
+ "interacted_message_id": {
+ "description": "A container for useful snowflake-related methods.",
+ "$ref": "#/components/schemas/Snowflake"
},
- "token": {
- "type": "string"
+ "triggering_interaction_metadata": {
+ "$ref": "#/components/schemas/MessageInteractionSchema"
+ },
+ "target_user": {
+ "$ref": "#/components/schemas/PublicUser"
+ },
+ "target_message_id": {
+ "description": "A container for useful snowflake-related methods.",
+ "$ref": "#/components/schemas/Snowflake"
}
- }
+ },
+ "required": [
+ "id",
+ "name",
+ "type"
+ ]
},
- "MessageCreateSchema": {
+ "MessageEditSchema": {
"type": "object",
"properties": {
- "type": {
- "type": "integer"
- },
- "content": {
- "type": "string"
- },
- "mobile_network_type": {
- "type": "string"
- },
- "nonce": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "tts": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Embed"
- }
- },
- "embed": {
- "$ref": "#/components/schemas/Embed"
- },
- "allowed_mentions": {
- "type": "object",
- "properties": {
- "parse": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "users": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "replied_user": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "fail_if_not_exists": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "payload_json": {
- "type": "string"
+ "embed": {
+ "$ref": "#/components/schemas/Embed"
},
"file": {
"type": "object",
@@ -6135,102 +6824,64 @@
"filename"
]
},
+ "flags": {
+ "type": "integer"
+ },
"attachments": {
"description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
"type": "array",
"items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
},
- "filename": {
- "type": "string"
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "uploaded_filename": {
+ "type": "string"
+ },
+ "original_content_type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "uploaded_filename"
+ ]
}
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id"
]
}
},
- "sticker_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/components/schemas/PollCreationSchema"
- },
- "enforce_nonce": {
- "type": "boolean"
- },
"applied_tags": {
"type": "array",
"items": {
"type": "string"
}
},
- "thread_name": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- }
- }
- },
- "MessageEditSchema": {
- "type": "object",
- "properties": {
- "embed": {
- "$ref": "#/components/schemas/Embed"
- },
- "file": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename"
- ]
- },
- "flags": {
- "type": "integer"
- },
"channel_id": {
"type": "string"
},
- "attachments": {
- "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id"
- ]
- }
- },
"content": {
"type": "string"
},
@@ -6290,27 +6941,41 @@
},
"fail_if_not_exists": {
"type": "boolean"
+ },
+ "type": {
+ "type": "integer"
}
},
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
+ "additionalProperties": false
},
"payload_json": {
"type": "string"
},
"sticker_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"components": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ActionRowComponent"
- }
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ActionRowComponent"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"poll": {
"$ref": "#/components/schemas/PollCreationSchema"
@@ -6318,17 +6983,17 @@
"enforce_nonce": {
"type": "boolean"
},
- "applied_tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
"thread_name": {
"type": "string"
},
"avatar_url": {
"type": "string"
+ },
+ "interaction": {
+ "$ref": "#/components/schemas/MessageInteractionSchema"
+ },
+ "interaction_metadata": {
+ "$ref": "#/components/schemas/MessageInteractionSchema"
}
}
},
@@ -6387,6 +7052,34 @@
"token"
]
},
+ "PreloadMessagesRequestSchema": {
+ "type": "object",
+ "properties": {
+ "channels": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "channel_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "PruneSchema": {
+ "type": "object",
+ "properties": {
+ "days": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "days"
+ ]
+ },
"PurgeSchema": {
"type": "object",
"properties": {
@@ -6465,6 +7158,14 @@
"username"
]
},
+ "RelationshipPatchSchema": {
+ "type": "object",
+ "properties": {
+ "nickname": {
+ "type": "string"
+ }
+ }
+ },
"RelationshipPostSchema": {
"type": "object",
"properties": {
@@ -6544,1583 +7245,1485 @@
"guild_id"
]
},
- "AccountStandingResponse": {
+ "RoleModifySchema": {
"type": "object",
"properties": {
- "classifications": {
- "type": "array",
- "items": {}
+ "name": {
+ "type": "string"
},
- "guild_classifications": {
- "type": "array",
- "items": {}
+ "permissions": {
+ "type": "string"
},
- "account_standing": {
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "colors": {
"type": "object",
"properties": {
- "state": {
- "minimum": 0,
- "maximum": 100,
+ "primary_color": {
"type": "integer"
+ },
+ "secondary_color": {
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "tertiary_color": {
+ "type": [
+ "null",
+ "integer"
+ ]
}
},
"additionalProperties": false,
"required": [
- "state"
+ "primary_color"
]
+ }
+ }
+ },
+ "RolePositionUpdateSchema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ }
},
- "is_dsa_eligible": {
- "type": "boolean"
- },
- "username": {
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "position"
+ ]
+ }
+ },
+ "SelectProtocolSchema": {
+ "type": "object",
+ "properties": {
+ "protocol": {
+ "enum": [
+ "udp",
+ "webrtc"
+ ],
"type": "string"
},
- "discriminator": {
- "type": "string"
+ "data": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "port": {
+ "type": "integer"
+ },
+ "mode": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "address",
+ "mode",
+ "port"
+ ]
+ },
+ {
+ "type": "string"
+ }
+ ]
},
- "is_appeal_eligible": {
- "type": "boolean"
+ "sdp": {
+ "type": "string"
},
- "appeal_eligibility": {
- "description": "We don't yet know what these mean, but Discord appears to return \"1\" and \"2\".",
+ "codecs": {
"type": "array",
"items": {
- "type": "integer"
+ "type": "object",
+ "properties": {
+ "name": {
+ "enum": [
+ "H264",
+ "VP8",
+ "VP9",
+ "opus"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "audio",
+ "video"
+ ],
+ "type": "string"
+ },
+ "priority": {
+ "type": "integer"
+ },
+ "payload_type": {
+ "type": "integer"
+ },
+ "rtx_payload_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "payload_type",
+ "priority",
+ "type"
+ ]
}
+ },
+ "rtc_connection_id": {
+ "type": "string"
}
},
"required": [
- "account_standing",
- "appeal_eligibility",
- "classifications",
- "discriminator",
- "guild_classifications",
- "is_appeal_eligible",
- "is_dsa_eligible",
- "username"
+ "data",
+ "protocol"
]
},
- "APIErrorOrCaptchaResponse": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "SettingsProtoUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "settings": {
+ "type": "string"
},
- {
- "$ref": "#/components/schemas/CaptchaRequiredResponse"
+ "required_data_version": {
+ "type": "integer"
}
+ },
+ "required": [
+ "settings"
]
},
- "BackupCodesChallengeResponse": {
+ "SettingsProtoUpdateJsonSchema": {
"type": "object",
"properties": {
- "nonce": {
- "type": "string"
+ "settings": {
+ "$ref": "#/components/schemas/JsonValue"
},
- "regenerate_nonce": {
- "type": "string"
+ "required_data_version": {
+ "type": "integer"
}
},
"required": [
- "nonce",
- "regenerate_nonce"
+ "settings"
]
},
- "DiscoverableGuildsResponse": {
+ "TeamCreateSchema": {
"type": "object",
"properties": {
- "total": {
- "type": "integer"
- },
- "guilds": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Guild"
- }
- },
- "offset": {
- "type": "integer"
- },
- "limit": {
- "type": "integer"
+ "name": {
+ "type": "string"
}
},
"required": [
- "guilds",
- "limit",
- "offset",
- "total"
+ "name"
]
},
- "EmailDomainLookupResponse": {
+ "TemplateCreateSchema": {
"type": "object",
"properties": {
- "guilds_info": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/HubGuild"
- }
+ "name": {
+ "type": "string"
},
- "has_matching_guild": {
- "type": "boolean"
+ "description": {
+ "type": "string"
}
},
"required": [
- "guilds_info",
- "has_matching_guild"
+ "name"
]
},
- "EmailDomainLookupVerifyCodeResponse": {
+ "TemplateModifySchema": {
"type": "object",
"properties": {
- "guild": {
- "$ref": "#/components/schemas/Guild"
+ "name": {
+ "type": "string"
},
- "joined": {
- "type": "boolean"
+ "description": {
+ "type": "string"
}
},
"required": [
- "guild",
- "joined"
+ "name"
]
},
- "EmojiSourceResponse": {
+ "TotpDisableSchema": {
"type": "object",
"properties": {
- "type": {
- "enum": [
- "APPLICATION",
- "GUILD"
- ],
+ "code": {
+ "minLength": 6,
+ "maxLength": 6,
"type": "string"
- },
- "guild": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/EmojiGuild"
- },
- {
- "type": "null"
- }
- ]
- },
- "application": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/EmojiApplication"
- },
- {
- "type": "null"
- }
- ]
}
},
"required": [
- "type"
+ "code"
]
},
- "GatewayBotResponse": {
+ "TotpEnableSchema": {
"type": "object",
"properties": {
- "url": {
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
"type": "string"
},
- "shards": {
- "type": "integer"
+ "code": {
+ "minLength": 6,
+ "maxLength": 6,
+ "type": "string"
},
- "session_start_limit": {
- "type": "object",
- "properties": {
- "total": {
- "type": "integer"
- },
- "remaining": {
- "type": "integer"
- },
- "reset_after": {
- "type": "integer"
- },
- "max_concurrency": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "max_concurrency",
- "remaining",
- "reset_after",
- "total"
- ]
+ "secret": {
+ "type": "string"
}
},
"required": [
- "session_start_limit",
- "shards",
- "url"
+ "password"
]
},
- "GatewayResponse": {
+ "TotpSchema": {
"type": "object",
"properties": {
- "url": {
+ "code": {
+ "type": "string"
+ },
+ "ticket": {
"type": "string"
+ },
+ "gift_code_sku_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "login_source": {
+ "type": "string",
+ "nullable": true
}
},
"required": [
- "url"
+ "code",
+ "ticket"
]
},
- "GenerateRegistrationTokensResponse": {
+ "UploadAttachmentRequestSchema": {
"type": "object",
"properties": {
- "tokens": {
+ "files": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/UploadAttachmentRequest"
}
}
},
"required": [
- "tokens"
+ "files"
]
},
- "GuildBansResponse": {
+ "UserDeleteSchema": {
"type": "object",
"properties": {
- "reason": {
- "type": "string",
- "nullable": true
- },
- "user": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "public_flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "avatar",
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
+ "user_id": {
+ "type": "string"
}
},
"required": [
- "reason",
- "user"
+ "user_id"
]
},
- "GuildDiscoveryRequirementsResponse": {
+ "UserGuildSettingsSchema": {
"type": "object",
"properties": {
- "uild_id": {
- "type": "string"
+ "channel_overrides": {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/components/schemas/ChannelOverride"
+ }
},
- "safe_environment": {
- "type": "boolean"
+ "version": {
+ "type": "integer"
},
- "healthy": {
- "type": "boolean"
+ "message_notifications": {
+ "type": "integer"
},
- "health_score_pending": {
+ "mobile_push": {
"type": "boolean"
},
- "size": {
- "type": "boolean"
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "nsfw_properties": {},
- "protected": {
+ "muted": {
"type": "boolean"
},
- "sufficient": {
+ "suppress_everyone": {
"type": "boolean"
},
- "sufficient_without_grace_period": {
+ "suppress_roles": {
"type": "boolean"
},
- "valid_rules_channel": {
- "type": "boolean"
+ "guild_id": {
+ "type": "string",
+ "nullable": true
},
- "retention_healthy": {
- "type": "boolean"
+ "flags": {
+ "type": "integer"
},
- "engagement_healthy": {
+ "mute_scheduled_events": {
"type": "boolean"
},
- "age": {
+ "hide_muted_channels": {
"type": "boolean"
},
- "minimum_age": {
- "type": "integer"
- },
- "health_score": {
- "type": "object",
- "properties": {
- "avg_nonnew_participators": {
- "type": "integer"
- },
- "avg_nonnew_communicators": {
- "type": "integer"
- },
- "num_intentful_joiners": {
- "type": "integer"
- },
- "perc_ret_w1_intentful": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "avg_nonnew_communicators",
- "avg_nonnew_participators",
- "num_intentful_joiners",
- "perc_ret_w1_intentful"
- ]
- },
- "minimum_size": {
- "type": "integer"
+ "notify_highlights": {
+ "const": 0,
+ "type": "number"
}
- },
- "required": [
- "age",
- "engagement_healthy",
- "health_score",
- "health_score_pending",
- "healthy",
- "minimum_age",
- "minimum_size",
- "nsfw_properties",
- "protected",
- "retention_healthy",
- "safe_environment",
- "size",
- "sufficient",
- "sufficient_without_grace_period",
- "uild_id",
- "valid_rules_channel"
- ]
+ }
},
- "GuildMessagesSearchResponse": {
+ "UserModifySchema": {
"type": "object",
"properties": {
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/GuildMessagesSearchMessage"
- }
+ "username": {
+ "minLength": 2,
+ "type": "string"
},
- "total_results": {
- "type": "integer"
- }
- },
- "required": [
- "messages",
- "total_results"
- ]
- },
- "GuildPruneResponse": {
- "type": "object",
- "properties": {
- "pruned": {
+ "avatar": {
+ "type": "string",
+ "nullable": true
+ },
+ "bio": {
+ "type": "string"
+ },
+ "accent_color": {
"type": "integer"
- }
- },
- "required": [
- "pruned"
- ]
- },
- "GuildPurgeResponse": {
- "type": "object",
- "properties": {
- "purged": {
- "type": "integer"
- }
- },
- "required": [
- "purged"
- ]
- },
- "GuildRecommendationsResponse": {
- "type": "object",
- "properties": {
- "recommended_guilds": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Guild"
- }
},
- "load_id": {
+ "banner": {
+ "type": "string",
+ "nullable": true
+ },
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
"type": "string"
- }
- },
- "required": [
- "load_id",
- "recommended_guilds"
- ]
- },
- "GuildVanityUrlResponse": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/GuildVanityUrl"
},
- {
- "$ref": "#/components/schemas/GuildVanityUrlNoInvite"
+ "new_password": {
+ "minLength": 1,
+ "maxLength": 72,
+ "type": "string"
},
- {
+ "code": {
+ "minLength": 6,
+ "maxLength": 6,
+ "type": "string"
+ },
+ "email": {
+ "format": "email",
+ "type": "string"
+ },
+ "discriminator": {
+ "minLength": 4,
+ "maxLength": 4,
+ "type": "string"
+ },
+ "display_name_colors": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/GuildVanityUrl"
+ "type": "integer"
}
+ },
+ "display_name_effect_id": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "display_name_font_id": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
}
- ]
+ }
},
- "GuildVanityUrlCreateResponse": {
+ "UserNoteUpdateSchema": {
"type": "object",
"properties": {
- "code": {
+ "note": {
"type": "string"
}
},
"required": [
- "code"
+ "note"
]
},
- "GuildWidgetJsonResponse": {
+ "UserProfileModifySchema": {
"type": "object",
"properties": {
- "id": {
+ "bio": {
"type": "string"
},
- "name": {
- "type": "string"
+ "accent_color": {
+ "type": "integer",
+ "nullable": true
},
- "instant_invite": {
+ "banner": {
+ "type": "string",
+ "nullable": true
+ },
+ "pronouns": {
"type": "string"
},
- "channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
+ "theme_colors": {
+ "items": [
+ {
+ "type": "integer"
},
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "position"
- ]
- }
- },
- "members": {
+ {
+ "type": "integer"
+ }
+ ],
"type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "status": {
- "$ref": "#/components/schemas/ClientStatus"
- },
- "avatar_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "avatar",
- "avatar_url",
- "discriminator",
- "id",
- "status",
- "username"
- ]
- }
- },
- "presence_count": {
- "type": "integer"
+ "minItems": 2,
+ "maxItems": 2
}
- },
- "required": [
- "channels",
- "id",
- "instant_invite",
- "members",
- "name",
- "presence_count"
- ]
+ }
},
- "GuildWidgetSettingsResponse": {
+ "VanityUrlSchema": {
"type": "object",
"properties": {
- "enabled": {
- "type": "boolean"
- },
- "channel_id": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/Snowflake"
- },
- {
- "type": "null"
- }
- ]
+ "code": {
+ "minLength": 1,
+ "maxLength": 20,
+ "type": "string"
}
- },
- "required": [
- "channel_id",
- "enabled"
- ]
- },
- "HubDirectoryEntriesResponse": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/HubDirectoryEntry"
}
},
- "HubWaitlistSignupResponse": {
+ "VerifyEmailSchema": {
"type": "object",
"properties": {
- "email": {
- "type": "string"
- },
- "email_domain": {
- "type": "string"
- },
- "school": {
- "type": "string"
+ "captcha_key": {
+ "type": "string",
+ "nullable": true
},
- "user_id": {
+ "token": {
"type": "string"
}
},
"required": [
- "email",
- "email_domain",
- "school",
- "user_id"
+ "token"
]
},
- "InstanceDomainsResponse": {
+ "VoiceStateUpdateSchema": {
"type": "object",
"properties": {
- "cdn": {
+ "guild_id": {
"type": "string"
},
- "gateway": {
+ "channel_id": {
"type": "string"
},
- "defaultApiVersion": {
- "type": "string"
+ "self_mute": {
+ "type": "boolean"
},
- "apiEndpoint": {
- "type": "string"
- }
- },
- "required": [
- "apiEndpoint",
- "cdn",
- "defaultApiVersion",
- "gateway"
- ]
- },
- "InstancePingResponse": {
- "type": "object",
- "properties": {
- "ping": {
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "preferred_region": {
+ "type": "string"
+ },
+ "request_to_speak_timestamp": {
"type": "string",
- "enum": [
- "pong!"
- ]
+ "format": "date-time"
},
- "instance": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "image": {
- "type": [
- "null",
- "string"
- ]
- },
- "correspondenceEmail": {
- "type": [
- "null",
- "string"
- ]
- },
- "correspondenceUserID": {
- "type": [
- "null",
- "string"
- ]
- },
- "frontPage": {
- "type": [
- "null",
- "string"
- ]
- },
- "tosPage": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "correspondenceEmail",
- "correspondenceUserID",
- "description",
- "frontPage",
- "id",
- "image",
- "name",
- "tosPage"
- ]
+ "suppress": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
}
},
"required": [
- "instance",
- "ping"
+ "self_deaf",
+ "self_mute"
]
},
- "InstanceStatsResponse": {
+ "GenerateWebAuthnCredentialsSchema": {
"type": "object",
"properties": {
- "counts": {
- "type": "object",
- "properties": {
- "user": {
- "type": "integer"
- },
- "guild": {
- "type": "integer"
- },
- "message": {
- "type": "integer"
- },
- "members": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "guild",
- "members",
- "message",
- "user"
- ]
+ "password": {
+ "type": "string"
}
},
"required": [
- "counts"
+ "password"
]
},
- "LocationMetadataResponse": {
+ "CreateWebAuthnCredentialSchema": {
"type": "object",
"properties": {
- "consent_required": {
- "type": "boolean"
+ "credential": {
+ "type": "string"
},
- "country_code": {
+ "name": {
"type": "string"
},
- "promotional_email_opt_in": {
- "type": "object",
- "properties": {
- "required": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "pre_checked": {
- "type": "boolean",
- "enum": [
- false
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "pre_checked",
- "required"
- ]
+ "ticket": {
+ "type": "string"
}
},
"required": [
- "consent_required",
- "country_code",
- "promotional_email_opt_in"
+ "credential",
+ "name",
+ "ticket"
]
},
- "MemberJoinGuildResponse": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/components/schemas/GuildCreateResponse"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Emoji"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Role"
- }
+ "WebAuthnPostSchema": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/GenerateWebAuthnCredentialsSchema"
},
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Sticker"
- }
+ {
+ "$ref": "#/components/schemas/CreateWebAuthnCredentialSchema"
}
- },
- "required": [
- "emojis",
- "guild",
- "roles",
- "stickers"
]
},
- "OAuthAuthorizeResponse": {
+ "WebAuthnTotpSchema": {
"type": "object",
"properties": {
- "location": {
+ "code": {
+ "type": "string"
+ },
+ "ticket": {
"type": "string"
}
},
"required": [
- "location"
+ "code",
+ "ticket"
]
},
- "RefreshUrlsResponse": {
+ "WebhookCreateSchema": {
"type": "object",
"properties": {
- "refreshed_urls": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/RefreshedUrl"
- }
+ "name": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
}
},
"required": [
- "refreshed_urls"
+ "name"
]
},
- "TeamListResponse": {
- "type": "object",
- "patternProperties": {
- "^[0-9]+$": {
- "$ref": "#/components/schemas/Team"
- }
- }
- },
- "TenorTrendingResponse": {
+ "WebhookExecuteSchema": {
"type": "object",
"properties": {
- "categories": {
+ "content": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Embed"
+ }
+ },
+ "allowed_mentions": {
"type": "object",
"properties": {
- "tags": {
+ "parse": {
"type": "array",
"items": {
- "type": "object",
- "properties": {
- "searchterm": {
- "type": "string"
- },
- "path": {
- "type": "string"
- },
- "image": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "image",
- "name",
- "path",
- "searchterm"
- ]
+ "type": "string"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
}
+ },
+ "replied_user": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "components": {
+ "type": "array",
+ "items": {}
+ },
+ "file": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "tags"
+ "filename"
]
},
- "gifs": {
+ "payload_json": {
+ "type": "string"
+ },
+ "attachments": {
+ "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
"type": "array",
"items": {
- "$ref": "#/components/schemas/TenorGifResponse"
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ }
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "thread_name": {
+ "type": "string"
+ },
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "fail_if_not_exists": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "sticker_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
}
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "enforce_nonce": {
+ "type": "boolean"
+ },
+ "poll": {
+ "$ref": "#/components/schemas/PollCreationSchema"
}
- },
- "required": [
- "categories",
- "gifs"
- ]
- },
- "TenorGifsResponse": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/TenorGifResponse"
}
},
- "TokenOnlyResponse": {
+ "WebhookUpdateSchema": {
"type": "object",
"properties": {
- "token": {
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "channel_id": {
"type": "string"
}
- },
- "required": [
- "token"
- ]
+ }
},
- "TokenWithBackupCodesResponse": {
+ "WidgetModifySchema": {
"type": "object",
"properties": {
- "token": {
- "type": "string"
+ "enabled": {
+ "type": "boolean"
},
- "backup_codes": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/BackupCode"
- }
+ "channel_id": {
+ "type": "string"
}
},
"required": [
- "backup_codes",
- "token"
+ "channel_id",
+ "enabled"
]
},
- "APIPublicUser": {
- "$ref": "#/components/schemas/PublicUser"
- },
- "APIPrivateUser": {
+ "TicketCreateSchema": {
"type": "object",
"properties": {
- "id": {
+ "name": {
"type": "string"
- },
- "flags": {
- "type": "integer"
- },
- "premium_since": {
+ }
+ }
+ },
+ "TicketPatchSchema": {
+ "type": "object",
+ "properties": {
+ "owner_id": {
"type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
+ "nullable": true
},
- "username": {
- "type": "string"
+ "resolved": {
+ "type": "boolean",
+ "nullable": true
},
- "discriminator": {
- "type": "string"
+ "public": {
+ "type": "boolean",
+ "nullable": true
},
- "public_flags": {
+ "closed": {
+ "type": "boolean",
+ "nullable": true
+ }
+ }
+ },
+ "MessageThreadCreationSchema": {
+ "type": "object",
+ "properties": {
+ "auto_archive_duration": {
"type": "integer"
},
- "accent_color": {
+ "rate_limit_per_user": {
"type": "integer"
},
- "banner": {
+ "name": {
"type": "string"
},
- "bio": {
+ "location": {
"type": "string"
},
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
+ "type": {
"type": "integer"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "ApplicationCommandCreateSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
},
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
+ "name": {
+ "type": "string"
+ },
+ "name_localizations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
}
},
- "pronouns": {
+ "description": {
"type": "string"
},
- "badge_ids": {
- "type": "array",
- "items": {
+ "description_localizations": {
+ "type": "object",
+ "additionalProperties": {
"type": "string"
}
},
- "mfa_enabled": {
- "type": "boolean"
- },
- "email": {
- "type": "string"
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApplicationCommandOption"
+ }
},
- "phone": {
+ "default_member_permissions": {
"type": "string"
},
- "nsfw_allowed": {
+ "dm_permission": {
"type": "boolean"
},
- "premium": {
+ "nsfw": {
"type": "boolean"
},
- "purchased_flags": {
- "type": "integer"
- },
- "premium_usage_flags": {
- "type": "integer"
+ "integration_types": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApplicationIntegrationType"
+ }
},
- "disabled": {
- "type": "boolean"
+ "contexts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/InteractionContextType"
+ }
+ },
+ "handler": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
}
},
"required": [
- "bio",
- "bot",
- "disabled",
- "discriminator",
- "flags",
- "id",
- "mfa_enabled",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "username",
- "verified"
+ "name"
]
},
- "APIGuildArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/APIGuild"
- }
- },
- "APIDMChannelArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/DmChannelDTO"
- }
- },
- "APIBackupCodeArray": {
+ "BulkApplicationCommandCreateSchema": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/BackupCode"
+ "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
}
},
- "UserUpdateResponse": {
+ "ThreadCreationSchema": {
"type": "object",
"properties": {
- "newToken": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "flags": {
- "type": "integer"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
+ "auto_archive_duration": {
"type": "integer"
},
- "accent_color": {
+ "rate_limit_per_user": {
"type": "integer"
},
- "banner": {
+ "name": {
"type": "string"
},
- "bio": {
- "type": "string"
+ "type": {
+ "enum": [
+ 11,
+ 12
+ ],
+ "type": "number"
},
- "bot": {
+ "invitable": {
"type": "boolean"
},
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
+ "applied_tags": {
"type": "array",
"items": {
- "type": "integer"
+ "type": "string"
}
},
- "pronouns": {
+ "location": {
"type": "string"
},
- "badge_ids": {
+ "message": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "string"
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Embed"
+ }
+ },
+ "allowed_mentions": {
+ "type": "object",
+ "properties": {
+ "parse": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "replied_user": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "components": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ActionRowComponent"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sticker_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "activity": {
+ "$ref": "#/components/schemas/MessageActivity"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "uploaded_filename": {
+ "type": "string"
+ },
+ "original_content_type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "uploaded_filename"
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "PostDataSchema": {
+ "type": "object",
+ "properties": {
+ "thread_ids": {
"type": "array",
"items": {
"type": "string"
}
- },
- "mfa_enabled": {
- "type": "boolean"
- },
- "email": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "nsfw_allowed": {
- "type": "boolean"
- },
- "premium": {
- "type": "boolean"
- },
- "purchased_flags": {
- "type": "integer"
- },
- "premium_usage_flags": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
}
},
"required": [
- "bio",
- "bot",
- "disabled",
- "discriminator",
- "flags",
- "id",
- "mfa_enabled",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "username",
- "verified"
+ "thread_ids"
]
},
- "ApplicationDetectableResponse": {
- "type": "array",
- "items": {}
- },
- "ApplicationEntitlementsResponse": {
- "type": "array",
- "items": {}
- },
- "ApplicationSkusResponse": {
- "type": "array",
- "items": {}
- },
- "APIApplicationArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Application"
- }
- },
- "APIInviteArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Invite"
- }
- },
- "APIMessageArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Message"
- }
- },
- "APIWebhookArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Webhook"
- }
- },
- "APIDiscoveryCategoryArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Categories"
- }
- },
- "APIGeneralConfiguration": {
+ "TagCreateSchema": {
"type": "object",
"properties": {
- "instanceName": {
- "type": "string",
- "default": "Spacebar Instance"
- },
- "instanceDescription": {
- "type": "string",
- "default": "This is a Spacebar instance made in the pre-release days",
- "nullable": true
+ "name": {
+ "type": "string"
},
- "frontPage": {
- "type": "string",
- "default": null,
+ "moderated": {
+ "type": "boolean",
"nullable": true
},
- "tosPage": {
+ "emoji_id": {
"type": "string",
- "default": null,
"nullable": true
},
- "correspondenceEmail": {
+ "emoji_name": {
"type": "string",
- "default": null,
"nullable": true
- },
- "correspondenceUserID": {
- "type": "string",
- "default": null,
- "nullable": true
- },
- "image": {
- "type": "string",
- "default": null,
- "nullable": true
- },
- "instanceId": {
- "type": "string"
- },
- "autoCreateBotUsers": {
- "type": "boolean",
- "default": false
}
},
"required": [
- "autoCreateBotUsers",
- "correspondenceEmail",
- "correspondenceUserID",
- "frontPage",
- "image",
- "instanceDescription",
- "instanceId",
- "instanceName",
- "tosPage"
+ "name"
]
},
- "APIChannelArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Channel"
- }
- },
- "APIEmojiArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Emoji"
- }
- },
- "APIMemberArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Member"
- }
- },
- "APIPublicMember": {
+ "ChannelCreateSchema": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
- },
- "guild_id": {
+ "name": {
+ "maxLength": 100,
"type": "string"
},
- "mute": {
- "type": "boolean"
- },
- "deaf": {
- "type": "boolean"
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 2,
+ 20,
+ 21,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
},
- "nick": {
+ "id": {
"type": "string"
},
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "pending": {
- "type": "boolean"
- },
- "premium_since": {
+ "flags": {
"type": "integer"
},
- "avatar": {
+ "icon": {
+ "type": "string",
+ "nullable": true
+ },
+ "parent_id": {
"type": "string"
},
- "user": {
- "$ref": "#/components/schemas/PublicUser"
+ "default_auto_archive_duration": {
+ "type": "integer"
},
- "roles": {
+ "permission_overwrites": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
}
- }
- },
- "required": [
- "deaf",
- "guild_id",
- "id",
- "joined_at",
- "mute",
- "pending",
- "roles",
- "user"
- ]
- },
- "APIGuildWithJoinedAt": {
- "type": "object",
- "properties": {
- "joined_at": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
},
- "max_members": {
+ "video_quality_mode": {
"type": "integer"
},
- "max_presences": {
+ "bitrate": {
"type": "integer"
},
- "max_video_channel_users": {
+ "user_limit": {
"type": "integer"
},
- "member_count": {
- "type": "integer"
+ "nsfw": {
+ "type": "boolean"
},
- "presence_count": {
+ "rate_limit_per_user": {
"type": "integer"
},
- "template_id": {
+ "topic": {
"type": "string"
},
- "mfa_level": {
+ "default_thread_rate_limit_per_user": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "premium_tier": {
+ "position": {
"type": "integer"
},
- "welcome_screen": {
- "$ref": "#/components/schemas/GuildWelcomeScreen"
+ "invitable": {
+ "type": "boolean"
},
- "widget_channel_id": {
+ "rtc_region": {
"type": "string"
},
- "widget_enabled": {
- "type": "boolean"
+ "default_reaction_emoji": {
+ "type": "string",
+ "nullable": true
},
- "nsfw_level": {
+ "auto_archive_duration": {
"type": "integer"
},
- "nsfw": {
+ "archived": {
"type": "boolean"
},
- "parent": {
+ "locked": {
+ "type": "boolean"
+ }
+ }
+ },
+ "VoiceIdentifySchema": {
+ "type": "object",
+ "properties": {
+ "server_id": {
"type": "string"
},
- "icon": {
- "type": "string",
- "nullable": true
- },
- "banner": {
- "type": "string",
- "nullable": true
- },
- "region": {
+ "user_id": {
"type": "string"
},
- "system_channel_id": {
+ "session_id": {
"type": "string"
},
- "rules_channel_id": {
+ "channel_id": {
"type": "string"
},
- "guild_template_code": {
+ "token": {
"type": "string"
},
- "staff_only": {
+ "video": {
"type": "boolean"
},
- "splash": {
- "type": "string",
- "nullable": true
- },
- "description": {
- "type": "string"
- },
- "features": {
+ "streams": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "audio",
+ "screen",
+ "video"
+ ],
+ "type": "string"
+ },
+ "rid": {
+ "type": "string"
+ },
+ "quality": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "quality",
+ "rid",
+ "type"
+ ]
}
},
- "verification_level": {
+ "max_secure_frames_version": {
"type": "integer"
},
- "default_message_notifications": {
+ "max_dave_protocol_version": {
"type": "integer"
- },
- "system_channel_flags": {
+ }
+ },
+ "required": [
+ "server_id",
+ "session_id",
+ "token",
+ "user_id"
+ ]
+ },
+ "VoiceVideoSchema": {
+ "type": "object",
+ "properties": {
+ "audio_ssrc": {
"type": "integer"
},
- "explicit_content_filter": {
+ "video_ssrc": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
+ "rtx_ssrc": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "preferred_locale": {
+ "user_id": {
"type": "string"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "discovery_splash": {
- "type": "string"
+ "streams": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "audio",
+ "screen",
+ "video"
+ ],
+ "type": "string"
+ },
+ "rid": {
+ "type": "string"
+ },
+ "ssrc": {
+ "type": "integer"
+ },
+ "active": {
+ "type": "boolean"
+ },
+ "quality": {
+ "type": "integer"
+ },
+ "rtx_ssrc": {
+ "type": "integer"
+ },
+ "max_bitrate": {
+ "type": "integer"
+ },
+ "max_framerate": {
+ "type": "integer"
+ },
+ "max_resolution": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "height",
+ "type",
+ "width"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "active",
+ "max_bitrate",
+ "max_framerate",
+ "max_resolution",
+ "quality",
+ "rid",
+ "rtx_ssrc",
+ "ssrc",
+ "type"
+ ]
+ }
}
},
"required": [
- "id",
- "joined_at",
- "name",
- "nsfw",
- "welcome_screen",
- "widget_enabled"
+ "audio_ssrc",
+ "video_ssrc"
]
},
- "APIRoleArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Role"
- }
- },
- "APIStickerArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Sticker"
- }
- },
- "APITemplateArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Template"
- }
- },
- "APIGuildVoiceRegion": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/GuildVoiceRegion"
- }
- },
- "APILimitsConfiguration": {
+ "CreateReportSchema": {
"type": "object",
"properties": {
- "user": {
- "$ref": "#/components/schemas/UserLimits"
+ "version": {
+ "type": "string"
},
- "guild": {
- "$ref": "#/components/schemas/GuildLimits"
+ "variant": {
+ "type": "string"
},
- "message": {
- "$ref": "#/components/schemas/MessageLimits"
+ "name": {
+ "type": "string"
},
- "channel": {
- "$ref": "#/components/schemas/ChannelLimits"
+ "language": {
+ "type": "string"
},
- "rate": {
- "$ref": "#/components/schemas/RateLimits"
+ "breadcrumbs": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
},
- "absoluteRate": {
- "$ref": "#/components/schemas/GlobalRateLimits"
- }
- },
- "required": [
- "absoluteRate",
- "channel",
- "guild",
- "message",
- "rate",
- "user"
- ]
- },
- "APIStickerPackArray": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/StickerPack"
- }
- },
- "APIConnectionsConfiguration": {
- "type": "object"
- },
- "UpdatesResponse": {
- "type": "object",
- "properties": {
- "name": {
+ "elements": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "channel_id": {
"type": "string"
},
- "pub_date": {
+ "message_id": {
"type": "string"
},
- "url": {
+ "guild_id": {
"type": "string"
},
- "notes": {
- "type": "string",
- "nullable": true
- }
- },
- "required": [
- "name",
- "notes",
- "pub_date",
- "url"
- ]
- },
- "UserNoteResponse": {
- "type": "object",
- "properties": {
- "note": {
+ "stage_instance_id": {
"type": "string"
},
- "note_user_id": {
+ "guild_scheduled_event_id": {
+ "type": "string"
+ },
+ "reported_user_id": {
+ "type": "string"
+ },
+ "application_id": {
"type": "string"
},
"user_id": {
"type": "string"
+ },
+ "widget_id": {
+ "type": "string"
}
},
"required": [
- "note",
- "note_user_id",
- "user_id"
+ "breadcrumbs",
+ "language",
+ "name",
+ "variant",
+ "version"
]
},
- "UserProfileResponse": {
+ "SessionsLogoutSchema": {
"type": "object",
"properties": {
- "user": {
- "$ref": "#/components/schemas/PublicUser"
- },
- "connected_accounts": {
- "$ref": "#/components/schemas/PublicConnectedAccount"
- },
- "premium_guild_since": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
+ "session_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "mutual_guilds": {
+ "session_id_hashes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "GetSessionsResponse": {
+ "type": "object",
+ "properties": {
+ "user_sessions": {
"type": "array",
"items": {
"type": "object",
@@ -8128,1458 +8731,11953 @@
"id": {
"type": "string"
},
- "nick": {
+ "id_hash": {
"type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- }
- },
- "premium_type": {
- "type": "integer"
- },
- "profile_themes_experiment_bucket": {
- "type": "integer"
- },
- "user_profile": {
- "$ref": "#/components/schemas/UserProfile"
- },
- "guild_member": {
- "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"
- },
- "user": {
- "$ref": "#/components/schemas/PublicUser"
- },
- "roles": {
- "type": "array",
- "items": {
+ },
+ "status": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Activity"
+ }
+ }
+ },
+ "client_status": {
+ "$ref": "#/components/schemas/ClientStatus"
+ },
+ "approx_last_used_time": {
+ "type": "string"
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "location": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "location",
+ "os",
+ "version"
+ ]
+ },
+ "last_seen": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "last_seen_ip": {
+ "type": "string"
+ },
+ "last_seen_location": {
"type": "string"
}
- }
- },
- "required": [
- "deaf",
- "guild_id",
- "id",
- "joined_at",
- "mute",
- "pending",
- "roles",
- "user"
- ]
- },
- "guild_member_profile": {
- "additionalProperties": false,
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
},
- "accent_color": {
- "type": "null"
- }
- },
- "required": [
- "accent_color",
- "banner",
- "bio",
- "guild_id"
- ]
- },
- "badges": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Badge"
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "approx_last_used_time",
+ "client_info",
+ "client_status",
+ "id",
+ "id_hash",
+ "status"
+ ]
}
}
},
"required": [
- "badges",
- "connected_accounts",
- "mutual_guilds",
- "premium_type",
- "profile_themes_experiment_bucket",
- "user",
- "user_profile"
+ "user_sessions"
]
},
- "UserRelationshipsResponse": {
+ "ApplicationCommandOption": {
"type": "object",
"properties": {
- "id": {
+ "type": {
+ "$ref": "#/components/schemas/ApplicationCommandOptionType"
+ },
+ "name": {
"type": "string"
},
- "type": {
- "$ref": "#/components/schemas/RelationshipType"
+ "description": {
+ "type": "string"
},
- "nickname": {
- "type": "null"
+ "required": {
+ "type": "boolean"
},
- "user": {
- "$ref": "#/components/schemas/PublicUser"
+ "choices": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApplicationCommandOptionChoice"
+ }
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApplicationCommandOption"
+ }
}
},
"required": [
- "id",
- "nickname",
- "type",
- "user"
+ "description",
+ "name",
+ "type"
]
},
- "UserRelationsResponse": {
- "type": "array",
- "items": {
- "additionalProperties": false,
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- }
- },
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- }
+ "ApplicationCommandOptionType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8
+ ]
},
- "WebAuthnCreateResponse": {
+ "ApplicationCommandOptionChoice": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
- "id": {
- "type": "string"
+ "value": {
+ "type": [
+ "string",
+ "integer"
+ ]
}
},
"required": [
- "id",
- "name"
+ "name",
+ "value"
]
},
- "WebhookCreateResponse": {
+ "ApplicationCommandIndexPermissions": {
"type": "object",
"properties": {
"user": {
- "$ref": "#/components/schemas/User"
+ "type": "boolean"
},
- "hook": {
- "$ref": "#/components/schemas/Webhook"
+ "roles": {
+ "$ref": "#/components/schemas/Record"
+ },
+ "channels": {
+ "$ref": "#/components/schemas/Record"
}
- },
- "required": [
- "hook",
- "user"
+ }
+ },
+ "ApplicationIntegrationType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1
]
},
- "RoleModifySchema": {
+ "InteractionContextType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2
+ ]
+ },
+ "JsonRpcError": {
+ "description": "JSON-RPC 2.0 error object",
"type": "object",
"properties": {
- "name": {
- "type": "string"
+ "code": {
+ "type": "integer"
},
- "permissions": {
+ "message": {
"type": "string"
},
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
+ "data": {}
+ },
+ "required": [
+ "code",
+ "message"
+ ]
+ },
+ "OpenAiChatCompletionObject": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "mentionable": {
- "type": "boolean"
+ "object": {
+ "type": "string",
+ "const": "chat.completion"
},
- "position": {
+ "created": {
"type": "integer"
},
- "icon": {
+ "model": {
"type": "string"
},
- "unicode_emoji": {
- "type": "string"
- }
- }
- },
- "RolePositionUpdateSchema": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "position": {
- "type": "integer"
+ "choices": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string"
+ },
+ "content": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "refusal": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "annotations": {
+ "type": "array",
+ "items": {}
+ },
+ "tool_calls": {
+ "type": "array",
+ "items": {}
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "content",
+ "role"
+ ]
+ },
+ "logprobs": {},
+ "finish_reason": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "finish_reason",
+ "index",
+ "message"
+ ]
}
},
- "additionalProperties": false,
- "required": [
- "id",
- "position"
- ]
- }
- },
- "SelectProtocolSchema": {
- "type": "object",
- "properties": {
- "protocol": {
- "enum": [
- "udp",
- "webrtc"
- ],
- "type": "string"
- },
- "data": {
- "anyOf": [
- {
+ "usage": {
+ "type": "object",
+ "properties": {
+ "prompt_tokens": {
+ "type": "integer"
+ },
+ "completion_tokens": {
+ "type": "integer"
+ },
+ "total_tokens": {
+ "type": "integer"
+ },
+ "prompt_tokens_details": {
"type": "object",
"properties": {
- "address": {
- "type": "string"
- },
- "port": {
+ "cached_tokens": {
"type": "integer"
},
- "mode": {
- "type": "string"
+ "audio_tokens": {
+ "type": "integer"
}
},
- "additionalProperties": false,
- "required": [
- "address",
- "mode",
- "port"
- ]
+ "additionalProperties": false
},
- {
- "type": "string"
+ "completion_tokens_details": {
+ "type": "object",
+ "properties": {
+ "reasoning_tokens": {
+ "type": "integer"
+ },
+ "audio_tokens": {
+ "type": "integer"
+ },
+ "accepted_prediction_tokens": {
+ "type": "integer"
+ },
+ "rejected_prediction_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
}
+ },
+ "additionalProperties": false,
+ "required": [
+ "completion_tokens",
+ "prompt_tokens",
+ "total_tokens"
]
},
- "sdp": {
+ "service_tier": {
"type": "string"
},
- "codecs": {
+ "system_fingerprint": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "choices",
+ "created",
+ "id",
+ "model",
+ "object",
+ "usage"
+ ]
+ },
+ "OpenAIResponseObject": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "object": {
+ "type": "string",
+ "const": "response"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "status": {
+ "enum": [
+ "cancelled",
+ "completed",
+ "failed",
+ "in_progress"
+ ],
+ "type": "string"
+ },
+ "error": {
+ "type": "string",
+ "nullable": true
+ },
+ "incomplete_details": {},
+ "instructions": {},
+ "max_output_tokens": {
+ "type": "integer",
+ "nullable": true
+ },
+ "model": {
+ "type": "string"
+ },
+ "output": {
"type": "array",
"items": {
"type": "object",
"properties": {
- "name": {
- "enum": [
- "H264",
- "VP8",
- "VP9",
- "opus"
- ],
- "type": "string"
- },
"type": {
- "enum": [
- "audio",
- "video"
- ],
+ "type": "string",
+ "const": "message"
+ },
+ "id": {
"type": "string"
},
- "priority": {
- "type": "integer"
+ "status": {
+ "type": "string"
},
- "payload_type": {
- "type": "integer"
+ "role": {
+ "type": "string"
},
- "rtx_payload_type": {
- "type": "integer"
+ "content": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "output_text"
+ },
+ "text": {
+ "type": "string"
+ },
+ "annotations": {
+ "type": "array",
+ "items": {}
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "annotations",
+ "text",
+ "type"
+ ]
+ }
}
},
"additionalProperties": false,
"required": [
- "name",
- "payload_type",
- "priority",
+ "content",
+ "id",
+ "role",
+ "status",
"type"
]
}
},
- "rtc_connection_id": {
+ "output_text": {
+ "type": "string"
+ },
+ "parallel_tool_calls": {
+ "type": "boolean"
+ },
+ "previous_response_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "reasoning": {
+ "type": "object",
+ "properties": {
+ "effort": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "summary": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "effort",
+ "summary"
+ ]
+ },
+ "store": {
+ "type": "boolean"
+ },
+ "temperature": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "object",
+ "properties": {
+ "format": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "type"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format"
+ ]
+ },
+ "tool_choice": {
+ "type": "string"
+ },
+ "tools": {
+ "type": "array",
+ "items": {}
+ },
+ "top_p": {
+ "type": "integer"
+ },
+ "truncation": {
"type": "string"
+ },
+ "usage": {
+ "type": "object",
+ "properties": {
+ "input_tokens": {
+ "type": "integer"
+ },
+ "input_tokens_details": {
+ "type": "object",
+ "properties": {
+ "cached_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "output_tokens": {
+ "type": "integer"
+ },
+ "output_tokens_details": {
+ "type": "object",
+ "properties": {
+ "reasoning_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "total_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "input_tokens",
+ "output_tokens",
+ "total_tokens"
+ ]
+ },
+ "user": {
+ "type": "string",
+ "nullable": true
+ },
+ "metadata": {
+ "$ref": "#/components/schemas/Record"
}
},
"required": [
- "data",
- "protocol"
+ "created_at",
+ "error",
+ "id",
+ "incomplete_details",
+ "instructions",
+ "max_output_tokens",
+ "metadata",
+ "model",
+ "object",
+ "output",
+ "output_text",
+ "parallel_tool_calls",
+ "previous_response_id",
+ "reasoning",
+ "status",
+ "store",
+ "temperature",
+ "text",
+ "tool_choice",
+ "tools",
+ "top_p",
+ "truncation",
+ "usage",
+ "user"
]
},
- "StreamCreateSchema": {
+ "OpenAICreateEmbeddingsObject": {
"type": "object",
"properties": {
- "type": {
- "enum": [
- "call",
- "guild"
- ],
- "type": "string"
+ "object": {
+ "type": "string",
+ "const": "list"
},
- "channel_id": {
- "type": "string"
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/OpenAIEmbeddingsObject"
+ }
},
- "guild_id": {
+ "model": {
"type": "string"
},
- "preferred_region": {
- "type": "string"
+ "usage": {
+ "type": "object",
+ "properties": {
+ "prompt_tokens": {
+ "type": "integer"
+ },
+ "total_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "prompt_tokens",
+ "total_tokens"
+ ]
}
},
"required": [
- "channel_id",
- "type"
+ "data",
+ "model",
+ "object",
+ "usage"
]
},
- "StreamDeleteSchema": {
+ "OpenAIEmbeddingsObject": {
"type": "object",
"properties": {
- "stream_key": {
- "type": "string"
+ "object": {
+ "type": "string",
+ "const": "embedding"
+ },
+ "embedding": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "index": {
+ "type": "integer"
}
},
"required": [
- "stream_key"
+ "embedding",
+ "index",
+ "object"
]
},
- "StreamWatchSchema": {
+ "OpenAIConversationObject": {
+ "description": "OpenAI Conversations API Conversation object",
"type": "object",
"properties": {
- "stream_key": {
+ "id": {
"type": "string"
+ },
+ "object": {
+ "type": "string",
+ "const": "conversation"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "metadata": {
+ "$ref": "#/components/schemas/Record"
}
},
"required": [
- "stream_key"
+ "created_at",
+ "id",
+ "object"
]
},
- "TeamCreateSchema": {
+ "Blob": {
+ "description": "`Blob` class is a global reference for `import { Blob } from 'node:buffer'`\nhttps://nodejs.org/api/buffer.html#class-blob",
"type": "object",
"properties": {
- "name": {
+ "size": {
+ "description": "The total size of the `Blob` in bytes.",
+ "type": "integer"
+ },
+ "type": {
+ "description": "The content-type of the `Blob`.",
"type": "string"
}
},
"required": [
- "name"
+ "size",
+ "type"
]
},
- "TemplateCreateSchema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
+ "ArrayBufferLike": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ArrayBuffer"
},
- "description": {
- "type": "string"
+ {
+ "$ref": "#/components/schemas/SharedArrayBuffer"
}
- },
- "required": [
- "name"
]
},
- "TemplateModifySchema": {
+ "ArrayBuffer": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
+ "byteLength": {
+ "type": "integer"
},
- "description": {
+ "__@toStringTag@1293": {
"type": "string"
}
},
"required": [
- "name"
+ "__@toStringTag@1293",
+ "byteLength"
]
},
- "TotpDisableSchema": {
+ "SharedArrayBuffer": {
"type": "object",
"properties": {
- "code": {
- "minLength": 6,
- "maxLength": 6,
- "type": "string"
+ "byteLength": {
+ "type": "integer"
+ },
+ "__@species@16433": {
+ "$ref": "#/components/schemas/SharedArrayBuffer"
+ },
+ "__@toStringTag@1293": {
+ "type": "string",
+ "const": "SharedArrayBuffer"
}
},
"required": [
- "code"
+ "__@species@16433",
+ "__@toStringTag@1293",
+ "byteLength"
]
},
- "TotpEnableSchema": {
+ "MessageName": {
+ "enum": [
+ "authenticationCleartextPassword",
+ "authenticationMD5Password",
+ "authenticationOk",
+ "authenticationSASL",
+ "authenticationSASLContinue",
+ "authenticationSASLFinal",
+ "backendKeyData",
+ "bindComplete",
+ "closeComplete",
+ "commandComplete",
+ "copyData",
+ "copyDone",
+ "copyInResponse",
+ "copyOutResponse",
+ "dataRow",
+ "emptyQuery",
+ "error",
+ "noData",
+ "notice",
+ "notification",
+ "parameterDescription",
+ "parameterStatus",
+ "parseComplete",
+ "portalSuspended",
+ "readyForQuery",
+ "replicationStart",
+ "rowDescription"
+ ],
+ "type": "string"
+ },
+ "ErrorList": {
+ "type": "object"
+ },
+ "InteractionType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ]
+ },
+ "InteractionData": {
"type": "object",
"properties": {
- "password": {
- "minLength": 1,
- "maxLength": 72,
+ "application_command": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/UploadAttachmentRequestSchema"
+ }
+ },
+ "id": {
"type": "string"
},
- "code": {
- "minLength": 6,
- "maxLength": 6,
+ "name": {
"type": "string"
},
- "secret": {
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApplicationCommandOption"
+ }
+ },
+ "type": {
+ "type": "integer"
+ },
+ "version": {
"type": "string"
}
},
"required": [
- "password"
+ "application_command",
+ "attachments",
+ "id",
+ "name",
+ "options",
+ "type",
+ "version"
]
},
- "TotpSchema": {
+ "UploadAttachmentRequest": {
"type": "object",
"properties": {
- "code": {
+ "id": {
"type": "string"
},
- "ticket": {
+ "filename": {
"type": "string"
},
- "gift_code_sku_id": {
- "type": "string",
- "nullable": true
+ "file_size": {
+ "type": "integer"
},
- "login_source": {
- "type": "string",
- "nullable": true
+ "is_clip": {
+ "type": "boolean"
+ },
+ "original_content_type": {
+ "type": "string"
}
},
"required": [
- "code",
- "ticket"
+ "file_size",
+ "filename"
]
},
- "UserDeleteSchema": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- }
- },
- "required": [
- "user_id"
+ "InteractionCallbackType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12
]
},
- "UserGuildSettingsSchema": {
+ "Channel": {
"type": "object",
"properties": {
- "channel_overrides": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/components/schemas/ChannelOverride"
- }
- },
- "version": {
- "type": "integer"
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
},
- "message_notifications": {
- "type": "integer"
+ "name": {
+ "type": "string"
},
- "mobile_push": {
- "type": "boolean"
+ "icon": {
+ "type": "string",
+ "nullable": true
},
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
+ "type": {
+ "$ref": "#/components/schemas/ChannelType"
},
- "muted": {
- "type": "boolean"
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Recipient"
+ }
},
- "suppress_everyone": {
- "type": "boolean"
+ "thread_members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ThreadMember"
+ }
},
- "suppress_roles": {
- "type": "boolean"
+ "last_message_id": {
+ "type": "string"
},
"guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "parent_id": {
"type": "string",
"nullable": true
},
- "flags": {
- "type": "integer"
+ "parent": {
+ "$ref": "#/components/schemas/Channel"
},
- "mute_scheduled_events": {
- "type": "boolean"
+ "owner_id": {
+ "type": "string"
},
- "hide_muted_channels": {
- "type": "boolean"
+ "owner": {
+ "$ref": "#/components/schemas/User"
},
- "notify_highlights": {
- "enum": [
- 0
- ],
- "type": "number"
- }
- }
- },
- "UserModifySchema": {
- "type": "object",
- "properties": {
- "username": {
- "minLength": 2,
- "type": "string"
+ "last_pin_timestamp": {
+ "type": "integer"
},
- "avatar": {
- "type": "string",
- "nullable": true
+ "default_auto_archive_duration": {
+ "type": "integer"
},
- "bio": {
- "type": "string"
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ChannelPermissionOverwrite"
+ }
},
- "accent_color": {
+ "video_quality_mode": {
"type": "integer"
},
- "banner": {
- "type": "string",
- "nullable": true
- },
- "password": {
- "minLength": 1,
- "maxLength": 72,
- "type": "string"
+ "bitrate": {
+ "type": "integer"
},
- "new_password": {
- "minLength": 1,
- "maxLength": 72,
- "type": "string"
+ "user_limit": {
+ "type": "integer"
},
- "code": {
- "minLength": 6,
- "maxLength": 6,
- "type": "string"
+ "nsfw": {
+ "type": "boolean",
+ "default": false
},
- "email": {
- "format": "email",
- "type": "string"
+ "rate_limit_per_user": {
+ "type": "integer"
},
- "discriminator": {
- "minLength": 4,
- "maxLength": 4,
- "type": "string"
- }
- }
- },
- "UserNoteUpdateSchema": {
- "type": "object",
- "properties": {
- "note": {
- "type": "string"
- }
- },
- "required": [
- "note"
- ]
- },
- "UserProfileModifySchema": {
- "type": "object",
- "properties": {
- "bio": {
+ "topic": {
"type": "string"
},
- "accent_color": {
- "type": "integer",
- "nullable": true
- },
- "banner": {
- "type": "string",
- "nullable": true
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Invite"
+ }
},
- "pronouns": {
+ "retention_policy_id": {
"type": "string"
},
- "theme_colors": {
- "items": [
- {
- "type": "integer"
- },
- {
- "type": "integer"
- }
- ],
+ "messages": {
"type": "array",
- "minItems": 2,
- "maxItems": 2
- }
- }
- },
- "UserSettingsSchema": {
- "type": "object",
- "properties": {
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "allow_accessibility_detection": {
- "type": "boolean"
- },
- "animate_emoji": {
- "type": "boolean"
- },
- "animate_stickers": {
- "type": "integer"
- },
- "contact_sync_enabled": {
- "type": "boolean"
- },
- "convert_emoticons": {
- "type": "boolean"
+ "items": {
+ "$ref": "#/components/schemas/Message"
+ }
},
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/CustomStatus"
- },
- {
- "type": "null"
- }
- ]
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/VoiceState"
+ }
},
- "default_guilds_restricted": {
- "type": "boolean"
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ReadState"
+ }
},
- "detect_platform_accounts": {
- "type": "boolean"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Webhook"
+ }
},
- "developer_mode": {
- "type": "boolean"
+ "flags": {
+ "type": "integer",
+ "default": 0
},
- "disable_games_tab": {
- "type": "boolean"
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
},
- "enable_tts_command": {
- "type": "boolean"
+ "thread_metadata": {
+ "$ref": "#/components/schemas/ThreadMetadata"
},
- "friend_discovery_flags": {
+ "member_count": {
"type": "integer"
},
- "friend_source_flags": {
- "$ref": "#/components/schemas/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean"
+ "message_count": {
+ "type": "integer"
},
- "gif_auto_play": {
- "type": "boolean"
+ "total_message_sent": {
+ "type": "integer"
},
- "guild_folders": {
+ "available_tags": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/GuildFolder"
+ "$ref": "#/components/schemas/Tag"
}
},
- "guild_positions": {
+ "applied_tags": {
"type": "array",
"items": {
"type": "string"
}
},
- "inline_attachment_media": {
- "type": "boolean"
- },
- "inline_embed_media": {
- "type": "boolean"
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
},
- "locale": {
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "created_at",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "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,
+ 33,
+ 34,
+ 35,
+ 64,
+ 255
+ ]
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
"type": "string"
},
- "message_display_compact": {
- "type": "boolean"
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
},
- "native_phone_integration_enabled": {
- "type": "boolean"
+ "user_id": {
+ "type": "string"
},
- "render_embeds": {
- "type": "boolean"
+ "user": {
+ "$ref": "#/components/schemas/User"
},
- "render_reactions": {
+ "closed": {
"type": "boolean"
},
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "show_current_game": {
- "type": "boolean"
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "stream_notifications_enabled": {
- "type": "boolean"
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string"
- },
- "timezone_offset": {
- "type": "integer"
- },
- "view_nsfw_guilds": {
- "type": "boolean"
- }
- }
- },
- "VanityUrlSchema": {
- "type": "object",
- "properties": {
- "code": {
- "minLength": 1,
- "maxLength": 20,
+ "id": {
"type": "string"
}
- }
+ },
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
},
- "VoiceIdentifySchema": {
+ "User": {
"type": "object",
"properties": {
- "server_id": {
+ "username": {
"type": "string"
},
- "user_id": {
+ "discriminator": {
"type": "string"
},
- "session_id": {
+ "avatar": {
"type": "string"
},
- "token": {
- "type": "string"
+ "accent_color": {
+ "type": "integer"
},
- "video": {
- "type": "boolean"
+ "banner": {
+ "type": "string"
},
- "streams": {
+ "theme_colors": {
"type": "array",
"items": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- "audio",
- "screen",
- "video"
- ],
- "type": "string"
- },
- "rid": {
- "type": "string"
- },
- "quality": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "quality",
- "rid",
- "type"
- ]
+ "type": "integer"
}
},
- "max_secure_frames_version": {
- "type": "integer"
- }
- },
- "required": [
- "server_id",
- "session_id",
- "token",
- "user_id"
- ]
- },
- "VoiceStateUpdateSchema": {
- "type": "object",
- "properties": {
- "guild_id": {
+ "pronouns": {
"type": "string"
},
- "channel_id": {
+ "phone": {
"type": "string"
},
- "self_mute": {
- "type": "boolean"
+ "desktop": {
+ "type": "boolean",
+ "default": false
},
- "self_deaf": {
- "type": "boolean"
+ "mobile": {
+ "type": "boolean",
+ "default": false
},
- "self_video": {
+ "premium": {
"type": "boolean"
},
- "preferred_region": {
- "type": "string"
+ "premium_type": {
+ "type": "integer"
},
- "request_to_speak_timestamp": {
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
"type": "string",
"format": "date-time"
},
- "suppress": {
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
"type": "boolean"
},
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
"flags": {
- "type": "integer"
- }
- },
- "required": [
- "self_deaf",
- "self_mute"
- ]
- },
- "VoiceVideoSchema": {
- "type": "object",
- "properties": {
- "audio_ssrc": {
- "type": "integer"
+ "type": "integer",
+ "default": 0
},
- "video_ssrc": {
- "type": "integer"
+ "public_flags": {
+ "type": "integer",
+ "default": 0
},
- "rtx_ssrc": {
- "type": "integer"
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
},
- "user_id": {
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
"type": "string"
},
- "streams": {
+ "sessions": {
"type": "array",
"items": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- "audio",
- "screen",
- "video"
- ],
- "type": "string"
- },
- "rid": {
- "type": "string"
- },
- "ssrc": {
- "type": "integer"
- },
- "active": {
- "type": "boolean"
- },
- "quality": {
- "type": "integer"
- },
- "rtx_ssrc": {
- "type": "integer"
- },
- "max_bitrate": {
- "type": "integer"
- },
- "max_framerate": {
- "type": "integer"
- },
- "max_resolution": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "height",
- "type",
- "width"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "active",
- "max_bitrate",
- "max_framerate",
- "max_resolution",
- "quality",
- "rid",
- "rtx_ssrc",
- "ssrc",
- "type"
- ]
+ "$ref": "#/components/schemas/Session"
}
- }
- },
- "required": [
- "audio_ssrc",
- "video_ssrc"
- ]
- },
- "WebAuthnPostSchema": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/GenerateWebAuthnCredentialsSchema"
- },
- {
- "$ref": "#/components/schemas/CreateWebAuthnCredentialSchema"
- }
- ]
- },
- "WebAuthnTotpSchema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "ticket"
- ]
- },
- "WebhookCreateSchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 80,
- "type": "string"
- },
- "avatar": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ]
- },
- "WebhookExecuteSchema": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
},
- "tts": {
- "type": "boolean"
- },
- "embeds": {
+ "relationships": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Embed"
+ "$ref": "#/components/schemas/Relationship"
}
},
- "allowed_mentions": {
- "type": "object",
- "properties": {
- "parse": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "users": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "replied_user": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "components": {
+ "connected_accounts": {
"type": "array",
- "items": {}
+ "items": {
+ "$ref": "#/components/schemas/ConnectedAccount"
+ }
},
- "file": {
+ "data": {
"type": "object",
"properties": {
- "filename": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
- "filename"
+ "valid_tokens_since"
]
},
- "payload_json": {
- "type": "string"
- },
- "attachments": {
- "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
+ "fingerprints": {
"type": "array",
"items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id"
- ]
- }
- },
- "flags": {
- "type": "integer"
+ "type": "string"
+ },
+ "default": []
},
- "thread_name": {
- "type": "string"
+ "settings": {
+ "$ref": "#/components/schemas/UserSettings"
},
- "applied_tags": {
+ "security_keys": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/SecurityKey"
}
},
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "fail_if_not_exists": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "sticker_ids": {
+ "badge_ids": {
"type": "array",
"items": {
"type": "string"
}
},
- "nonce": {
- "type": "string"
+ "avatar_decoration_data": {
+ "$ref": "#/components/schemas/AvatarDecorationData"
},
- "enforce_nonce": {
- "type": "boolean"
+ "display_name_styles": {
+ "$ref": "#/components/schemas/DisplayNameStyle"
},
- "poll": {
- "$ref": "#/components/schemas/PollCreationSchema"
- }
- }
- },
- "WebhookUpdateSchema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
+ "collectibles": {
+ "$ref": "#/components/schemas/Collectibles"
},
- "avatar": {
- "type": "string"
+ "primary_guild": {
+ "$ref": "#/components/schemas/PrimaryGuild"
},
- "channel_id": {
+ "tag": {
"type": "string"
- }
- }
- },
- "WidgetModifySchema": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
},
- "channel_id": {
+ "id": {
"type": "string"
}
},
"required": [
- "channel_id",
- "enabled"
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "system",
+ "tag",
+ "username",
+ "verified",
+ "webauthn_enabled"
]
},
- "BulkBanSchema": {
+ "Session": {
"type": "object",
"properties": {
- "user_ids": {
+ "session_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "activities": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/components/schemas/Activity"
}
},
- "delete_message_seconds": {
- "type": "integer"
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "platform": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "location": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "client_status": {
+ "$ref": "#/components/schemas/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/components/schemas/Status"
+ },
+ "is_admin_session": {
+ "type": "boolean"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "last_seen": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "last_seen_ip": {
+ "type": "string"
+ },
+ "last_seen_location": {
+ "type": "string"
+ },
+ "last_seen_location_info": {
+ "$ref": "#/components/schemas/ExtendedLocationInfo"
+ },
+ "session_nickname": {
+ "type": "string"
}
},
"required": [
- "user_ids"
+ "activities",
+ "client_info",
+ "client_status",
+ "created_at",
+ "is_admin_session",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
]
},
- "BulkDeleteSchema": {
+ "Activity": {
"type": "object",
"properties": {
- "messages": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "messages"
- ]
- },
- "LoginResponse": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/TokenResponse"
+ "name": {
+ "type": "string"
},
- {
- "$ref": "#/components/schemas/MFAResponse"
+ "type": {
+ "$ref": "#/components/schemas/ActivityType"
},
- {
- "$ref": "#/components/schemas/WebAuthnResponse"
- }
- ]
- },
- "MemberNickChangeSchema": {
- "type": "object",
- "properties": {
- "nick": {
+ "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": [
- "nick"
+ "flags",
+ "name",
+ "session_id",
+ "type"
]
},
- "PruneSchema": {
- "type": "object",
- "properties": {
- "days": {
- "type": "integer"
- }
- },
- "required": [
- "days"
+ "ActivityType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
]
},
- "VerifyEmailSchema": {
+ "ClientStatus": {
"type": "object",
"properties": {
- "captcha_key": {
- "type": "string",
- "nullable": true
+ "desktop": {
+ "type": "string"
},
- "token": {
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
"type": "string"
}
- },
- "required": [
- "token"
- ]
- }
+ }
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "ExtendedLocationInfo": {
+ "type": "object",
+ "properties": {
+ "is_eu": {
+ "type": "boolean"
+ },
+ "city": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "region_code": {
+ "type": "string"
+ },
+ "country_name": {
+ "type": "string"
+ },
+ "country_code": {
+ "type": "string"
+ },
+ "continent_name": {
+ "type": "string"
+ },
+ "continent_code": {
+ "type": "string"
+ },
+ "latitude": {
+ "type": "integer"
+ },
+ "longitude": {
+ "type": "integer"
+ },
+ "postal": {
+ "type": "string"
+ },
+ "calling_code": {
+ "type": "string"
+ },
+ "flag": {
+ "type": "string"
+ },
+ "emoji_flag": {
+ "type": "string"
+ },
+ "emoji_unicode": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "calling_code",
+ "city",
+ "continent_code",
+ "continent_name",
+ "country_code",
+ "country_name",
+ "emoji_flag",
+ "emoji_unicode",
+ "flag",
+ "is_eu",
+ "latitude",
+ "longitude",
+ "postal",
+ "region",
+ "region_code"
+ ]
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/components/schemas/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/components/schemas/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "type": "number",
+ "enum": [
+ 4,
+ 3,
+ 2,
+ 1
+ ]
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/components/schemas/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "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"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "AvatarDecorationData": {
+ "type": "object",
+ "properties": {
+ "asset": {
+ "type": "string"
+ },
+ "sku_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"
+ },
+ "expires_at": {
+ "type": "string",
+ "nullable": true
+ }
+ },
+ "required": [
+ "asset",
+ "expires_at",
+ "sku_id"
+ ]
+ },
+ "DisplayNameStyle": {
+ "type": "object",
+ "properties": {
+ "font_id": {
+ "type": "integer"
+ },
+ "effect_id": {
+ "type": "integer"
+ },
+ "colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "required": [
+ "colors",
+ "effect_id",
+ "font_id"
+ ]
+ },
+ "Collectibles": {
+ "type": "object",
+ "properties": {
+ "nameplate": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/NameplateData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "nameplate"
+ ]
+ },
+ "NameplateData": {
+ "type": "object",
+ "properties": {
+ "asset": {
+ "type": "string"
+ },
+ "sku_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"
+ },
+ "label": {
+ "type": "string"
+ },
+ "palette": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer",
+ "nullable": true
+ }
+ },
+ "required": [
+ "asset",
+ "expires_at",
+ "label",
+ "palette",
+ "sku_id"
+ ]
+ },
+ "PrimaryGuild": {
+ "type": "object",
+ "properties": {
+ "identity_enabled": {
+ "type": "boolean",
+ "nullable": true
+ },
+ "identity_guild_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "tag": {
+ "type": "string",
+ "nullable": true
+ },
+ "badge": {
+ "type": "string",
+ "nullable": true
+ }
+ },
+ "required": [
+ "badge",
+ "identity_enabled",
+ "identity_guild_id",
+ "tag"
+ ]
+ },
+ "ThreadMember": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "member_idx": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/components/schemas/Member"
+ },
+ "join_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "$ref": "#/components/schemas/ThreadMemberMuteConfig"
+ },
+ "flags": {
+ "$ref": "#/components/schemas/ThreadMemberFlags"
+ }
+ },
+ "required": [
+ "channel",
+ "flags",
+ "id",
+ "index",
+ "join_timestamp",
+ "member",
+ "member_idx",
+ "muted"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/components/schemas/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "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"
+ }
+ ]
+ },
+ "avatar_decoration_data": {
+ "$ref": "#/components/schemas/AvatarDecorationData"
+ },
+ "display_name_styles": {
+ "$ref": "#/components/schemas/DisplayNameStyle"
+ },
+ "collectibles": {
+ "$ref": "#/components/schemas/Collectibles"
+ }
+ },
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "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"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Role"
+ }
+ },
+ "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": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/components/schemas/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "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
+ },
+ "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"
+ },
+ "widget_channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "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"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "colors": {
+ "$ref": "#/components/schemas/RoleColors"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "color",
+ "colors",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "RoleColors": {
+ "type": "object",
+ "properties": {
+ "primary_color": {
+ "type": "integer"
+ },
+ "secondary_color": {
+ "type": "integer"
+ },
+ "tertiary_color": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "primary_color"
+ ]
+ },
+ "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": {
+ "type": {
+ "$ref": "#/components/schemas/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/components/schemas/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3
+ ]
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/components/schemas/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/components/schemas/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "custom_install_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/components/schemas/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/components/schemas/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "role": {
+ "$ref": "#/components/schemas/TeamMemberRole"
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/components/schemas/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "role",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2
+ ]
+ },
+ "TeamMemberRole": {
+ "type": "string",
+ "enum": [
+ "admin",
+ "developer",
+ "read_only"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "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"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/components/schemas/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "integer",
+ "const": 0
+ }
+ },
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/components/schemas/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": "string",
+ "nullable": true
+ }
+ },
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "ThreadMemberMuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ }
+ },
+ "ThreadMemberFlags": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 8
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/ChannelPermissionOverwriteType"
+ }
+ },
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "ThreadMetadata": {
+ "type": "object",
+ "properties": {
+ "archived": {
+ "type": "boolean"
+ },
+ "auto_archive_duration": {
+ "type": "integer"
+ },
+ "archive_timestamp": {
+ "type": "string"
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "invitable": {
+ "type": "boolean"
+ },
+ "create_timestamp": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "archive_timestamp",
+ "archived",
+ "auto_archive_duration",
+ "create_timestamp",
+ "locked"
+ ]
+ },
+ "Tag": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/components/schemas/Channel"
+ },
+ "name": {
+ "type": "string"
+ },
+ "moderated": {
+ "type": "boolean",
+ "default": false
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "moderated",
+ "name"
+ ]
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/components/schemas/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ }
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/components/schemas/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ButtonComponent"
+ },
+ {
+ "$ref": "#/components/schemas/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/components/schemas/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/components/schemas/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "const": 1
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/components/schemas/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/components/schemas/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "const": 2
+ },
+ "ButtonStyle": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "const": 3
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/components/schemas/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/components/schemas/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "const": 4
+ },
+ "TextInputStyle": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2
+ ]
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/components/schemas/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/components/schemas/PollResult"
+ }
+ },
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/components/schemas/PartialEmoji"
+ }
+ }
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/components/schemas/PollMedia"
+ }
+ },
+ "required": [
+ "poll_media"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PollAnswerCount"
+ }
+ }
+ },
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "MessageSnapshot": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "object",
+ "properties": {
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Attachment"
+ }
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ActionRowComponent"
+ }
+ },
+ "content": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Embed"
+ }
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 127,
+ 128,
+ 129,
+ 13,
+ 130,
+ 131,
+ 132,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 2,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 255,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "content",
+ "embeds",
+ "mention_roles",
+ "mentions"
+ ]
+ }
+ },
+ "required": [
+ "message"
+ ]
+ },
+ "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"
+ },
+ "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"
+ ]
+ },
+ "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"
+ }
+ },
+ "avatar_decoration_data": {
+ "$ref": "#/components/schemas/AvatarDecorationData"
+ },
+ "display_name_styles": {
+ "$ref": "#/components/schemas/DisplayNameStyle"
+ },
+ "collectibles": {
+ "$ref": "#/components/schemas/Collectibles"
+ },
+ "primary_guild": {
+ "$ref": "#/components/schemas/PrimaryGuild"
+ }
+ },
+ "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"
+ },
+ "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"
+ },
+ "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": [
+ "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": [
+ "actions",
+ "appeal_ingestion_type",
+ "appeal_status",
+ "classification_type",
+ "description",
+ "explainer_link",
+ "flagged_content",
+ "guild_metadata",
+ "id",
+ "is_coppa",
+ "is_spam",
+ "max_expiration_time"
+ ]
+ },
+ "GuildMetadata": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "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"
+ },
+ "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"
+ ]
+ },
+ "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"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "category_sku_id": {
+ "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",
+ "name",
+ "premium_type",
+ "prices",
+ "sku_id",
+ "store_listing_id",
+ "styles",
+ "summary",
+ "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"
+ ]
+ },
+ "ProductItem": {
+ "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": {
+ "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": {
+ "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"
+ }
+ },
+ "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"
+ ]
+ },
+ "StaticAnimatedAsset": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "string",
+ "nullable": true
+ },
+ "static": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "animated",
+ "static"
+ ]
+ },
+ "CollectiblesMarketingItem": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "title": {
+ "type": "string"
+ },
+ "body": {
+ "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
+ },
+ "category_sku_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "category_store_listing_id": {
+ "type": "string"
+ },
+ "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
+ },
+ "subblocks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ShopBlockSubBlock"
+ }
+ }
+ },
+ "required": [
+ "subblocks",
+ "type"
+ ]
+ },
+ "ShopBlockSubBlock": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "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": [
+ "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"
+ }
+ },
+ "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"
+ ]
+ },
+ "PartialMessage": {
+ "description": "https://docs.discord.food/resources/message#partial-message-structure",
+ "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"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/components/schemas/PartialUser"
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "application_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "author",
+ "channel_id",
+ "content",
+ "id",
+ "type"
+ ]
+ },
+ "PartialUser": {
+ "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"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "global_name": {
+ "type": "string",
+ "nullable": true
+ },
+ "avatar": {
+ "type": "string",
+ "nullable": true
+ },
+ "avatar_decoration_data": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/AvatarDecorationData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "collectibles": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/Collectibles"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "display_name_styles": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/DisplayNameStyle"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "primary_guild": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/PrimaryGuild"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "system": {
+ "type": "boolean"
+ },
+ "banner": {
+ "type": "string",
+ "nullable": true
+ },
+ "accent_color": {
+ "type": "integer",
+ "nullable": true
+ },
+ "public_flags": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "avatar",
+ "discriminator",
+ "id",
+ "username"
+ ]
+ },
+ "HubGuild": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "icon",
+ "id",
+ "name"
+ ]
+ },
+ "EmojiGuild": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string",
+ "nullable": true
+ },
+ "description": {
+ "type": "string",
+ "nullable": true
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Emoji"
+ }
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "approximate_member_count": {
+ "type": "integer"
+ },
+ "approximate_presence_count": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "emojis",
+ "features",
+ "id",
+ "name",
+ "premium_tier"
+ ]
+ },
+ "EmojiApplication": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/components/schemas/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Embed_1"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "nullable": true
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ActionRowComponent_1"
+ }
+ },
+ "poll": {
+ "$ref": "#/components/schemas/Poll_1"
+ },
+ "hit": {
+ "type": "boolean",
+ "const": true
+ }
+ },
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "MessageType_1": {
+ "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,
+ 127,
+ 128,
+ 129,
+ 130,
+ 131,
+ 132,
+ 255
+ ]
+ },
+ "Embed_1": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/components/schemas/EmbedImage_1"
+ },
+ "thumbnail": {
+ "$ref": "#/components/schemas/EmbedImage_1"
+ },
+ "video": {
+ "$ref": "#/components/schemas/EmbedImage_1"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ }
+ },
+ "EmbedImage_1": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ }
+ },
+ "ActionRowComponent_1": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/MessageComponentType.ActionRow_1"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ButtonComponent_1"
+ },
+ {
+ "$ref": "#/components/schemas/SelectMenuComponent_1"
+ },
+ {
+ "$ref": "#/components/schemas/StringSelectMenuComponent_1"
+ },
+ {
+ "$ref": "#/components/schemas/TextInputComponent_1"
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow_1": {
+ "type": "number",
+ "const": 1
+ },
+ "ButtonComponent_1": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/MessageComponentType.Button_1"
+ },
+ "style": {
+ "$ref": "#/components/schemas/ButtonStyle_1"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/components/schemas/PartialEmoji_1"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button_1": {
+ "type": "number",
+ "const": 2
+ },
+ "ButtonStyle_1": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ]
+ },
+ "PartialEmoji_1": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent_1": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SelectMenuDefaultOption_1"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption_1": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent_1": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/MessageComponentType.StringSelect_1"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SelectMenuOption_1"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SelectMenuDefaultOption_1"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect_1": {
+ "type": "number",
+ "const": 3
+ },
+ "SelectMenuOption_1": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/components/schemas/PartialEmoji_1"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent_1": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/MessageComponentType.TextInput_1"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/components/schemas/TextInputStyle_1"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput_1": {
+ "type": "number",
+ "const": 4
+ },
+ "TextInputStyle_1": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2
+ ]
+ },
+ "Poll_1": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/components/schemas/PollMedia_1"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PollAnswer_1"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/components/schemas/PollResult_1"
+ }
+ },
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollMedia_1": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/components/schemas/PartialEmoji_1"
+ }
+ }
+ },
+ "PollAnswer_1": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/components/schemas/PollMedia_1"
+ }
+ },
+ "required": [
+ "poll_media"
+ ]
+ },
+ "PollResult_1": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PollAnswerCount_1"
+ }
+ }
+ },
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount_1": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "required": [
+ "code"
+ ]
+ },
+ "HubDirectoryEntry": {
+ "type": "object",
+ "properties": {
+ "author_id": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "directory_channel_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/components/schemas/Guild"
+ },
+ "primary_category_id": {
+ "type": "integer"
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "author_id",
+ "created_at",
+ "description",
+ "directory_channel_id",
+ "guild",
+ "primary_category_id",
+ "type"
+ ]
+ },
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
+ "JsonValue": {
+ "description": "Represents any possible JSON value:\n- number\n- string\n- boolean\n- null\n- object (with any JSON value as property)\n- array (with any JSON value as element)",
+ "anyOf": [
+ {
+ "description": "Represents a JSON object.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/components/schemas/JsonValue"
+ }
+ },
+ {
+ "type": "object",
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[0-9]+$": {
+ "$ref": "#/components/schemas/JsonValue"
+ }
+ },
+ "properties": {
+ "length": {
+ "type": "integer"
+ },
+ "__@unscopables@700": {
+ "type": "object",
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[0-9]+$": {
+ "type": "boolean"
+ }
+ },
+ "properties": {
+ "length": {
+ "type": "boolean"
+ },
+ "toString": {
+ "type": "boolean"
+ },
+ "toLocaleString": {
+ "type": "boolean"
+ },
+ "pop": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "concat": {
+ "type": "boolean"
+ },
+ "join": {
+ "type": "boolean"
+ },
+ "reverse": {
+ "type": "boolean"
+ },
+ "shift": {
+ "type": "boolean"
+ },
+ "slice": {
+ "type": "boolean"
+ },
+ "sort": {
+ "type": "boolean"
+ },
+ "splice": {
+ "type": "boolean"
+ },
+ "unshift": {
+ "type": "boolean"
+ },
+ "indexOf": {
+ "type": "boolean"
+ },
+ "lastIndexOf": {
+ "type": "boolean"
+ },
+ "every": {
+ "type": "boolean"
+ },
+ "some": {
+ "type": "boolean"
+ },
+ "forEach": {
+ "type": "boolean"
+ },
+ "map": {
+ "type": "boolean"
+ },
+ "filter": {
+ "type": "boolean"
+ },
+ "reduce": {
+ "type": "boolean"
+ },
+ "reduceRight": {
+ "type": "boolean"
+ },
+ "find": {
+ "type": "boolean"
+ },
+ "findIndex": {
+ "type": "boolean"
+ },
+ "fill": {
+ "type": "boolean"
+ },
+ "copyWithin": {
+ "type": "boolean"
+ },
+ "entries": {
+ "type": "boolean"
+ },
+ "keys": {
+ "type": "boolean"
+ },
+ "values": {
+ "type": "boolean"
+ },
+ "includes": {
+ "type": "boolean"
+ },
+ "flatMap": {
+ "type": "boolean"
+ },
+ "flat": {
+ "type": "boolean"
+ },
+ "at": {
+ "type": "boolean"
+ },
+ "findLast": {
+ "type": "boolean"
+ },
+ "findLastIndex": {
+ "type": "boolean"
+ },
+ "toReversed": {
+ "type": "boolean"
+ },
+ "toSorted": {
+ "type": "boolean"
+ },
+ "toSpliced": {
+ "type": "boolean"
+ },
+ "with": {
+ "type": "boolean"
+ },
+ "remove": {
+ "type": "boolean"
+ },
+ "distinct": {
+ "description": "Returns a new array with duplicate elements removed.",
+ "type": "boolean"
+ },
+ "single": {
+ "description": "Returns the only element matching the predicate, or undefined.\nThrows if more than one element matches.",
+ "type": "boolean"
+ },
+ "__@iterator@698": {
+ "type": "boolean"
+ },
+ "__@unscopables@700": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "required": [
+ "__@unscopables@700",
+ "length"
+ ]
+ },
+ {
+ "type": [
+ "null",
+ "string",
+ "integer",
+ "boolean"
+ ]
+ }
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/components/schemas/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "nullable": true
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "name": {
+ "type": "string",
+ "nullable": true
+ },
+ "origin_channel_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": "string",
+ "nullable": true
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxStickers": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles",
+ "maxStickers"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ },
+ "maxPreloadCount": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxPreloadCount",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/components/schemas/RouteRateLimit"
+ }
+ },
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ },
+ "auth": {
+ "$ref": "#/components/schemas/AuthRateLimit"
+ }
+ },
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ }
+ },
+ "required": [
+ "login",
+ "register"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/components/schemas/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/components/schemas/GlobalRateLimit"
+ }
+ },
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "bio"
+ ]
+ },
+ "PublicMemberProfile": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "null"
+ }
+ },
+ "required": [
+ "accent_color",
+ "banner",
+ "bio",
+ "guild_id"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "AllowedMentions": {
+ "type": "object",
+ "properties": {
+ "parse": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "replied_user": {
+ "type": "boolean"
+ }
+ }
+ },
+ "MessageActivity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 1,
+ 3,
+ 5
+ ],
+ "type": "number"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "party_id": {
+ "type": "string"
+ },
+ "name_override": {
+ "type": "string"
+ },
+ "icon_override": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ]
+ }
}
},
"tags": [
{
"name": "-"
},
- {
- "name": "applications"
+ {
+ "name": "applications"
+ },
+ {
+ "name": "attachments"
+ },
+ {
+ "name": "auth"
+ },
+ {
+ "name": "beaker"
+ },
+ {
+ "name": "categories"
+ },
+ {
+ "name": "channels"
+ },
+ {
+ "name": "collectibles-categories"
+ },
+ {
+ "name": "collectibles-shop"
+ },
+ {
+ "name": "connections"
+ },
+ {
+ "name": "discoverable-guilds"
+ },
+ {
+ "name": "discovery"
+ },
+ {
+ "name": "download"
+ },
+ {
+ "name": "emojis"
+ },
+ {
+ "name": "experiments"
+ },
+ {
+ "name": "games"
+ },
+ {
+ "name": "gateway"
+ },
+ {
+ "name": "gifs"
+ },
+ {
+ "name": "guild-recommendations"
+ },
+ {
+ "name": "guilds"
+ },
+ {
+ "name": "hub-waitlist"
+ },
+ {
+ "name": "interactions"
+ },
+ {
+ "name": "invites"
+ },
+ {
+ "name": "lobbies"
+ },
+ {
+ "name": "oauth2"
+ },
+ {
+ "name": "outbound-promotions"
+ },
+ {
+ "name": "partners"
+ },
+ {
+ "name": "ping"
+ },
+ {
+ "name": "policies"
+ },
+ {
+ "name": "read-states"
+ },
+ {
+ "name": "reporting"
+ },
+ {
+ "name": "safety-hub"
+ },
+ {
+ "name": "scheduled-maintenances"
+ },
+ {
+ "name": "science"
+ },
+ {
+ "name": "stage-instances"
+ },
+ {
+ "name": "sticker-packs"
+ },
+ {
+ "name": "stickers"
+ },
+ {
+ "name": "stop"
+ },
+ {
+ "name": "store"
+ },
+ {
+ "name": "teams"
+ },
+ {
+ "name": "track"
+ },
+ {
+ "name": "updates"
+ },
+ {
+ "name": "users"
+ },
+ {
+ "name": "voice"
+ },
+ {
+ "name": "warp"
+ },
+ {
+ "name": "webhooks"
+ }
+ ],
+ "paths": {
+ "/webhooks/{webhook_id}/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Returns a webhook object for the given id. Requires the MANAGE_WEBHOOKS permission or to be the owner of the webhook.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIWebhook"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "webhook_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "webhook_id"
+ }
+ ],
+ "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"
+ }
+ ],
+ "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/WebhookCreateResponse"
+ }
+ }
+ }
+ },
+ "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"
+ }
+ ],
+ "tags": [
+ "webhooks"
+ ]
+ }
+ },
+ "/webhooks/{webhook_id}/{token}/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Returns a webhook object for the given id and token.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIWebhook"
+ }
+ }
+ }
+ },
+ "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"
+ ]
+ },
+ "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/": {
+ "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"
+ ]
+ }
+ },
+ "/warp/license/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "warp"
+ ]
+ }
+ },
+ "/voice/regions/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIGuildVoiceRegion"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "voice"
+ ]
+ }
+ },
+ "/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": {
+ "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"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/settings-proto/2/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "atomic",
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ },
+ "description": "Whether to try to apply the settings update atomically (default false)"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoUpdateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoUpdateResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/settings-proto/2/json": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoJsonResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoUpdateJsonSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoUpdateJsonResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "atomic",
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ },
+ "description": "Whether to try to apply the settings update atomically (default false)"
+ }
+ ],
+ "tags": [
+ "users"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/users/@me/settings-proto/1/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "atomic",
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ },
+ "description": "Whether to try to apply the settings update atomically (default false)"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoUpdateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoUpdateResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/settings-proto/1/json": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoJsonResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoUpdateJsonSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SettingsProtoUpdateJsonResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "atomic",
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ },
+ "description": "Whether to try to apply the settings update atomically (default false)"
+ }
+ ],
+ "tags": [
+ "users"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/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"
+ ]
+ },
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RelationshipPostSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "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"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/relationships/{user_id}": {
+ "put": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RelationshipPutSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "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": [
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RelationshipPatchSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "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": [
+ {
+ "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": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "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"
+ ]
+ }
+ },
+ "/users/@me/notes/{user_id}": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserNoteResponse"
+ }
+ }
+ }
+ },
+ "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"
+ ]
+ },
+ "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"
+ ]
+ }
+ },
+ "/users/@me/mfa/webauthn/credentials/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "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"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "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": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TotpEnableSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TokenWithBackupCodesResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/mfa/totp/disable/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TotpDisableSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TokenOnlyResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/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/MfaCodesSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIBackupCodeArray"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/mfa/codes-verification/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CodesVerificationSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIBackupCodeArray"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/mentions": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MessageListResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/library/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIPrivateUser"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserModifySchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserUpdateResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/guilds/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIGuildArray"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/guilds/{guild_id}": {
+ "delete": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "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": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "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",
+ "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": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/email-settings/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/disable/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "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"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/devices/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/delete/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No description available"
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/consents/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Returns all consents for the authenticated user. Supports filtering by consent_type, status, service_id, item_id, and target_user_id. For HB 805 pairwise consents (O(n²) per item), use item_id and target_user_id filters.",
+ "summary": "List consents for the current user",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserConsentListResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "consent_type",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by consent type"
+ },
+ {
+ "name": "status",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by consent status"
+ },
+ {
+ "name": "service_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by service ID"
+ },
+ {
+ "name": "item_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by item ID (for per-item consents)"
+ },
+ {
+ "name": "target_user_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by target user ID (for HB 805 pairwise consents)"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/consents/{service_id}/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Returns the consent record for a specific service for the authenticated user. For HB 805 pairwise consents, use item_id and target_user_id to identify specific consent records.",
+ "summary": "Get consent details for a specific service",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserConsentResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "service_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "service_id"
+ },
+ {
+ "name": "consent_type",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by consent type"
+ },
+ {
+ "name": "item_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by item ID (for per-item consents)"
+ },
+ {
+ "name": "target_user_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by target user ID (for HB 805 pairwise consents)"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "put": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Grants consent for a service. Supports GDPR-compliant consent with basis documents for off-platform consents. For HB 805 pairwise consents (O(n²) where n is number of persons), use target_user_id to specify who receives consent to view/share. Based on GNAP (RFC 9635) grant negotiation principles.",
+ "summary": "Grant consent for a service",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserConsentGrantSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserConsentResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/null"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "service_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "service_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "delete": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Revokes consent for a service. Per GDPR Article 7(3), withdrawal of consent is as easy as giving consent. For HB 805 pairwise consents, specify item_id and target_user_id. The consent record is retained with RETRACTED status for audit purposes.",
+ "summary": "Revoke consent for a service (GDPR-compliant)",
+ "responses": {
+ "204": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/null"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "service_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "service_id"
+ },
+ {
+ "name": "consent_type",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Consent type to revoke"
+ },
+ {
+ "name": "item_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Item ID for per-item consent revocation"
+ },
+ {
+ "name": "target_user_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Target user ID for HB 805 pairwise consent revocation"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/consent-grants/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Returns all consent grant requests for the authenticated user (both as grantor and requester). Based on GNAP (RFC 9635) grant negotiation principles.",
+ "summary": "List consent grant requests",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantListResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "status",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by grant status"
+ },
+ {
+ "name": "consent_type",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Filter by consent type"
+ },
+ {
+ "name": "as_requester",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean"
+ },
+ "description": "If true, list grants where user is the requester; if false, list grants where user is the grantor"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Initiates a consent grant request to another user. Based on GNAP (RFC 9635) grant negotiation. The target user will receive the request and can approve, deny, or negotiate.",
+ "summary": "Request a consent grant (GNAP-like)",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantRequestSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/consent-grants/{grant_id}": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Returns details of a specific consent grant request. Only accessible by the grantor or requester.",
+ "summary": "Get consent grant details",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "grant_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "grant_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "delete": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Cancels a pending grant request (if requester) or revokes an approved grant (if grantor). Per GDPR Article 7(3), revocation is as easy as granting.",
+ "summary": "Cancel/revoke a consent grant",
+ "responses": {
+ "204": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/null"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "grant_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "grant_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/consent-grants/{grant_id}/approve": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Approves a pending consent grant request. Creates the corresponding UserConsent record. Only the target user (grantor) can approve.",
+ "summary": "Approve a consent grant request",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantApproveSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "grant_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "grant_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/consent-grants/{grant_id}/deny": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Denies a pending consent grant request. Only the target user (grantor) can deny.",
+ "summary": "Deny a consent grant request",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "grant_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "grant_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/consent-grants/{grant_id}/continue": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Continues the grant negotiation process using the continuation token. Used for multi-step negotiation flows per GNAP (RFC 9635).",
+ "summary": "Continue grant negotiation (GNAP-like)",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantContinueSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConsentGrantResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "grant_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "grant_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/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": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "No description available"
+ },
+ "204": {
+ "description": "No description available"
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/collectibles-marketing/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CollectiblesMarketingResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/@me/channels/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIDMChannelArray"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ },
+ "post": {
+ "x-right-required": "CREATE_DMS",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DmChannelCreateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DmChannelDTO"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/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/{app_id}/entitlements/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "app_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "app_id"
+ }
+ ],
+ "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/{id}/relationships/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserRelationsResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/{id}/profile/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserProfileResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserProfileModifySchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/{id}/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIPublicUser"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/{id}/delete/": {
+ "post": {
+ "x-right-required": "MANAGE_USERS",
+ "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": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
+ },
+ "/users/{id}/consents/": {
+ "get": {
+ "x-right-required": "MANAGE_USERS",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "summary": "List consents for a specified user (admin only)",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/any"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "delete": {
+ "x-right-required": "OPERATOR",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "summary": "Revoke all consents for a specified user (operator only)",
+ "responses": {
+ "204": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/null"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
},
- {
- "name": "attachments"
+ "/users/{id}/consents/{service_id}/": {
+ "delete": {
+ "x-right-required": "MANAGE_USERS",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "summary": "Revoke consent for a service for the specified user (admin only)",
+ "responses": {
+ "204": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/null"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ },
+ {
+ "name": "service_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "service_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
},
- {
- "name": "auth"
+ "/users/{user_id}/relationships/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserRelationsResponse"
+ }
+ }
+ }
+ },
+ "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"
+ ]
+ }
+ },
+ "/users/{user_id}/profile/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserProfileResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserProfileModifySchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
},
- {
- "name": "channels"
+ "/users/{user_id}/messages/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DmMessagesResponseSchema"
+ }
+ }
+ }
+ },
+ "400": {
+ "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"
+ ]
+ }
},
- {
- "name": "connections"
+ "/users/{user_id}/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIPublicUser"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
},
- {
- "name": "discoverable-guilds"
+ "/users/{user_id}/delete/": {
+ "post": {
+ "x-right-required": "MANAGE_USERS",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InstanceUserDeleteSchema"
+ }
+ }
+ }
+ },
+ "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": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ }
},
- {
- "name": "discovery"
+ "/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"
+ ]
+ }
},
- {
- "name": "download"
+ "/track/": {
+ "post": {
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "track"
+ ]
+ }
},
- {
- "name": "emojis"
+ "/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"
+ ]
+ }
},
- {
- "name": "experiments"
+ "/store/published-listings/skus/{sku_id}": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "sku_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "sku_id"
+ }
+ ],
+ "tags": [
+ "store"
+ ]
+ }
},
- {
- "name": "gateway"
+ "/store/published-listings/skus/{sku_id}/subscription-plans/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "sku_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "sku_id"
+ }
+ ],
+ "tags": [
+ "store"
+ ]
+ }
},
- {
- "name": "gifs"
+ "/store/published-listings/applications/{id}": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "store"
+ ]
+ }
},
- {
- "name": "guild-recommendations"
+ "/store/published-listings/applications/{application_id}/subscription-plans/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ }
+ ],
+ "tags": [
+ "store"
+ ]
+ }
},
- {
- "name": "guilds"
+ "/store/published-listings/applications/{application_id}/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ }
+ ],
+ "tags": [
+ "store"
+ ]
+ }
},
- {
- "name": "hub-waitlist"
+ "/store/published-listings/applications/{id}/subscription-plans/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "id"
+ }
+ ],
+ "tags": [
+ "store"
+ ]
+ }
},
- {
- "name": "invites"
+ "/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"
+ ]
+ }
},
- {
- "name": "oauth2"
+ "/stickers/{sticker_id}/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Sticker"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "sticker_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "sticker_id"
+ }
+ ],
+ "tags": [
+ "stickers"
+ ]
+ }
},
- {
- "name": "outbound-promotions"
+ "/sticker-packs/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIStickerPackArray"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "sticker-packs"
+ ]
+ }
},
- {
- "name": "partners"
+ "/stage-instances/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "stage-instances"
+ ]
+ }
},
- {
- "name": "ping"
+ "/science/": {
+ "post": {
+ "responses": {
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "science"
+ ]
+ }
},
- {
- "name": "policies"
+ "/scheduled-maintenances/upcoming.json/": {
+ "get": {
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "scheduled-maintenances"
+ ]
+ }
},
- {
- "name": "read-states"
+ "/safety-hub/suspended/@me/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AccountStandingResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "safety-hub"
+ ]
+ }
},
- {
- "name": "safety-hub"
+ "/safety-hub/@me/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AccountStandingResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "safety-hub"
+ ]
+ }
},
- {
- "name": "scheduled-maintenances"
+ "/reporting/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "[EXT] Get available reporting menu types.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Array"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "science"
+ "/reporting/menu/guild": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for guild reports.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "variant",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
+ }
+ ],
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "stage-instances"
+ "/reporting/guild": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for guild reports.",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReportSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "sticker-packs"
+ "/reporting/menu/guild_discovery": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for guild_discovery reports.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "variant",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
+ }
+ ],
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "stickers"
+ "/reporting/guild_discovery": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for guild_discovery reports.",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReportSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "stop"
+ "/reporting/menu/guild_directory_entry": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for guild_directory_entry reports.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "variant",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
+ }
+ ],
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "store"
+ "/reporting/guild_directory_entry": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for guild_directory_entry reports.",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReportSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "teams"
+ "/reporting/menu/guild_scheduled_event": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for guild_scheduled_event reports.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "variant",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
+ }
+ ],
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "track"
+ "/reporting/guild_scheduled_event": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for guild_scheduled_event reports.",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReportSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "updates"
+ "/reporting/menu/message": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for message reports.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "variant",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
+ }
+ ],
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "users"
+ "/reporting/message": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for message reports.",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReportSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "voice"
+ "/reporting/menu/stage_channel": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for stage_channel reports.",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "variant",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
+ }
+ ],
+ "tags": [
+ "reporting"
+ ]
+ }
},
- {
- "name": "webhooks"
- }
- ],
- "paths": {
- "/webhooks/{webhook_id}/": {
- "get": {
+ "/reporting/stage_channel": {
+ "post": {
"security": [
{
"bearer": []
}
],
- "description": "Returns a webhook object for the given id. Requires the MANAGE_WEBHOOKS permission or to be the owner of the webhook.",
+ "description": "Get reporting menu options for stage_channel reports.",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReportSchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIWebhook"
+ "$ref": "#/components/schemas/ReportingMenuResponse"
}
}
}
},
- "404": {
+ "204": {
"description": "No description available"
}
},
- "parameters": [
- {
- "name": "webhook_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "webhook_id"
- }
- ],
"tags": [
- "webhooks"
+ "reporting"
]
- },
- "delete": {
+ }
+ },
+ "/reporting/menu/first_dm": {
+ "get": {
"security": [
{
"bearer": []
}
],
+ "description": "Get reporting menu options for first_dm reports.",
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/ReportingMenuResponse"
}
}
}
},
- "404": {
+ "204": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "webhook_id",
- "in": "path",
- "required": true,
+ "name": "variant",
+ "in": "query",
+ "required": false,
"schema": {
"type": "string"
},
- "description": "webhook_id"
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
}
],
"tags": [
- "webhooks"
+ "reporting"
]
- },
- "patch": {
+ }
+ },
+ "/reporting/first_dm": {
+ "post": {
"security": [
{
"bearer": []
}
],
+ "description": "Get reporting menu options for first_dm reports.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WebhookUpdateSchema"
+ "$ref": "#/components/schemas/CreateReportSchema"
}
}
}
@@ -9590,227 +20688,150 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WebhookCreateResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/ReportingMenuResponse"
}
}
}
},
- "403": {
- "description": "No description available"
- },
- "404": {
+ "204": {
"description": "No description available"
}
},
- "parameters": [
- {
- "name": "webhook_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "webhook_id"
- }
- ],
"tags": [
- "webhooks"
+ "reporting"
]
}
},
- "/webhooks/{webhook_id}/{token}/": {
+ "/reporting/menu/user": {
"get": {
"security": [
{
"bearer": []
}
],
- "description": "Returns a webhook object for the given id and token.",
+ "description": "Get reporting menu options for user reports.",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIWebhook"
+ "$ref": "#/components/schemas/ReportingMenuResponse"
}
}
}
},
- "404": {
+ "204": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "webhook_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "webhook_id"
- },
- {
- "name": "token",
- "in": "path",
- "required": true,
+ "name": "variant",
+ "in": "query",
+ "required": false,
"schema": {
"type": "string"
},
- "description": "token"
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
}
],
"tags": [
- "webhooks"
+ "reporting"
]
- },
+ }
+ },
+ "/reporting/user": {
"post": {
"security": [
{
"bearer": []
}
],
+ "description": "Get reporting menu options for user reports.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WebhookExecuteSchema"
+ "$ref": "#/components/schemas/CreateReportSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/ReportingMenuResponse"
}
}
}
},
- "404": {
+ "204": {
"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"
+ "reporting"
]
- },
- "delete": {
+ }
+ },
+ "/reporting/menu/application": {
+ "get": {
"security": [
{
"bearer": []
}
],
+ "description": "Get reporting menu options for application reports.",
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/ReportingMenuResponse"
}
}
}
},
- "404": {
+ "204": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "webhook_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "webhook_id"
- },
- {
- "name": "token",
- "in": "path",
- "required": true,
+ "name": "variant",
+ "in": "query",
+ "required": false,
"schema": {
"type": "string"
},
- "description": "token"
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
}
],
"tags": [
- "webhooks"
+ "reporting"
]
- },
- "patch": {
+ }
+ },
+ "/reporting/application": {
+ "post": {
"security": [
{
"bearer": []
}
],
+ "description": "Get reporting menu options for application reports.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WebhookUpdateSchema"
+ "$ref": "#/components/schemas/CreateReportSchema"
}
}
}
@@ -9821,54 +20842,98 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Message"
+ "$ref": "#/components/schemas/ReportingMenuResponse"
}
}
}
},
- "400": {
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "reporting"
+ ]
+ }
+ },
+ "/reporting/menu/widget": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for widget reports.",
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/ReportingMenuResponse"
}
}
}
},
- "403": {
- "description": "No description available"
- },
- "404": {
+ "204": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "webhook_id",
- "in": "path",
- "required": true,
+ "name": "variant",
+ "in": "query",
+ "required": false,
"schema": {
"type": "string"
},
- "description": "webhook_id"
- },
+ "description": "Version variant of the menu to retrieve (max 256 characters, default active)"
+ }
+ ],
+ "tags": [
+ "reporting"
+ ]
+ }
+ },
+ "/reporting/widget": {
+ "post": {
+ "security": [
{
- "name": "token",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "token"
+ "bearer": []
+ }
+ ],
+ "description": "Get reporting menu options for widget reports.",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReportSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReportingMenuResponse"
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "No description available"
}
- ],
+ },
"tags": [
- "webhooks"
+ "reporting"
]
}
},
- "/webhooks/{webhook_id}/{token}/github/": {
+ "/read-states/ack-bulk/": {
"post": {
"security": [
{
@@ -9880,7 +20945,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WebhookExecuteSchema"
+ "$ref": "#/components/schemas/AckBulkSchema"
}
}
}
@@ -9898,55 +20963,14 @@
}
}
}
- },
- "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"
+ "read-states"
]
}
},
- "/voice/regions/": {
+ "/policies/stats/": {
"get": {
"security": [
{
@@ -9959,48 +20983,117 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIGuildVoiceRegion"
+ "$ref": "#/components/schemas/InstanceStatsResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
"tags": [
- "voice"
+ "policies"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
]
}
},
- "/users/@me/settings/": {
+ "/policies/instance/limits/": {
"get": {
- "security": [
- {
- "bearer": []
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APILimitsConfiguration"
+ }
+ }
+ }
}
+ },
+ "tags": [
+ "policies"
],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/policies/instance/": {
+ "get": {
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserSettings"
+ "$ref": "#/components/schemas/APIGeneralConfiguration"
}
}
}
- },
- "404": {
+ }
+ },
+ "tags": [
+ "policies"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/policies/instance/domains/": {
+ "get": {
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/InstanceDomainsResponse"
}
}
}
}
},
"tags": [
- "users"
+ "policies"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/policies/instance/connections/": {
+ "get": {
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "policies"
]
},
"patch": {
@@ -10009,54 +21102,129 @@
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserSettingsSchema"
- }
- }
+ "responses": {
+ "default": {
+ "description": "No description available"
}
},
+ "tags": [
+ "policies"
+ ]
+ }
+ },
+ "/policies/instance/config/": {
+ "get": {
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserSettings"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Object"
}
}
}
- },
- "404": {
+ }
+ },
+ "tags": [
+ "policies"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/ping/": {
+ "get": {
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/InstancePingResponse"
}
}
}
}
},
"tags": [
- "users"
+ "ping"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/partners/{guild_id}/requirements/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "partners"
+ ]
+ }
+ },
+ "/outbound-promotions/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "outbound-promotions"
+ ]
+ }
+ },
+ "/oauth2/tokens/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "oauth2"
]
}
},
- "/users/@me/relationships/": {
+ "/oauth2/authorize/": {
"get": {
"security": [
{
@@ -10065,11 +21233,14 @@
],
"responses": {
"200": {
+ "description": "No description available"
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserRelationshipsResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -10085,8 +21256,17 @@
}
}
},
+ "parameters": [
+ {
+ "name": "client_id",
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"tags": [
- "users"
+ "oauth2"
]
},
"post": {
@@ -10100,26 +21280,23 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RelationshipPostSchema"
+ "$ref": "#/components/schemas/ApplicationAuthorizeSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/OAuthAuthorizeResponse"
}
}
}
},
- "404": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -10128,35 +21305,8 @@
}
}
}
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/relationships/{id}": {
- "put": {
- "security": [
- {
- "bearer": []
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RelationshipPutSchema"
- }
- }
- }
- },
- "responses": {
- "204": {
- "description": "No description available"
},
- "400": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -10179,110 +21329,107 @@
},
"parameters": [
{
- "name": "id",
- "in": "path",
- "required": true,
+ "name": "client_id",
+ "in": "query",
"schema": {
"type": "string"
- },
- "description": "id"
+ }
}
],
"tags": [
- "users"
+ "oauth2"
]
- },
- "delete": {
+ }
+ },
+ "/oauth2/applications/@me/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Application"
}
}
}
}
},
- "parameters": [
+ "tags": [
+ "oauth2"
+ ]
+ }
+ },
+ "/lobbies/": {
+ "post": {
+ "security": [
{
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "id"
+ "bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/LobbyCreateSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "No description available"
+ },
+ "400": {
+ "description": "No description available"
+ },
+ "401": {
+ "description": "No description available"
+ }
+ },
"tags": [
- "users"
+ "lobbies"
]
}
},
- "/users/@me/notes/{id}": {
- "get": {
+ "/lobbies/{lobby_id}/members/@me": {
+ "delete": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserNoteResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "id",
+ "name": "lobby_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "lobby_id"
}
],
"tags": [
- "users"
+ "lobbies"
]
- },
+ }
+ },
+ "/lobbies/{lobby_id}/members/{user_id}/": {
"put": {
"security": [
{
@@ -10294,131 +21441,116 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserNoteUpdateSchema"
+ "$ref": "#/components/schemas/LobbyMemberUpdateSchema"
}
}
}
},
"responses": {
- "204": {
+ "200": {
+ "description": "No description available"
+ },
+ "400": {
"description": "No description available"
},
"404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "id",
+ "name": "lobby_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "lobby_id"
+ },
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
}
],
"tags": [
- "users"
+ "lobbies"
]
- }
- },
- "/users/@me/mfa/webauthn/credentials/": {
- "get": {
+ },
+ "delete": {
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
+ "204": {
+ "description": "No description available"
+ },
+ "404": {
"description": "No description available"
}
},
- "tags": [
- "users"
- ]
- },
- "post": {
- "security": [
+ "parameters": [
{
- "bearer": []
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WebAuthnPostSchema"
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WebAuthnCreateResponse"
- }
- }
- }
+ "name": "lobby_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "lobby_id"
},
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
}
- },
+ ],
"tags": [
- "users"
+ "lobbies"
]
}
},
- "/users/@me/mfa/webauthn/credentials/{key_id}/": {
- "delete": {
+ "/lobbies/{lobby_id}/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
+ "200": {
+ "description": "No description available"
+ },
+ "404": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "key_id",
+ "name": "lobby_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "key_id"
+ "description": "lobby_id"
}
],
"tags": [
- "users"
+ "lobbies"
]
- }
- },
- "/users/@me/mfa/totp/enable/": {
- "post": {
+ },
+ "patch": {
"security": [
{
"bearer": []
@@ -10429,182 +21561,123 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TotpEnableSchema"
+ "$ref": "#/components/schemas/LobbyUpdateSchema"
}
}
}
},
"responses": {
"200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenWithBackupCodesResponse"
- }
- }
- }
+ "description": "No description available"
},
"400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
},
"404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "lobby_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "lobby_id"
+ }
+ ],
"tags": [
- "users"
+ "lobbies"
]
- }
- },
- "/users/@me/mfa/totp/disable/": {
- "post": {
+ },
+ "delete": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TotpDisableSchema"
- }
- }
- }
- },
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenOnlyResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "404": {
+ "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "lobby_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "lobby_id"
+ }
+ ],
"tags": [
- "users"
+ "lobbies"
]
}
},
- "/users/@me/mfa/codes/": {
- "post": {
+ "/lobbies/{lobby_id}/channel-linking": {
+ "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/LobbyChannelLinkSchema"
}
}
}
},
"responses": {
"200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIBackupCodeArray"
- }
- }
- }
+ "description": "No description available"
},
"400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
+ },
+ "403": {
+ "description": "No description available"
},
"404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "lobby_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "lobby_id"
+ }
+ ],
"tags": [
- "users"
+ "lobbies"
]
}
},
- "/users/@me/mfa/codes-verification/": {
- "post": {
- "security": [
- {
- "bearer": []
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CodesVerificationSchema"
- }
- }
- }
- },
+ "/invites/{invite_code}": {
+ "get": {
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIBackupCodeArray"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Invite"
}
}
}
@@ -10620,30 +21693,23 @@
}
}
},
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/library/": {
- "get": {
- "security": [
+ "parameters": [
{
- "bearer": []
+ "name": "invite_code",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "invite_code"
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
- "users"
+ "invites"
]
- }
- },
- "/users/@me/": {
- "get": {
+ },
+ "post": {
+ "x-right-required": "USE_MASS_INVITES",
"security": [
{
"bearer": []
@@ -10655,44 +21721,22 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIPrivateUser"
+ "$ref": "#/components/schemas/Invite"
}
}
}
- }
- },
- "tags": [
- "users"
- ]
- },
- "patch": {
- "security": [
- {
- "bearer": []
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserModifySchema"
- }
- }
- }
- },
- "responses": {
- "200": {
+ },
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserUpdateResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
},
- "400": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -10713,13 +21757,22 @@
}
}
},
+ "parameters": [
+ {
+ "name": "invite_code",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "invite_code"
+ }
+ ],
"tags": [
- "users"
+ "invites"
]
- }
- },
- "/users/@me/guilds/": {
- "get": {
+ },
+ "delete": {
"security": [
{
"bearer": []
@@ -10731,29 +21784,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIGuildArray"
+ "$ref": "#/components/schemas/Invite"
}
}
}
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/guilds/{guild_id}": {
- "delete": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
},
- "400": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -10776,22 +21812,22 @@
},
"parameters": [
{
- "name": "guild_id",
+ "name": "invite_code",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "invite_code"
}
],
"tags": [
- "users"
+ "invites"
]
}
},
- "/users/@me/guilds/premium/subscription-slots/": {
- "get": {
+ "/interactions/": {
+ "post": {
"security": [
{
"bearer": []
@@ -10803,41 +21839,49 @@
}
},
"tags": [
- "users"
+ "interactions"
]
}
},
- "/users/@me/guilds/{guild_id}/settings/": {
- "get": {
+ "/interactions/{interaction_id}/{interaction_token}/callback/": {
+ "post": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "No description available"
- },
- "404": {
+ "default": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "interaction_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "interaction_id"
+ },
+ {
+ "name": "interaction_token",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "interaction_token"
}
],
"tags": [
- "users"
+ "interactions"
]
- },
- "patch": {
+ }
+ },
+ "/hub-waitlist/signup": {
+ "post": {
"security": [
{
"bearer": []
@@ -10848,26 +21892,23 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserGuildSettingsSchema"
+ "$ref": "#/components/schemas/HubWaitlistSignupSchema"
}
}
}
},
"responses": {
"200": {
- "description": "No description available"
- },
- "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/HubWaitlistSignupResponse"
}
}
}
},
- "404": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -10878,40 +21919,12 @@
}
}
},
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- }
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/entitlements/gifts": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
- "users"
+ "hub-waitlist"
]
}
},
- "/users/@me/email-settings/": {
+ "/guilds/templates/{template_code}": {
"get": {
"security": [
{
@@ -10919,27 +21932,17 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/disable/": {
- "post": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Template"
+ }
+ }
+ }
},
- "400": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -10960,50 +21963,88 @@
}
}
},
+ "parameters": [
+ {
+ "name": "template_code",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "template_code"
+ }
+ ],
"tags": [
- "users"
+ "guilds"
]
- }
- },
- "/users/@me/devices/": {
+ },
"post": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GuildTemplateCreateSchema"
+ }
+ }
+ }
+ },
"responses": {
"default": {
"description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "template_code",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "template_code"
+ }
+ ],
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/@me/delete/": {
+ "/guilds/": {
"post": {
+ "x-right-required": "CREATE_GUILDS",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GuildCreateSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
- },
- "401": {
+ "201": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildCreateResponse"
}
}
}
},
- "404": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -11012,127 +22053,69 @@
}
}
}
- }
- },
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/consents/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "summary": "List consents for the current user",
- "responses": {
- "200": {
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/any"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/@me/consents/{service_id}/": {
- "put": {
+ "/guilds/automations/email-domain-lookup/": {
+ "post": {
"security": [
{
"bearer": []
}
],
- "summary": "Grant consent for a service for the current user",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/EmailDomainLookupSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/null"
+ "$ref": "#/components/schemas/EmailDomainLookupResponse"
}
}
}
- }
- },
- "parameters": [
- {
- "name": "service_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "service_id"
- }
- ],
- "tags": [
- "users"
- ]
- },
- "delete": {
- "security": [
- {
- "bearer": []
- }
- ],
- "summary": "Revoke consent for a service for the current user",
- "responses": {
- "204": {
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/null"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
- "parameters": [
- {
- "name": "service_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "service_id"
- }
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/connections/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/@me/connections/{connection_name}/{connection_id}/": {
- "patch": {
+ "/guilds/automations/email-domain-lookup/verify-code": {
+ "post": {
"security": [
{
"bearer": []
@@ -11143,77 +22126,80 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ConnectionUpdateSchema"
+ "$ref": "#/components/schemas/EmailDomainLookupVerifyCodeSchema"
}
}
}
},
"responses": {
- "default": {
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "501": {
"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"
+ "guilds"
]
- },
- "delete": {
+ }
+ },
+ "/guilds/{guild_id}/widget.png/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
+ "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": "connection_name",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "connection_name"
- },
- {
- "name": "connection_id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "connection_id"
+ "description": "guild_id"
}
],
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/@me/connections/{connection_name}/{connection_id}/access-token/": {
+ "/guilds/{guild_id}/widget.json/": {
"get": {
"security": [
{
@@ -11221,36 +22207,44 @@
}
],
"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": [
{
- "name": "connection_name",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "connection_name"
- },
- {
- "name": "connection_id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "connection_id"
+ "description": "guild_id"
}
],
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/@me/channels/": {
+ "/guilds/{guild_id}/widget/": {
"get": {
"security": [
{
@@ -11263,17 +22257,39 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIDMChannelArray"
+ "$ref": "#/components/schemas/GuildWidgetSettingsResponse"
+ }
+ }
+ }
+ },
+ "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"
+ "guilds"
]
},
- "post": {
+ "patch": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -11284,7 +22300,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/DmChannelCreateSchema"
+ "$ref": "#/components/schemas/WidgetModifySchema"
}
}
}
@@ -11295,69 +22311,49 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/DmChannelDTO"
+ "$ref": "#/components/schemas/WidgetModifySchema"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
- "tags": [
- "users"
- ]
- }
- },
- "/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"
- ]
- }
- },
- "/users/@me/billing/country-code/": {
- "get": {
- "security": [
+ "parameters": [
{
- "bearer": []
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/@me/applications/{app_id}/entitlements/": {
+ "/guilds/{guild_id}/welcome-screen/": {
"get": {
"security": [
{
@@ -11365,91 +22361,174 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GuildWelcomeScreen"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
{
- "name": "app_id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "app_id"
+ "description": "guild_id"
}
],
"tags": [
- "users"
+ "guilds"
]
- }
- },
- "/users/@me/affinities/users/": {
- "get": {
+ },
+ "patch": {
+ "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"
+ }
+ }
+ }
}
},
- "tags": [
- "users"
- ]
- }
- },
- "/users/@me/affinities/guilds/": {
- "get": {
- "security": [
+ "parameters": [
{
- "bearer": []
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/@me/activities/statistics/applications/": {
+ "/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": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/{id}/relationships/": {
- "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/UserRelationsResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -11467,22 +22546,32 @@
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
+ },
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
}
],
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/{id}/profile/": {
+ "/guilds/{guild_id}/vanity-url/": {
"get": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -11494,7 +22583,27 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserProfileResponse"
+ "$ref": "#/components/schemas/GuildVanityUrlResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -11502,20 +22611,21 @@
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
}
],
"tags": [
- "users"
+ "guilds"
]
},
"patch": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -11526,33 +22636,60 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserProfileModifySchema"
+ "$ref": "#/components/schemas/VanityUrlSchema"
}
}
}
},
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GuildVanityUrlCreateResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
}
],
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/{id}/": {
+ "/guilds/{guild_id}/templates/": {
"get": {
"security": [
{
@@ -11565,7 +22702,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIPublicUser"
+ "$ref": "#/components/schemas/APITemplateArray"
}
}
}
@@ -11573,31 +22710,56 @@
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
}
],
"tags": [
- "users"
+ "guilds"
]
- }
- },
- "/users/{id}/delete/": {
+ },
"post": {
- "x-right-required": "MANAGE_USERS",
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TemplateCreateSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Template"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
},
"403": {
"description": "",
@@ -11622,36 +22784,35 @@
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
}
],
"tags": [
- "users"
+ "guilds"
]
}
},
- "/users/{id}/consents/": {
- "get": {
- "x-right-required": "MANAGE_USERS",
+ "/guilds/{guild_id}/templates/{code}": {
+ "delete": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
}
],
- "summary": "List consents for a specified user (admin only)",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/any"
+ "$ref": "#/components/schemas/Template"
}
}
}
@@ -11669,34 +22830,42 @@
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
+ },
+ {
+ "name": "code",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "code"
}
],
"tags": [
- "users"
+ "guilds"
]
},
- "delete": {
- "x-right-required": "OPERATOR",
+ "put": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
}
],
- "summary": "Revoke all consents for a specified user (operator only)",
"responses": {
- "204": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/null"
+ "$ref": "#/components/schemas/Template"
}
}
}
@@ -11714,36 +22883,62 @@
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
+ },
+ {
+ "name": "code",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "code"
}
],
"tags": [
- "users"
+ "guilds"
]
- }
- },
- "/users/{id}/consents/{service_id}/": {
- "delete": {
- "x-right-required": "MANAGE_USERS",
+ },
+ "patch": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
}
],
- "summary": "Revoke consent for a service for the specified user (admin only)",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TemplateModifySchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/null"
+ "$ref": "#/components/schemas/Template"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -11751,53 +22946,48 @@
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
},
{
- "name": "service_id",
+ "name": "code",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "service_id"
+ "description": "code"
}
],
"tags": [
- "users"
+ "guilds"
]
}
},
- "/updates/": {
+ "/guilds/{guild_id}/stickers/": {
"get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UpdatesResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIStickerArray"
}
}
}
},
- "404": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -11808,69 +22998,23 @@
}
}
},
- "tags": [
- "updates"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/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": "guild_id",
+ "in": "path",
+ "required": true,
"schema": {
- "type": "boolean"
+ "type": "string"
},
- "description": "Whether to include team payout account status in the response (default false)"
+ "description": "guild_id"
}
],
"tags": [
- "teams"
+ "guilds"
]
},
"post": {
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
@@ -11881,7 +23025,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TeamCreateSchema"
+ "$ref": "#/components/schemas/ModifyGuildStickerSchema"
}
}
}
@@ -11892,46 +23036,49 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Team"
+ "$ref": "#/components/schemas/Sticker"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
- }
- },
- "tags": [
- "teams"
- ]
- }
- },
- "/store/published-listings/skus/{id}": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
}
},
"parameters": [
{
- "name": "id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "guild_id"
}
],
"tags": [
- "store"
+ "guilds"
]
}
},
- "/store/published-listings/skus/{sku_id}/subscription-plans/": {
+ "/guilds/{guild_id}/stickers/{sticker_id}": {
"get": {
"security": [
{
@@ -11939,93 +23086,88 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Sticker"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
{
- "name": "sku_id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "sku_id"
- }
- ],
- "tags": [
- "store"
- ]
- }
- },
- "/store/published-listings/applications/{id}": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "parameters": [
+ "description": "guild_id"
+ },
{
- "name": "id",
+ "name": "sticker_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "id"
+ "description": "sticker_id"
}
],
"tags": [
- "store"
+ "guilds"
]
- }
- },
- "/store/published-listings/applications/{id}/subscription-plans/": {
- "get": {
+ },
+ "patch": {
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
}
],
- "responses": {
- "default": {
- "description": "No description available"
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ModifyGuildStickerSchema"
+ }
+ }
}
},
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "id"
- }
- ],
- "tags": [
- "store"
- ]
- }
- },
- "/stop/": {
- "post": {
- "x-right-required": "OPERATOR",
- "security": [
- {
- "bearer": []
- }
- ],
"responses": {
"200": {
- "description": "No description available"
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Sticker"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
},
"403": {
"description": "",
@@ -12038,31 +23180,62 @@
}
}
},
+ "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": [
- "stop"
+ "guilds"
]
- }
- },
- "/stickers/{sticker_id}/": {
- "get": {
+ },
+ "delete": {
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Sticker"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
"parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ },
{
"name": "sticker_id",
"in": "path",
@@ -12074,11 +23247,11 @@
}
],
"tags": [
- "stickers"
+ "guilds"
]
}
},
- "/sticker-packs/": {
+ "/guilds/{guild_id}/shield.svg/": {
"get": {
"security": [
{
@@ -12087,22 +23260,36 @@
],
"responses": {
"200": {
+ "description": "No description available"
+ },
+ "404": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIStickerPackArray"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
"tags": [
- "sticker-packs"
+ "guilds"
]
}
},
- "/stage-instances/": {
+ "/guilds/{guild_id}/roles/member-counts/": {
"get": {
"security": [
{
@@ -12114,77 +23301,51 @@
"description": "No description available"
}
},
- "tags": [
- "stage-instances"
- ]
- }
- },
- "/science/": {
- "post": {
- "responses": {
- "204": {
- "description": "No description available"
- }
- },
- "tags": [
- "science"
- ]
- }
- },
- "/scheduled-maintenances/upcoming.json/": {
- "get": {
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "scheduled-maintenances"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/safety-hub/@me/": {
- "get": {
- "security": [
+ "parameters": [
{
- "bearer": []
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AccountStandingResponse"
- }
- }
- }
- },
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
}
- },
+ ],
"tags": [
- "safety-hub"
+ "guilds"
]
}
},
- "/read-states/ack-bulk/": {
+ "/guilds/{guild_id}/roles/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ },
"post": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
@@ -12195,45 +23356,28 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AckBulkSchema"
+ "$ref": "#/components/schemas/RoleModifySchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Role"
}
}
}
- }
- },
- "tags": [
- "read-states"
- ]
- }
- },
- "/policies/stats/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/InstanceStatsResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -12249,104 +23393,89 @@
}
}
},
- "tags": [
- "policies"
- ],
- "x-badges": [
+ "parameters": [
{
- "label": "Spacebar-only",
- "color": "red"
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
}
+ ],
+ "tags": [
+ "guilds"
]
- }
- },
- "/policies/instance/limits/": {
- "get": {
+ },
+ "patch": {
+ "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/APILimitsConfiguration"
+ "$ref": "#/components/schemas/APIRoleArray"
}
}
}
- }
- },
- "tags": [
- "policies"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/policies/instance/": {
- "get": {
- "responses": {
- "200": {
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIGeneralConfiguration"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
- }
- },
- "tags": [
- "policies"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/policies/instance/domains/": {
- "get": {
- "responses": {
- "200": {
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/InstanceDomainsResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
- "tags": [
- "policies"
- ],
- "x-badges": [
+ "parameters": [
{
- "label": "Spacebar-only",
- "color": "red"
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
}
+ ],
+ "tags": [
+ "guilds"
]
}
},
- "/policies/instance/connections/": {
- "get": {
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "policies"
- ]
- },
+ "/guilds/{guild_id}/roles/{role_id}/members/": {
"patch": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
@@ -12357,62 +23486,32 @@
"description": "No description available"
}
},
- "tags": [
- "policies"
- ]
- }
- },
- "/policies/instance/config/": {
- "get": {
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Object"
- }
- }
- }
- }
- },
- "tags": [
- "policies"
- ],
- "x-badges": [
+ "parameters": [
{
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/ping/": {
- "get": {
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InstancePingResponse"
- }
- }
- }
- }
- },
- "tags": [
- "ping"
- ],
- "x-badges": [
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ },
{
- "label": "Spacebar-only",
- "color": "red"
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
+ ],
+ "tags": [
+ "guilds"
]
}
},
- "/partners/{guild_id}/requirements/": {
+ "/guilds/{guild_id}/roles/{role_id}/member-ids/": {
"get": {
"security": [
{
@@ -12426,21 +23525,30 @@
},
"parameters": [
{
- "name": "guild_id",
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ },
+ {
+ "name": "role_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "role_id"
}
],
"tags": [
- "partners"
+ "guilds"
]
}
},
- "/outbound-promotions/": {
+ "/guilds/{guild_id}/roles/{role_id}/": {
"get": {
"security": [
{
@@ -12448,41 +23556,70 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Role"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
- "tags": [
- "outbound-promotions"
- ]
- }
- },
- "/oauth2/tokens/": {
- "get": {
- "security": [
+ "parameters": [
{
- "bearer": []
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ },
+ {
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"tags": [
- "oauth2"
+ "guilds"
]
- }
- },
- "/oauth2/authorize/": {
- "get": {
+ },
+ "delete": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
+ "204": {
"description": "No description available"
},
"400": {
@@ -12495,6 +23632,16 @@
}
}
},
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
"404": {
"description": "",
"content": {
@@ -12508,18 +23655,30 @@
},
"parameters": [
{
- "name": "client_id",
- "in": "query",
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
"schema": {
"type": "string"
- }
+ },
+ "description": "guild_id"
+ },
+ {
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
],
"tags": [
- "oauth2"
+ "guilds"
]
},
- "post": {
+ "patch": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
@@ -12530,7 +23689,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ApplicationAuthorizeSchema"
+ "$ref": "#/components/schemas/RoleModifySchema"
}
}
}
@@ -12541,7 +23700,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/OAuthAuthorizeResponse"
+ "$ref": "#/components/schemas/Role"
}
}
}
@@ -12579,19 +23738,30 @@
},
"parameters": [
{
- "name": "client_id",
- "in": "query",
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
"schema": {
"type": "string"
- }
+ },
+ "description": "guild_id"
+ },
+ {
+ "name": "role_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "role_id"
}
],
"tags": [
- "oauth2"
+ "guilds"
]
}
},
- "/oauth2/applications/@me/": {
+ "/guilds/{guild_id}/regions/": {
"get": {
"security": [
{
@@ -12604,26 +23774,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Application"
- }
- }
- }
- }
- },
- "tags": [
- "oauth2"
- ]
- }
- },
- "/invites/{code}": {
- "get": {
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Invite"
+ "$ref": "#/components/schemas/APIGuildVoiceRegion"
}
}
}
@@ -12641,21 +23792,22 @@
},
"parameters": [
{
- "name": "code",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "guild_id"
}
],
"tags": [
- "invites"
+ "guilds"
]
- },
- "post": {
- "x-right-required": "USE_MASS_INVITES",
+ }
+ },
+ "/guilds/{guild_id}/prune/": {
+ "get": {
"security": [
{
"bearer": []
@@ -12667,37 +23819,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Invite"
- }
- }
- }
- },
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildPruneResponse"
}
}
}
@@ -12705,20 +23827,22 @@
},
"parameters": [
{
- "name": "code",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "guild_id"
}
],
"tags": [
- "invites"
+ "guilds"
]
},
- "delete": {
+ "post": {
+ "x-right-required": "KICK_BAN_MEMBERS",
+ "x-permission-required": "KICK_MEMBERS",
"security": [
{
"bearer": []
@@ -12730,22 +23854,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Invite"
- }
- }
- }
- },
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildPurgeResponse"
}
}
}
},
- "404": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -12758,83 +23872,84 @@
},
"parameters": [
{
- "name": "code",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "guild_id"
}
],
"tags": [
- "invites"
+ "guilds"
]
}
},
- "/hub-waitlist/signup": {
- "post": {
+ "/guilds/{guild_id}/profile/": {
+ "get": {
"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"
+ "$ref": "#/components/schemas/GuildProfileResponse"
}
}
}
}
},
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
"tags": [
- "hub-waitlist"
+ "guilds"
]
}
},
- "/guilds/templates/{code}": {
- "get": {
+ "/guilds/{guild_id}/profile/{member_id}": {
+ "patch": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MemberChangeProfileSchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Template"
+ "$ref": "#/components/schemas/Member"
}
}
}
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -12857,35 +23972,36 @@
},
"parameters": [
{
- "name": "code",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "guild_id"
+ },
+ {
+ "name": "member_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "member_id"
}
],
"tags": [
"guilds"
]
- },
- "post": {
+ }
+ },
+ "/guilds/{guild_id}/premium/subscriptions": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildTemplateCreateSchema"
- }
- }
- }
- },
"responses": {
"default": {
"description": "No description available"
@@ -12893,13 +24009,13 @@
},
"parameters": [
{
- "name": "code",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "guild_id"
}
],
"tags": [
@@ -12907,36 +24023,25 @@
]
}
},
- "/guilds/": {
- "post": {
- "x-right-required": "CREATE_GUILDS",
+ "/guilds/{guild_id}/messages/search/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildCreateSchema"
- }
- }
- }
- },
"responses": {
- "201": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildCreateResponse"
+ "$ref": "#/components/schemas/GuildMessagesSearchResponse"
}
}
}
},
- "400": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -12946,7 +24051,7 @@
}
}
},
- "403": {
+ "422": {
"description": "",
"content": {
"application/json": {
@@ -12957,40 +24062,41 @@
}
}
},
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
"tags": [
"guilds"
]
}
},
- "/guilds/automations/email-domain-lookup/": {
- "post": {
+ "/guilds/{guild_id}/members/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/EmailDomainLookupSchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmailDomainLookupResponse"
+ "$ref": "#/components/schemas/APIMemberArray"
}
}
}
},
- "400": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -13001,30 +24107,50 @@
}
}
},
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "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",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"tags": [
"guilds"
]
}
},
- "/guilds/automations/email-domain-lookup/verify-code": {
- "post": {
+ "/guilds/{guild_id}/members/{member_id}/roles/{role_id}/": {
+ "delete": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/EmailDomainLookupVerifyCodeSchema"
- }
- }
- }
- },
"responses": {
- "400": {
+ "204": {
+ "description": "No description available"
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -13033,46 +24159,54 @@
}
}
}
- },
- "501": {
- "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "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}/widget.png/": {
- "get": {
+ },
+ "put": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
+ "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"
- }
- }
- }
+ "403": {
+ "description": "No description available"
}
},
"parameters": [
@@ -13084,6 +24218,24 @@
"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": [
@@ -13091,25 +24243,45 @@
]
}
},
- "/guilds/{guild_id}/widget.json/": {
- "get": {
+ "/guilds/{guild_id}/members/{member_id}/nick/": {
+ "patch": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MemberNickChangeSchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildWidgetJsonResponse"
+ "$ref": "#/components/schemas/APIPublicMember"
}
}
}
},
- "404": {
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -13129,6 +24301,15 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "member_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "member_id"
}
],
"tags": [
@@ -13136,7 +24317,7 @@
]
}
},
- "/guilds/{guild_id}/widget/": {
+ "/guilds/{guild_id}/members/{member_id}/": {
"get": {
"security": [
{
@@ -13149,7 +24330,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildWidgetSettingsResponse"
+ "$ref": "#/components/schemas/APIPublicMember"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -13174,6 +24365,15 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "member_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "member_id"
}
],
"tags": [
@@ -13181,7 +24381,6 @@
]
},
"patch": {
- "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -13192,7 +24391,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WidgetModifySchema"
+ "$ref": "#/components/schemas/MemberChangeSchema"
}
}
}
@@ -13203,7 +24402,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WidgetModifySchema"
+ "$ref": "#/components/schemas/Member"
}
}
}
@@ -13227,6 +24426,16 @@
}
}
}
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -13238,15 +24447,22 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "member_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "member_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/welcome-screen/": {
- "get": {
+ },
+ "put": {
"security": [
{
"bearer": []
@@ -13258,7 +24474,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildWelcomeScreen"
+ "$ref": "#/components/schemas/MemberJoinGuildResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -13283,44 +24509,32 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "member_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "member_id"
}
],
"tags": [
"guilds"
]
},
- "patch": {
- "x-permission-required": "MANAGE_GUILD",
+ "delete": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildUpdateWelcomeScreenSchema"
- }
- }
- }
- },
"responses": {
"204": {
"description": "No description available"
},
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -13340,6 +24554,15 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "member_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "member_id"
}
],
"tags": [
@@ -13347,22 +24570,20 @@
]
}
},
- "/guilds/{guild_id}/webhooks/": {
+ "/guilds/{guild_id}/member-verification/": {
"get": {
- "x-permission-required": "MANAGE_WEBHOOKS",
"security": [
{
"bearer": []
}
],
- "description": "Returns a list of guild webhook objects. Requires the MANAGE_WEBHOOKS permission.",
"responses": {
- "200": {
+ "404": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIWebhookArray"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -13384,53 +24605,21 @@
]
}
},
- "/guilds/{guild_id}/voice-states/{user_id}/": {
- "patch": {
+ "/guilds/{guild_id}/invites/": {
+ "get": {
+ "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VoiceStateUpdateSchema"
- }
- }
- }
- },
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIInviteArray"
}
}
}
@@ -13445,15 +24634,34 @@
"type": "string"
},
"description": "guild_id"
- },
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ }
+ },
+ "/guilds/{guild_id}/integrations/": {
+ "get": {
+ "security": [
{
- "name": "user_id",
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "user_id"
+ "description": "guild_id"
}
],
"tags": [
@@ -13461,9 +24669,8 @@
]
}
},
- "/guilds/{guild_id}/vanity-url/": {
+ "/guilds/{guild_id}/": {
"get": {
- "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -13475,12 +24682,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildVanityUrlResponse"
+ "$ref": "#/components/schemas/APIGuildWithJoinedAt"
}
}
}
},
- "403": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -13528,7 +24735,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/VanityUrlSchema"
+ "$ref": "#/components/schemas/GuildUpdateSchema"
}
}
}
@@ -13539,7 +24746,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildVanityUrlCreateResponse"
+ "$ref": "#/components/schemas/GuildCreateResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -13581,7 +24798,7 @@
]
}
},
- "/guilds/{guild_id}/templates/": {
+ "/guilds/{guild_id}/emojis/": {
"get": {
"security": [
{
@@ -13594,7 +24811,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APITemplateArray"
+ "$ref": "#/components/schemas/APIEmojiArray"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -13616,7 +24843,7 @@
]
},
"post": {
- "x-permission-required": "MANAGE_GUILD",
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
@@ -13627,28 +24854,18 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TemplateCreateSchema"
+ "$ref": "#/components/schemas/EmojiCreateSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Template"
- }
- }
- }
- },
- "400": {
+ "201": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Emoji"
}
}
}
@@ -13690,9 +24907,8 @@
]
}
},
- "/guilds/{guild_id}/templates/{code}": {
- "delete": {
- "x-permission-required": "MANAGE_GUILD",
+ "/guilds/{guild_id}/emojis/{emoji_id}": {
+ "get": {
"security": [
{
"bearer": []
@@ -13704,7 +24920,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Template"
+ "$ref": "#/components/schemas/Emoji"
}
}
}
@@ -13718,6 +24934,16 @@
}
}
}
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -13731,33 +24957,43 @@
"description": "guild_id"
},
{
- "name": "code",
+ "name": "emoji_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "emoji_id"
}
],
"tags": [
"guilds"
]
},
- "put": {
- "x-permission-required": "MANAGE_GUILD",
+ "patch": {
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/EmojiModifySchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Template"
+ "$ref": "#/components/schemas/Emoji"
}
}
}
@@ -13784,46 +25020,29 @@
"description": "guild_id"
},
{
- "name": "code",
+ "name": "emoji_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "emoji_id"
}
],
"tags": [
"guilds"
]
},
- "patch": {
- "x-permission-required": "MANAGE_GUILD",
+ "delete": {
+ "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"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": "",
@@ -13847,13 +25066,13 @@
"description": "guild_id"
},
{
- "name": "code",
+ "name": "emoji_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "code"
+ "description": "emoji_id"
}
],
"tags": [
@@ -13861,7 +25080,7 @@
]
}
},
- "/guilds/{guild_id}/stickers/": {
+ "/guilds/{guild_id}/discovery-requirements/": {
"get": {
"security": [
{
@@ -13874,17 +25093,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIStickerArray"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GuildDiscoveryRequirementsResponse"
}
}
}
@@ -13904,36 +25113,20 @@
"tags": [
"guilds"
]
- },
+ }
+ },
+ "/guilds/{guild_id}/delete/": {
"post": {
- "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ModifyGuildStickerSchema"
- }
- }
- }
- },
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Sticker"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
- "400": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -13943,7 +25136,7 @@
}
}
},
- "403": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -13970,7 +25163,7 @@
]
}
},
- "/guilds/{guild_id}/stickers/{sticker_id}": {
+ "/guilds/{guild_id}/channels/": {
"get": {
"security": [
{
@@ -13978,22 +25171,12 @@
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Sticker"
- }
- }
- }
- },
- "403": {
+ "201": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIChannelArray"
}
}
}
@@ -14008,23 +25191,15 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "sticker_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "sticker_id"
}
],
"tags": [
"guilds"
]
},
- "patch": {
- "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
+ "post": {
+ "x-right-required": "CREATE_CHANNELS",
+ "x-permission-required": "MANAGE_CHANNELS",
"security": [
{
"bearer": []
@@ -14035,18 +25210,18 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ModifyGuildStickerSchema"
+ "$ref": "#/components/schemas/ChannelCreateSchema"
}
}
}
},
"responses": {
- "200": {
+ "201": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Sticker"
+ "$ref": "#/components/schemas/Channel"
}
}
}
@@ -14056,7 +25231,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIError Response"
}
}
}
@@ -14081,32 +25256,43 @@
"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",
+ "patch": {
+ "x-permission-required": "MANAGE_CHANNELS",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChannelReorderSchema"
+ }
+ }
+ }
+ },
"responses": {
"204": {
"description": "No description available"
},
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
"403": {
"description": "",
"content": {
@@ -14127,15 +25313,75 @@
"type": "string"
},
"description": "guild_id"
+ }
+ ],
+ "tags": [
+ "guilds"
+ ]
+ }
+ },
+ "/guilds/{guild_id}/bulk-ban/": {
+ "post": {
+ "x-permission-required": [
+ "BAN_MEMBERS",
+ "MANAGE_GUILD"
+ ],
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BulkBanSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Ban"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
},
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
{
- "name": "sticker_id",
+ "name": "guild_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "sticker_id"
+ "description": "guild_id"
}
],
"tags": [
@@ -14143,16 +25389,34 @@
]
}
},
- "/guilds/{guild_id}/roles/member-counts/": {
+ "/guilds/{guild_id}/bans/": {
"get": {
+ "x-permission-required": "BAN_MEMBERS",
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIBansArray"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -14171,16 +25435,34 @@
]
}
},
- "/guilds/{guild_id}/roles/": {
+ "/guilds/{guild_id}/bans/search": {
"get": {
+ "x-permission-required": "BAN_MEMBERS",
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIBansArray"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -14192,41 +25474,51 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "query",
+ "in": "query",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Query to match username(s) and display name(s) against (1-32 characters)"
+ },
+ {
+ "name": "limit",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "number"
+ },
+ "description": "Max number of members to return (1-10, default 10)"
}
],
"tags": [
"guilds"
]
- },
- "post": {
- "x-permission-required": "MANAGE_ROLES",
+ }
+ },
+ "/guilds/{guild_id}/bans/{user_id}": {
+ "get": {
+ "x-permission-required": "BAN_MEMBERS",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RoleModifySchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Role"
+ "$ref": "#/components/schemas/GuildBansResponse"
}
}
}
},
- "400": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -14236,7 +25528,7 @@
}
}
},
- "403": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -14256,14 +25548,23 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
}
],
"tags": [
"guilds"
]
},
- "patch": {
- "x-permission-required": "MANAGE_ROLES",
+ "put": {
+ "x-permission-required": "BAN_MEMBERS",
"security": [
{
"bearer": []
@@ -14274,21 +25575,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RolePositionUpdateSchema"
+ "$ref": "#/components/schemas/BanCreateSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIRoleArray"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -14311,35 +25605,6 @@
}
}
},
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/{guild_id}/roles/{role_id}/members/": {
- "patch": {
- "x-permission-required": "MANAGE_ROLES",
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
"parameters": [
{
"name": "guild_id",
@@ -14351,30 +25616,49 @@
"description": "guild_id"
},
{
- "name": "role_id",
+ "name": "user_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "role_id"
+ "description": "user_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/roles/{role_id}/member-ids/": {
- "get": {
+ },
+ "delete": {
+ "x-permission-required": "BAN_MEMBERS",
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
+ "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": [
@@ -14388,13 +25672,13 @@
"description": "guild_id"
},
{
- "name": "role_id",
+ "name": "user_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "role_id"
+ "description": "user_id"
}
],
"tags": [
@@ -14402,8 +25686,11 @@
]
}
},
- "/guilds/{guild_id}/roles/{role_id}/": {
+ "/guilds/{guild_id}/auto-moderation/rules/": {
"get": {
+ "x-permission-required": [
+ "MANAGE_GUILD"
+ ],
"security": [
{
"bearer": []
@@ -14415,7 +25702,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Role"
+ "$ref": "#/components/schemas/AutomodRuleSchemaWithId[]"
}
}
}
@@ -14429,16 +25716,6 @@
}
}
}
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"parameters": [
@@ -14450,43 +25727,33 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "role_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "role_id"
}
],
"tags": [
"guilds"
]
},
- "delete": {
- "x-permission-required": "MANAGE_ROLES",
+ "post": {
+ "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/AutomodRuleSchemaWithId"
}
}
}
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -14496,7 +25763,7 @@
}
}
},
- "404": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -14516,60 +25783,35 @@
"type": "string"
},
"description": "guild_id"
- },
- {
- "name": "role_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "role_id"
}
],
"tags": [
"guilds"
]
- },
+ }
+ },
+ "/guilds/{guild_id}/auto-moderation/rules/{rule_id}": {
"patch": {
- "x-permission-required": "MANAGE_ROLES",
+ "x-permission-required": [
+ "MANAGE_GUILD"
+ ],
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RoleModifySchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Role"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/AutomodRuleSchemaWithId"
}
}
}
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -14579,7 +25821,7 @@
}
}
},
- "404": {
+ "403": {
"description": "",
"content": {
"application/json": {
@@ -14601,34 +25843,38 @@
"description": "guild_id"
},
{
- "name": "role_id",
+ "name": "rule_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "role_id"
+ "description": "rule_id"
}
],
"tags": [
"guilds"
]
- }
- },
- "/guilds/{guild_id}/regions/": {
- "get": {
+ },
+ "delete": {
+ "x-permission-required": [
+ "MANAGE_GUILD"
+ ],
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "403": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIGuildVoiceRegion"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -14653,6 +25899,15 @@
"type": "string"
},
"description": "guild_id"
+ },
+ {
+ "name": "rule_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "rule_id"
}
],
"tags": [
@@ -14660,7 +25915,7 @@
]
}
},
- "/guilds/{guild_id}/prune/": {
+ "/guilds/{guild_id}/audit-logs/": {
"get": {
"security": [
{
@@ -14668,15 +25923,8 @@
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildPruneResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
@@ -14693,35 +25941,18 @@
"tags": [
"guilds"
]
- },
- "post": {
- "x-right-required": "KICK_BAN_MEMBERS",
- "x-permission-required": "KICK_MEMBERS",
+ }
+ },
+ "/guilds/{guild_id}/application-command-index/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildPurgeResponse"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
@@ -14740,50 +25971,78 @@
]
}
},
- "/guilds/{guild_id}/profile/{member_id}": {
- "patch": {
+ "/guild-recommendations/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MemberChangeProfileSchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Member"
+ "$ref": "#/components/schemas/GuildRecommendationsResponse"
}
}
}
- },
- "400": {
+ }
+ },
+ "tags": [
+ "guild-recommendations"
+ ]
+ }
+ },
+ "/gifs/trending/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/TenorTrendingResponse"
}
}
}
- },
- "404": {
+ }
+ },
+ "parameters": [
+ {
+ "name": "locale",
+ "in": "query",
+ "schema": {
+ "type": "string"
+ },
+ "description": "Locale"
+ }
+ ],
+ "tags": [
+ "gifs"
+ ]
+ }
+ },
+ "/gifs/trending-gifs/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/TenorGifsResponse"
}
}
}
@@ -14791,30 +26050,28 @@
},
"parameters": [
{
- "name": "guild_id",
- "in": "path",
- "required": true,
+ "name": "media_format",
+ "in": "query",
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "Media format"
},
{
- "name": "member_id",
- "in": "path",
- "required": true,
+ "name": "locale",
+ "in": "query",
"schema": {
"type": "string"
},
- "description": "member_id"
+ "description": "Locale"
}
],
"tags": [
- "guilds"
+ "gifs"
]
}
},
- "/guilds/{guild_id}/premium/subscriptions": {
+ "/gifs/search/": {
"get": {
"security": [
{
@@ -14822,27 +26079,124 @@
}
],
"responses": {
- "default": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TenorGifsResponse"
+ }
+ }
+ }
}
},
"parameters": [
{
- "name": "guild_id",
- "in": "path",
+ "name": "q",
+ "in": "query",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "Search query"
+ },
+ {
+ "name": "media_format",
+ "in": "query",
+ "schema": {
+ "type": "string"
+ },
+ "description": "Media format"
+ },
+ {
+ "name": "locale",
+ "in": "query",
+ "schema": {
+ "type": "string"
+ },
+ "description": "Locale"
+ }
+ ],
+ "tags": [
+ "gifs"
+ ]
+ }
+ },
+ "/gateway/": {
+ "get": {
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GatewayResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "gateway"
+ ]
+ }
+ },
+ "/gateway/bot/": {
+ "get": {
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GatewayBotResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "gateway"
+ ]
+ }
+ },
+ "/games/detectable/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ApplicationDetectableResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "games"
+ ]
+ }
+ },
+ "/experiments/": {
+ "get": {
+ "responses": {
+ "default": {
+ "description": "No description available"
}
- ],
+ },
"tags": [
- "guilds"
+ "experiments"
]
}
},
- "/guilds/{guild_id}/messages/search/": {
+ "/emojis/{emoji_id}/source/": {
"get": {
"security": [
{
@@ -14855,22 +26209,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildMessagesSearchResponse"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/EmojiSourceResponse"
}
}
}
},
- "422": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -14883,21 +26227,43 @@
},
"parameters": [
{
- "name": "guild_id",
+ "name": "emoji_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "emoji_id"
}
],
"tags": [
- "guilds"
+ "emojis"
]
}
},
- "/guilds/{guild_id}/members/": {
+ "/download/": {
+ "get": {
+ "responses": {
+ "302": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "download"
+ ]
+ }
+ },
+ "/discovery/categories": {
"get": {
"security": [
{
@@ -14910,233 +26276,169 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIMemberArray"
+ "$ref": "#/components/schemas/APIDiscoveryCategoryArray"
}
}
}
- },
- "403": {
+ }
+ },
+ "tags": [
+ "discovery"
+ ]
+ }
+ },
+ "/discoverable-guilds/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/DiscoverableGuildsResponse"
}
}
}
}
},
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "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",
- "schema": {
- "type": "string"
- }
- }
- ],
"tags": [
- "guilds"
+ "discoverable-guilds"
]
}
},
- "/guilds/{guild_id}/members/{member_id}/roles/{role_id}/": {
- "delete": {
- "x-permission-required": "MANAGE_ROLES",
+ "/connections/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
- "description": "No description available"
- },
- "403": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIConnectionsConfiguration"
}
}
}
}
},
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "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"
+ "connections"
]
- },
- "put": {
- "x-permission-required": "MANAGE_ROLES",
+ }
+ },
+ "/connections/{connection_name}/callback/": {
+ "post": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ConnectionCallbackSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
- },
- "403": {
+ "default": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
- },
- {
- "name": "role_id",
+ "name": "connection_name",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "role_id"
+ "description": "connection_name"
}
],
"tags": [
- "guilds"
+ "connections"
]
}
},
- "/guilds/{guild_id}/members/{member_id}/nick/": {
- "patch": {
+ "/connections/{connection_name}/authorize/": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MemberNickChangeSchema"
- }
- }
+ "responses": {
+ "default": {
+ "description": "No description available"
}
},
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIPublicMember"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "parameters": [
+ {
+ "name": "connection_name",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "connection_name"
+ }
+ ],
+ "tags": [
+ "connections"
+ ]
+ }
+ },
+ "/connections/{connection_name}/{connection_id}/refresh/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "connection_name",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "connection_name"
},
{
- "name": "member_id",
+ "name": "connection_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "member_id"
+ "description": "connection_id"
}
],
"tags": [
- "guilds"
+ "connections"
]
}
},
- "/guilds/{guild_id}/members/{member_id}/": {
+ "/collectibles-shop/": {
"get": {
"security": [
{
@@ -15149,57 +26451,49 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIPublicMember"
+ "$ref": "#/components/schemas/CollectiblesShopResponse"
}
}
}
},
- "403": {
+ "204": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "collectibles-shop"
+ ]
+ }
+ },
+ "/collectibles-categories/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/CollectiblesCategoriesResponse"
}
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
}
},
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
- }
- ],
"tags": [
- "guilds"
+ "collectibles-categories"
]
- },
- "patch": {
+ }
+ },
+ "/channels/preload-messages/": {
+ "post": {
"security": [
{
"bearer": []
@@ -15210,7 +26504,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MemberChangeSchema"
+ "$ref": "#/components/schemas/PreloadMessagesRequestSchema"
}
}
}
@@ -15221,7 +26515,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Member"
+ "$ref": "#/components/schemas/PreloadMessagesResponse"
}
}
}
@@ -15235,85 +26529,29 @@
}
}
}
- },
- "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": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
- }
- ],
"tags": [
- "guilds"
+ "channels"
]
- },
- "put": {
+ }
+ },
+ "/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/MemberJoinGuildResponse"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIWebhookArray"
}
}
}
@@ -15321,229 +26559,168 @@
},
"parameters": [
{
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "member_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "member_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
},
- "delete": {
+ "post": {
+ "x-permission-required": "MANAGE_WEBHOOKS",
"security": [
{
"bearer": []
}
],
- "responses": {
- "204": {
- "description": "No description available"
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WebhookCreateSchema"
}
}
}
},
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "member_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "member_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/{guild_id}/member-verification/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
"responses": {
- "404": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/WebhookCreateResponse"
}
}
}
- }
- },
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/{guild_id}/invites/": {
- "get": {
- "x-permission-required": "MANAGE_GUILD",
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIInviteArray"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
+ },
+ "403": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/integrations/": {
- "get": {
+ "/channels/{channel_id}/typing/": {
+ "post": {
+ "x-permission-required": "SEND_MESSAGES",
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
+ "204": {
+ "description": "No description available"
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/": {
- "get": {
+ "/channels/{channel_id}/tickets/tickets": {
+ "post": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TicketCreateSchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIGuildWithJoinedAt"
+ "$ref": "#/components/schemas/Channel"
}
}
}
},
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "400": {
+ "description": "No description available"
+ },
+ "403": {
+ "description": "No description available"
},
"404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- },
+ }
+ },
+ "/channels/{channel_id}/ticket/ticket": {
"patch": {
- "x-permission-required": "MANAGE_GUILD",
"security": [
{
"bearer": []
@@ -15554,7 +26731,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildUpdateSchema"
+ "$ref": "#/components/schemas/TicketPatchSchema"
}
}
}
@@ -15565,59 +26742,38 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildCreateResponse"
+ "$ref": "#/components/schemas/Channel"
}
}
}
},
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "400": {
+ "description": "No description available"
},
"403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
},
"404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/emojis/": {
+ "/channels/{channel_id}/threads/": {
"get": {
"security": [
{
@@ -15630,12 +26786,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIEmojiArray"
+ "$ref": "#/components/schemas/APIMessageArray"
}
}
}
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -15644,25 +26800,60 @@
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
+ },
+ {
+ "name": "around",
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "before",
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "after",
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "limit",
+ "in": "query",
+ "schema": {
+ "type": "number"
+ },
+ "description": "max number of messages to return (1-100). defaults to 50"
}
],
"tags": [
- "guilds"
+ "channels"
]
},
"post": {
- "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
+ "x-permission-required": "CREATE_PUBLIC_THREADS",
"security": [
{
"bearer": []
@@ -15673,146 +26864,87 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmojiCreateSchema"
+ "$ref": "#/components/schemas/ThreadCreationSchema"
}
}
}
},
"responses": {
- "201": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Emoji"
- }
- }
- }
+ "200": {
+ "description": "No description available"
},
"403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/emojis/{emoji_id}": {
- "get": {
+ "/channels/{channel_id}/threads/ack": {
+ "delete": {
"security": [
{
"bearer": []
}
],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Emoji"
- }
- }
- }
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AcknowledgeDeleteSchema"
}
}
}
},
+ "responses": {
+ "204": {
+ "description": "No description available"
+ }
+ },
"parameters": [
{
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "emoji_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "emoji_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
- ]
- },
- "patch": {
- "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
+ "channels"
+ ]
+ }
+ },
+ "/channels/{channel_id}/threads/search": {
+ "get": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/EmojiModifySchema"
- }
- }
- }
- },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Emoji"
+ "$ref": "#/components/schemas/GuildMessagesSearchResponse"
}
}
}
@@ -15826,44 +26958,8 @@
}
}
}
- }
- },
- "parameters": [
- {
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "emoji_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "emoji_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- },
- "delete": {
- "x-permission-required": "MANAGE_EMOJIS_AND_STICKERS",
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
},
- "403": {
+ "422": {
"description": "",
"content": {
"application/json": {
@@ -15876,31 +26972,23 @@
},
"parameters": [
{
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "emoji_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "emoji_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/discovery-requirements/": {
+ "/channels/{channel_id}/thread-members/": {
"get": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -15908,179 +26996,142 @@
],
"responses": {
"200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildDiscoveryRequirementsResponse"
- }
- }
- }
+ "description": "No description available"
+ },
+ "403": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/delete/": {
+ "/channels/{channel_id}/thread-members/{user_id}": {
"post": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
+ "200": {
"description": "No description available"
},
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "403": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
+ },
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- }
- },
- "/guilds/{guild_id}/channels/": {
- "get": {
+ },
+ "delete": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
"responses": {
- "201": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIChannelArray"
- }
- }
- }
+ "200": {
+ "description": "No description available"
+ },
+ "403": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
+ },
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- },
- "post": {
- "x-permission-required": "MANAGE_CHANNELS",
+ }
+ },
+ "/channels/{channel_id}/thread-members/@me/settings": {
+ "patch": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ChannelModifySchema"
- }
- }
- }
- },
"responses": {
- "201": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Channel"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "200": {
+ "description": "No description available"
},
"403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- },
- "patch": {
+ }
+ },
+ "/channels/{channel_id}/tags/": {
+ "post": {
"x-permission-required": "MANAGE_CHANNELS",
"security": [
{
@@ -16092,58 +27143,45 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ChannelReorderSchema"
+ "$ref": "#/components/schemas/TagCreateSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Channel"
}
}
}
},
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
- },
- "/guilds/{guild_id}/bulk-ban/": {
- "post": {
- "x-permission-required": [
- "BAN_MEMBERS",
- "MANAGE_GUILD"
- ],
+ },
+ "/channels/{channel_id}/tags/{tag_id}": {
+ "put": {
+ "x-permission-required": "MANAGE_CHANNELS",
"security": [
{
"bearer": []
@@ -16154,7 +27192,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BulkBanSchema"
+ "$ref": "#/components/schemas/TagCreateSchema"
}
}
}
@@ -16165,51 +27203,41 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Ban"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Channel"
}
}
}
},
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
+ },
+ {
+ "name": "tag_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "tag_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- }
- },
- "/guilds/{guild_id}/bans/": {
- "get": {
- "x-permission-required": "BAN_MEMBERS",
+ },
+ "delete": {
+ "x-permission-required": "MANAGE_CHANNELS",
"security": [
{
"bearer": []
@@ -16221,122 +27249,130 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIBansArray"
+ "$ref": "#/components/schemas/Channel"
}
}
}
},
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
+ },
+ {
+ "name": "tag_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "tag_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/bans/search": {
- "get": {
- "x-permission-required": "BAN_MEMBERS",
+ "/channels/{channel_id}/recipients/{user_id}": {
+ "put": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIBansArray"
- }
- }
- }
+ "201": {
+ "description": "No description available"
},
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
},
{
- "name": "query",
- "in": "query",
+ "name": "user_id",
+ "in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "Query to match username(s) and display name(s) against (1-32 characters)"
+ "description": "user_id"
+ }
+ ],
+ "tags": [
+ "channels"
+ ]
+ },
+ "delete": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "channel_id"
},
{
- "name": "limit",
- "in": "query",
- "required": false,
+ "name": "user_id",
+ "in": "path",
+ "required": true,
"schema": {
- "type": "number"
+ "type": "string"
},
- "description": "Max number of members to return (1-10, default 10)"
+ "description": "user_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/bans/{user_id}": {
- "get": {
- "x-permission-required": "BAN_MEMBERS",
+ "/channels/{channel_id}/purge/": {
+ "post": {
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GuildBansResponse"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -16346,43 +27382,32 @@
}
}
},
+ "403": {
+ "description": "No description available"
+ },
"404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "guild_id"
- },
- {
- "name": "user_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "user_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- },
- "put": {
- "x-permission-required": "BAN_MEMBERS",
+ }
+ },
+ "/channels/{channel_id}/promote/": {
+ "post": {
+ "x-permission-required": "MANAGE_CHANNELS",
"security": [
{
"bearer": []
@@ -16393,26 +27418,23 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BanCreateSchema"
+ "$ref": "#/components/schemas/ChannelPromoteSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Channel"
}
}
}
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -16421,34 +27443,75 @@
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
+ }
+ ],
+ "tags": [
+ "channels"
+ ]
+ }
+ },
+ "/channels/{channel_id}/post-data/": {
+ "post": {
+ "x-permission-required": "VIEW_CHANNEL",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PostDataSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "No description available"
},
+ "403": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
{
- "name": "user_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "user_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- },
- "delete": {
- "x-permission-required": "BAN_MEMBERS",
+ }
+ },
+ "/channels/{channel_id}/pins/{message_id}": {
+ "put": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -16458,7 +27521,7 @@
"204": {
"description": "No description available"
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -16468,64 +27531,49 @@
}
}
},
+ "403": {
+ "description": "No description available"
+ },
"404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
},
{
- "name": "user_id",
+ "name": "message_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "user_id"
+ "description": "message_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- }
- },
- "/guilds/{guild_id}/auto-moderation/rules/": {
- "get": {
- "x-permission-required": [
- "MANAGE_GUILD"
- ],
+ },
+ "delete": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AutomodRuleSchemaWithId[]"
- }
- }
- }
+ "204": {
+ "description": "No description available"
},
- "403": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -16534,26 +27582,43 @@
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
- },
- "post": {
+ }
+ },
+ "/channels/{channel_id}/pins/": {
+ "get": {
"x-permission-required": [
- "MANAGE_GUILD"
+ "READ_MESSAGE_HISTORY"
],
"security": [
{
@@ -16566,7 +27631,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AutomodRuleSchemaWithId"
+ "$ref": "#/components/schemas/APIMessageArray"
}
}
}
@@ -16580,54 +27645,45 @@
}
}
}
- },
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guilds/{guild_id}/auto-moderation/rules/{rule_id}": {
- "patch": {
- "x-permission-required": [
- "MANAGE_GUILD"
- ],
+ "/channels/{channel_id}/permissions/{overwrite_id}": {
+ "put": {
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
}
],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AutomodRuleSchemaWithId"
- }
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChannelPermissionOverwriteSchema"
}
}
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "No description available"
},
"400": {
"description": "",
@@ -16639,45 +27695,39 @@
}
}
},
- "403": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "404": {
+ "description": "No description available"
+ },
+ "501": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
},
{
- "name": "rule_id",
+ "name": "overwrite_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "rule_id"
+ "description": "overwrite_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
},
"delete": {
- "x-permission-required": [
- "MANAGE_GUILD"
- ],
+ "x-permission-required": "MANAGE_ROLES",
"security": [
{
"bearer": []
@@ -16687,81 +27737,36 @@
"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"
- }
- }
- }
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "guild_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "channel_id"
},
{
- "name": "rule_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "rule_id"
- }
- ],
- "tags": [
- "guilds"
- ]
- }
- },
- "/guilds/{guild_id}/audit-logs/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "parameters": [
- {
- "name": "guild_id",
+ "name": "overwrite_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "guild_id"
+ "description": "overwrite_id"
}
],
"tags": [
- "guilds"
+ "channels"
]
}
},
- "/guild-recommendations/": {
+ "/channels/{channel_id}/messages/search/": {
"get": {
"security": [
{
@@ -16774,37 +27779,27 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildRecommendationsResponse"
+ "$ref": "#/components/schemas/GuildMessagesSearchResponse"
}
}
}
- }
- },
- "tags": [
- "guild-recommendations"
- ],
- "x-badges": [
- {
- "label": "Spacebar-only",
- "color": "red"
- }
- ]
- }
- },
- "/gifs/trending/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "200": {
+ },
+ "403": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "422": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TenorTrendingResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
@@ -16812,164 +27807,131 @@
},
"parameters": [
{
- "name": "locale",
- "in": "query",
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
"schema": {
"type": "string"
},
- "description": "Locale"
+ "description": "channel_id"
}
],
"tags": [
- "gifs"
+ "channels"
]
}
},
- "/gifs/trending-gifs/": {
- "get": {
+ "/channels/{channel_id}/messages/pins/{message_id}": {
+ "put": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TenorGifsResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "media_format",
- "in": "query",
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
"schema": {
"type": "string"
},
- "description": "Media format"
+ "description": "channel_id"
},
{
- "name": "locale",
- "in": "query",
+ "name": "message_id",
+ "in": "path",
+ "required": true,
"schema": {
"type": "string"
},
- "description": "Locale"
+ "description": "message_id"
}
],
"tags": [
- "gifs"
+ "channels"
]
- }
- },
- "/gifs/search/": {
- "get": {
+ },
+ "delete": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TenorGifsResponse"
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "q",
- "in": "query",
+ "name": "channel_id",
+ "in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "Search query"
- },
- {
- "name": "media_format",
- "in": "query",
- "schema": {
- "type": "string"
- },
- "description": "Media format"
+ "description": "channel_id"
},
{
- "name": "locale",
- "in": "query",
+ "name": "message_id",
+ "in": "path",
+ "required": true,
"schema": {
"type": "string"
},
- "description": "Locale"
+ "description": "message_id"
}
],
"tags": [
- "gifs"
- ]
- }
- },
- "/gateway/": {
- "get": {
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GatewayResponse"
- }
- }
- }
- }
- },
- "tags": [
- "gateway"
- ]
- }
- },
- "/gateway/bot/": {
- "get": {
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GatewayBotResponse"
- }
- }
- }
- }
- },
- "tags": [
- "gateway"
- ]
- }
- },
- "/experiments/": {
- "get": {
- "responses": {
- "default": {
- "description": "No description available"
- }
- },
- "tags": [
- "experiments"
+ "channels"
]
}
},
- "/emojis/{emoji_id}/source/": {
+ "/channels/{channel_id}/messages/pins/": {
"get": {
+ "x-permission-required": [
+ "READ_MESSAGE_HISTORY"
+ ],
"security": [
{
"bearer": []
@@ -16981,12 +27943,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmojiSourceResponse"
+ "$ref": "#/components/schemas/APIMessageArray"
}
}
}
},
- "404": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -16999,27 +27961,42 @@
},
"parameters": [
{
- "name": "emoji_id",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "emoji_id"
+ "description": "channel_id"
}
],
"tags": [
- "emojis"
+ "channels"
]
}
},
- "/download/": {
- "get": {
+ "/channels/{channel_id}/messages/bulk-delete/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BulkDeleteSchema"
+ }
+ }
+ }
+ },
"responses": {
- "302": {
+ "204": {
"description": "No description available"
},
- "404": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -17028,63 +28005,84 @@
}
}
}
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "channel_id"
+ }
+ ],
"tags": [
- "download"
+ "channels"
]
}
},
- "/discovery/categories": {
- "get": {
+ "/channels/{channel_id}/messages/{message_id}/threads/": {
+ "post": {
+ "x-permission-required": "CREATE_PUBLIC_THREADS",
"security": [
{
"bearer": []
}
],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIDiscoveryCategoryArray"
- }
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MessageThreadCreationSchema"
}
}
}
},
- "tags": [
- "discovery"
- ]
- }
- },
- "/discoverable-guilds/": {
- "get": {
- "security": [
- {
- "bearer": []
- }
- ],
"responses": {
"200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DiscoverableGuildsResponse"
- }
- }
- }
+ "description": "No description available"
+ },
+ "403": {
+ "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
+ }
+ ],
"tags": [
- "discoverable-guilds"
+ "channels"
]
}
},
- "/connections/": {
+ "/channels/{channel_id}/messages/{message_id}/replies/": {
"get": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -17096,139 +28094,233 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIConnectionsConfiguration"
+ "$ref": "#/components/schemas/APIMessageArray"
}
}
}
+ },
+ "403": {
+ "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",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
+ }
+ ],
"tags": [
- "connections"
+ "channels"
]
- }
- },
- "/connections/{connection_name}/callback/": {
- "post": {
+ },
+ "delete": {
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ConnectionCallbackSchema"
- }
- }
- }
- },
"responses": {
- "default": {
+ "204": {
+ "description": "No description available"
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
"description": "No description available"
}
},
"parameters": [
{
- "name": "connection_name",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "connection_name"
+ "description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
}
],
"tags": [
- "connections"
+ "channels"
]
}
},
- "/connections/{connection_name}/authorize/": {
- "get": {
+ "/channels/{channel_id}/messages/{message_id}/reactions/": {
+ "delete": {
+ "x-permission-required": "MANAGE_MESSAGES",
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
+ "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"
}
},
"parameters": [
{
- "name": "connection_name",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "connection_name"
+ "description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
}
],
"tags": [
- "connections"
+ "channels"
]
}
},
- "/connections/{connection_name}/{connection_id}/refresh/": {
- "post": {
+ "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}": {
+ "delete": {
+ "x-permission-required": "MANAGE_MESSAGES",
"security": [
{
"bearer": []
}
],
"responses": {
- "default": {
+ "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"
}
},
"parameters": [
{
- "name": "connection_name",
+ "name": "channel_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "connection_name"
+ "description": "channel_id"
},
{
- "name": "connection_id",
+ "name": "message_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "connection_id"
+ "description": "message_id"
+ },
+ {
+ "name": "emoji",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "emoji"
}
],
"tags": [
- "connections"
+ "channels"
]
- }
- },
- "/channels/{channel_id}/webhooks/": {
+ },
"get": {
- "x-permission-required": "MANAGE_WEBHOOKS",
+ "x-permission-required": "VIEW_CHANNEL",
"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/APIWebhookArray"
+ "$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": [
@@ -17240,39 +28332,43 @@
"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": [
"channels"
]
- },
- "post": {
- "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": []
}
],
- "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": "",
@@ -17286,6 +28382,9 @@
},
"403": {
"description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -17297,16 +28396,40 @@
"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"
]
- }
- },
- "/channels/{channel_id}/typing/": {
- "post": {
- "x-permission-required": "SEND_MESSAGES",
+ },
+ "delete": {
"security": [
{
"bearer": []
@@ -17316,6 +28439,16 @@
"204": {
"description": "No description available"
},
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
"403": {
"description": "No description available"
},
@@ -17332,37 +28465,24 @@
"type": "string"
},
"description": "channel_id"
- }
- ],
- "tags": [
- "channels"
- ]
- }
- },
- "/channels/{channel_id}/recipients/{user_id}": {
- "put": {
- "security": [
+ },
{
- "bearer": []
- }
- ],
- "responses": {
- "201": {
- "description": "No description available"
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
},
- "404": {
- "description": "No description available"
- }
- },
- "parameters": [
{
- "name": "channel_id",
+ "name": "emoji",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "channel_id"
+ "description": "emoji"
},
{
"name": "user_id",
@@ -17377,7 +28497,9 @@
"tags": [
"channels"
]
- },
+ }
+ },
+ "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/{burst}/{user_id}": {
"delete": {
"security": [
{
@@ -17388,6 +28510,19 @@
"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"
}
@@ -17402,6 +28537,33 @@
},
"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": "burst",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "burst"
+ },
{
"name": "user_id",
"in": "path",
@@ -17417,16 +28579,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": "",
@@ -17454,24 +28635,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": "",
@@ -17514,7 +28720,7 @@
"channels"
]
},
- "delete": {
+ "get": {
"x-permission-required": "VIEW_CHANNEL",
"security": [
{
@@ -17522,8 +28728,15 @@
}
],
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Message"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -17565,28 +28778,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": "",
@@ -17597,6 +28798,9 @@
}
}
}
+ },
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -17608,6 +28812,15 @@
"type": "string"
},
"description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
}
],
"tags": [
@@ -17615,43 +28828,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": [
@@ -17665,31 +28859,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"
}
},
@@ -17704,13 +28909,13 @@
"description": "channel_id"
},
{
- "name": "overwrite_id",
+ "name": "message_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "overwrite_id"
+ "description": "message_id"
}
],
"tags": [
@@ -17718,17 +28923,35 @@
]
}
},
- "/channels/{channel_id}/messages/pins/{message_id}": {
- "put": {
- "x-permission-required": "VIEW_CHANNEL",
+ "/channels/{channel_id}/invites/": {
+ "post": {
+ "x-right-required": "CREATE_INVITES",
+ "x-permission-required": "CREATE_INSTANT_INVITE",
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InviteCreateSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Invite"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -17740,9 +28963,6 @@
}
}
},
- "403": {
- "description": "No description available"
- },
"404": {
"description": "No description available"
}
@@ -17756,45 +28976,30 @@
"type": "string"
},
"description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
}
],
"tags": [
"channels"
]
},
- "delete": {
- "x-permission-required": "VIEW_CHANNEL",
+ "get": {
+ "x-permission-required": "MANAGE_CHANNELS",
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIInviteArray"
}
}
}
},
- "403": {
- "description": "No description available"
- },
"404": {
"description": "No description available"
}
@@ -17808,15 +29013,6 @@
"type": "string"
},
"description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
}
],
"tags": [
@@ -17824,11 +29020,9 @@
]
}
},
- "/channels/{channel_id}/messages/pins/": {
+ "/channels/{channel_id}/": {
"get": {
- "x-permission-required": [
- "READ_MESSAGE_HISTORY"
- ],
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -17840,20 +29034,13 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIMessageArray"
+ "$ref": "#/components/schemas/Channel"
}
}
}
},
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "404": {
+ "description": "No description available"
}
},
"parameters": [
@@ -17870,10 +29057,9 @@
"tags": [
"channels"
]
- }
- },
- "/channels/{channel_id}/messages/": {
- "get": {
+ },
+ "delete": {
+ "x-permission-required": "MANAGE_CHANNELS",
"security": [
{
"bearer": []
@@ -17885,24 +29071,11 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIMessageArray"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/Channel"
}
}
}
},
- "403": {
- "description": "No description available"
- },
"404": {
"description": "No description available"
}
@@ -17916,44 +29089,14 @@
"type": "string"
},
"description": "channel_id"
- },
- {
- "name": "around",
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "before",
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "after",
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "limit",
- "in": "query",
- "schema": {
- "type": "number"
- },
- "description": "max number of messages to return (1-100). defaults to 50"
}
],
"tags": [
"channels"
]
},
- "post": {
- "x-right-required": "SEND_MESSAGES",
- "x-permission-required": "SEND_MESSAGES",
+ "patch": {
+ "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -17964,7 +29107,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MessageCreateSchema"
+ "$ref": "#/components/schemas/ChannelModifySchema"
}
}
}
@@ -17975,7 +29118,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Message"
+ "$ref": "#/components/schemas/Channel"
}
}
}
@@ -17990,9 +29133,6 @@
}
}
},
- "403": {
- "description": "No description available"
- },
"404": {
"description": "No description available"
}
@@ -18013,8 +29153,9 @@
]
}
},
- "/channels/{channel_id}/messages/bulk-delete/": {
+ "/channels/{channel_id}/greet/": {
"post": {
+ "x-permission-required": "SEND_MESSAGES",
"security": [
{
"bearer": []
@@ -18025,14 +29166,21 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BulkDeleteSchema"
+ "$ref": "#/components/schemas/GreetRequestSchema"
}
}
}
},
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Message"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -18044,9 +29192,6 @@
}
}
},
- "403": {
- "description": "No description available"
- },
"404": {
"description": "No description available"
}
@@ -18067,9 +29212,8 @@
]
}
},
- "/channels/{channel_id}/messages/{message_id}/replies/": {
+ "/channels/{channel_id}/directory-entries/": {
"get": {
- "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -18081,57 +29225,20 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIMessageArray"
+ "$ref": "#/components/schemas/HubDirectoryEntriesResponse"
}
}
}
},
- "403": {
- "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",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
- }
- ],
- "tags": [
- "channels"
- ]
- },
- "delete": {
- "security": [
- {
- "bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
- },
- "403": {
- "description": "No description available"
- },
- "404": {
- "description": "No description available"
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
"parameters": [
@@ -18143,15 +29250,6 @@
"type": "string"
},
"description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
}
],
"tags": [
@@ -18159,17 +29257,33 @@
]
}
},
- "/channels/{channel_id}/messages/{message_id}/reactions/": {
- "delete": {
- "x-permission-required": "MANAGE_MESSAGES",
+ "/channels/{channel_id}/attachments/": {
+ "post": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadAttachmentRequestSchema"
+ }
+ }
+ }
+ },
"responses": {
- "204": {
- "description": "No description available"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadAttachmentResponseSchema"
+ }
+ }
+ }
},
"400": {
"description": "",
@@ -18181,9 +29295,6 @@
}
}
},
- "403": {
- "description": "No description available"
- },
"404": {
"description": "No description available"
}
@@ -18197,15 +29308,6 @@
"type": "string"
},
"description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
}
],
"tags": [
@@ -18213,70 +29315,69 @@
]
}
},
- "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}": {
- "delete": {
- "x-permission-required": "MANAGE_MESSAGES",
+ "/categories/": {
+ "get": {
"security": [
{
"bearer": []
}
],
"responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/unknown"
}
}
}
- },
- "403": {
- "description": "No description available"
- },
- "404": {
- "description": "No description available"
}
},
"parameters": [
{
- "name": "channel_id",
- "in": "path",
- "required": true,
+ "name": "locale",
+ "in": "query",
+ "required": false,
"schema": {
"type": "string"
},
- "description": "channel_id"
+ "description": "Locale code"
},
{
- "name": "message_id",
- "in": "path",
- "required": true,
+ "name": "primary_only",
+ "in": "query",
+ "required": false,
"schema": {
"type": "string"
},
- "description": "message_id"
- },
+ "description": "If 'true', only return category IDs"
+ }
+ ],
+ "tags": [
+ "categories"
+ ]
+ }
+ },
+ "/beaker/": {
+ "post": {
+ "security": [
{
- "name": "emoji",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "emoji"
+ "bearer": []
}
],
+ "responses": {
+ "204": {
+ "description": "No description available"
+ }
+ },
"tags": [
- "channels"
+ "beaker"
]
- },
+ }
+ },
+ "/auth/whoami/": {
"get": {
- "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -18288,7 +29389,42 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PublicUser"
+ "$ref": "#/components/schemas/WhoAmIResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "auth"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
+ ]
+ }
+ },
+ "/auth/verify/view-backup-codes-challenge/": {
+ "post": {
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BackupCodesChallengeSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BackupCodesChallengeResponse"
}
}
}
@@ -18302,57 +29438,16 @@
}
}
}
- },
- "403": {
- "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",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
- },
- {
- "name": "emoji",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "emoji"
- }
- ],
"tags": [
- "channels"
+ "auth"
]
}
},
- "/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": []
- }
- ],
+ "/auth/verify/resend/": {
+ "post": {
+ "x-right-required": "RESEND_VERIFICATION_EMAIL",
"responses": {
"204": {
"description": "No description available"
@@ -18367,220 +29462,159 @@
}
}
},
- "403": {
- "description": "No description available"
- },
- "404": {
- "description": "No description available"
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
- "parameters": [
- {
- "name": "channel_id",
- "in": "path",
- "required": true,
- "schema": {
- "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": [
+ "auth"
+ ]
+ }
+ },
+ "/auth/verify/": {
+ "post": {
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VerifyEmailSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TokenResponse"
+ }
+ }
+ }
},
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
+ }
+ }
+ }
}
- ],
+ },
"tags": [
- "channels"
+ "auth"
]
- },
- "delete": {
+ }
+ },
+ "/auth/sessions/": {
+ "get": {
"security": [
{
"bearer": []
- }
- ],
- "responses": {
- "204": {
- "description": "No description available"
- },
- "400": {
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/GetSessionsResponse"
}
}
}
- },
- "403": {
- "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",
- "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"
+ "auth"
]
}
},
- "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/{burst}/{user_id}": {
- "delete": {
+ "/auth/sessions/logout": {
+ "post": {
"security": [
{
"bearer": []
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SessionsLogoutSchema"
+ }
+ }
+ }
+ },
"responses": {
"204": {
"description": "No description available"
+ }
+ },
+ "tags": [
+ "auth"
+ ]
+ }
+ },
+ "/auth/reset/": {
+ "post": {
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PasswordResetSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TokenOnlyResponse"
+ }
+ }
+ }
},
"400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
}
}
}
- },
- "403": {
- "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",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
- },
- {
- "name": "emoji",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "emoji"
- },
- {
- "name": "burst",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "burst"
- },
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "user_id"
- }
- ],
"tags": [
- "channels"
+ "auth"
]
}
},
- "/channels/{channel_id}/messages/{message_id}/": {
- "patch": {
- "x-right-required": "SEND_MESSAGES",
- "x-permission-required": "SEND_MESSAGES",
- "security": [
- {
- "bearer": []
- }
- ],
+ "/auth/register/": {
+ "post": {
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MessageEditSchema"
+ "$ref": "#/components/schemas/RegisterSchema"
}
}
}
@@ -18591,7 +29625,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Message"
+ "$ref": "#/components/schemas/TokenOnlyResponse"
}
}
}
@@ -18601,56 +29635,25 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
}
}
}
- },
- "403": {
- "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",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
- }
- ],
"tags": [
- "channels"
+ "auth"
]
- },
- "put": {
- "x-right-required": "SEND_BACKDATED_EVENTS",
- "x-permission-required": "SEND_MESSAGES",
- "security": [
- {
- "bearer": []
- }
- ],
+ }
+ },
+ "/auth/mfa/webauthn/": {
+ "post": {
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MessageCreateSchema"
+ "$ref": "#/components/schemas/WebAuthnTotpSchema"
}
}
}
@@ -18661,7 +29664,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Message"
+ "$ref": "#/components/schemas/TokenResponse"
}
}
}
@@ -18675,52 +29678,32 @@
}
}
}
- },
- "403": {
- "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",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
- }
- ],
"tags": [
- "channels"
+ "auth"
]
- },
- "get": {
- "x-permission-required": "VIEW_CHANNEL",
- "security": [
- {
- "bearer": []
+ }
+ },
+ "/auth/mfa/totp/": {
+ "post": {
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TotpSchema"
+ }
+ }
}
- ],
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Message"
+ "$ref": "#/components/schemas/TokenResponse"
}
}
}
@@ -18734,39 +29717,15 @@
}
}
}
- },
- "403": {
- "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",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
- }
- ],
"tags": [
- "channels"
+ "auth"
]
- },
- "delete": {
+ }
+ },
+ "/auth/logout/": {
+ "post": {
"security": [
{
"bearer": []
@@ -18775,49 +29734,74 @@
"responses": {
"204": {
"description": "No description available"
+ }
+ },
+ "tags": [
+ "auth"
+ ]
+ }
+ },
+ "/auth/login/": {
+ "post": {
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/LoginSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/LoginResponse"
+ }
+ }
+ }
},
"400": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
+ "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
}
}
}
- },
- "404": {
- "description": "No description available"
}
},
- "parameters": [
- {
- "name": "channel_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
+ "tags": [
+ "auth"
+ ]
+ }
+ },
+ "/auth/location-metadata/": {
+ "get": {
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/LocationMetadataResponse"
+ }
+ }
+ }
}
- ],
+ },
"tags": [
- "channels"
+ "auth"
]
}
},
- "/channels/{channel_id}/messages/{message_id}/crosspost/": {
- "post": {
- "x-permission-required": "MANAGE_MESSAGES",
+ "/auth/generate-registration-tokens/": {
+ "get": {
+ "x-right-required": "CREATE_REGISTRATION_TOKENS",
"security": [
{
"bearer": []
@@ -18829,7 +29813,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Message"
+ "$ref": "#/components/schemas/GenerateRegistrationTokensResponse"
}
}
}
@@ -18837,83 +29821,86 @@
},
"parameters": [
{
- "name": "channel_id",
- "in": "path",
- "required": true,
+ "name": "count",
+ "in": "query",
"schema": {
- "type": "string"
+ "type": "number"
},
- "description": "channel_id"
+ "description": "The number of registration tokens to generate. Defaults to 1."
},
{
- "name": "message_id",
- "in": "path",
- "required": true,
+ "name": "length",
+ "in": "query",
"schema": {
- "type": "string"
+ "type": "number"
},
- "description": "message_id"
+ "description": "The length of each registration token. Defaults to 255."
}
],
"tags": [
- "channels"
+ "auth"
+ ],
+ "x-badges": [
+ {
+ "label": "Spacebar-only",
+ "color": "red"
+ }
]
}
},
- "/channels/{channel_id}/messages/{message_id}/ack/": {
+ "/auth/forgot/": {
"post": {
- "security": [
- {
- "bearer": []
- }
- ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MessageAcknowledgeSchema"
+ "$ref": "#/components/schemas/ForgotPasswordSchema"
}
}
}
},
"responses": {
- "200": {
+ "204": {
"description": "No description available"
},
- "403": {
- "description": "No description available"
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
+ }
+ }
+ }
}
},
- "parameters": [
- {
- "name": "channel_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "channel_id"
- },
- {
- "name": "message_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "message_id"
+ "tags": [
+ "auth"
+ ]
+ }
+ },
+ "/auth/fingerprint/": {
+ "post": {
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateFingerprintResponse"
+ }
+ }
+ }
}
- ],
+ },
"tags": [
- "channels"
+ "auth"
]
}
},
- "/channels/{channel_id}/invites/": {
+ "/attachments/refresh-urls/": {
"post": {
- "x-right-required": "CREATE_INVITES",
- "x-permission-required": "CREATE_INSTANT_INVITE",
"security": [
{
"bearer": []
@@ -18924,18 +29911,18 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/InviteCreateSchema"
+ "$ref": "#/components/schemas/RefreshUrlsRequestSchema"
}
}
}
},
"responses": {
- "201": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Invite"
+ "$ref": "#/components/schemas/RefreshUrlsResponse"
}
}
}
@@ -18949,67 +29936,72 @@
}
}
}
- },
- "404": {
- "description": "No description available"
}
},
- "parameters": [
+ "tags": [
+ "attachments"
+ ]
+ }
+ },
+ "/applications/": {
+ "get": {
+ "security": [
{
- "name": "channel_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "channel_id"
+ "bearer": []
}
],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIApplicationArray"
+ }
+ }
+ }
+ }
+ },
"tags": [
- "channels"
+ "applications"
]
},
- "get": {
- "x-permission-required": "MANAGE_CHANNELS",
+ "post": {
+ "x-right-required": "CREATE_APPLICATIONS",
"security": [
{
"bearer": []
}
- ],
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ApplicationCreateSchema"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIInviteArray"
+ "$ref": "#/components/schemas/Application"
}
}
}
- },
- "404": {
- "description": "No description available"
}
},
- "parameters": [
- {
- "name": "channel_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "channel_id"
- }
- ],
"tags": [
- "channels"
+ "applications"
]
}
},
- "/channels/{channel_id}/": {
+ "/applications/detectable/": {
"get": {
- "x-permission-required": "VIEW_CHANNEL",
"security": [
{
"bearer": []
@@ -19021,32 +30013,19 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Channel"
+ "$ref": "#/components/schemas/ApplicationDetectableResponse"
}
}
}
- },
- "404": {
- "description": "No description available"
}
},
- "parameters": [
- {
- "name": "channel_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "channel_id"
- }
- ],
"tags": [
- "channels"
+ "applications"
]
- },
- "delete": {
- "x-permission-required": "MANAGE_CHANNELS",
+ }
+ },
+ "/applications/@me/": {
+ "get": {
"security": [
{
"bearer": []
@@ -19058,32 +30037,27 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Channel"
+ "$ref": "#/components/schemas/Application"
}
}
}
},
- "404": {
- "description": "No description available"
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
- "parameters": [
- {
- "name": "channel_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- },
- "description": "channel_id"
- }
- ],
"tags": [
- "channels"
+ "applications"
]
},
"patch": {
- "x-permission-required": "MANAGE_CHANNELS",
"security": [
{
"bearer": []
@@ -19094,7 +30068,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ChannelModifySchema"
+ "$ref": "#/components/schemas/ApplicationModifySchema"
}
}
}
@@ -19105,7 +30079,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Channel"
+ "$ref": "#/components/schemas/Application"
}
}
}
@@ -19119,28 +30093,49 @@
}
}
}
- },
- "404": {
- "description": "No description available"
+ }
+ },
+ "tags": [
+ "applications"
+ ]
+ }
+ },
+ "/applications/{application_id}/skus/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ApplicationSkusResponse"
+ }
+ }
+ }
}
},
"parameters": [
{
- "name": "channel_id",
+ "name": "application_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "channel_id"
+ "description": "application_id"
}
],
"tags": [
- "channels"
+ "applications"
]
}
},
- "/channels/{channel_id}/directory-entries/": {
+ "/applications/{application_id}/": {
"get": {
"security": [
{
@@ -19153,7 +30148,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/HubDirectoryEntriesResponse"
+ "$ref": "#/components/schemas/Application"
}
}
}
@@ -19171,28 +30166,32 @@
},
"parameters": [
{
- "name": "channel_id",
+ "name": "application_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "channel_id"
+ "description": "application_id"
}
],
"tags": [
- "channels"
+ "applications"
]
- }
- },
- "/auth/verify/view-backup-codes-challenge/": {
- "post": {
+ },
+ "patch": {
+ "x-right-required": "MANAGE_APPLICATIONS",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BackupCodesChallengeSchema"
+ "$ref": "#/components/schemas/ApplicationModifySchema"
}
}
}
@@ -19203,7 +30202,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BackupCodesChallengeResponse"
+ "$ref": "#/components/schemas/Application"
}
}
}
@@ -19219,16 +30218,32 @@
}
}
},
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ }
+ ],
"tags": [
- "auth"
+ "applications"
]
}
},
- "/auth/verify/resend/": {
+ "/applications/{application_id}/delete": {
"post": {
- "x-right-required": "RESEND_VERIFICATION_EMAIL",
+ "x-right-required": "MANAGE_APPLICATIONS",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"responses": {
- "204": {
+ "200": {
"description": "No description available"
},
"400": {
@@ -19240,410 +30255,483 @@
}
}
}
- },
- "500": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
}
},
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ }
+ ],
"tags": [
- "auth"
+ "applications"
]
}
},
- "/auth/verify/": {
+ "/applications/{application_id}/guilds/{guild_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"
+ },
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
+ "tags": [
+ "applications"
+ ]
+ },
"post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/VerifyEmailSchema"
+ "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ },
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
"tags": [
- "auth"
+ "applications"
]
- }
- },
- "/auth/reset/": {
- "post": {
+ },
+ "put": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PasswordResetSchema"
+ "$ref": "#/components/schemas/BulkApplicationCommandCreateSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenOnlyResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ },
+ {
+ "name": "guild_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "guild_id"
+ }
+ ],
"tags": [
- "auth"
+ "applications"
]
}
},
- "/auth/register/": {
- "post": {
+ "/applications/{application_id}/guilds/{guild_id}/commands/{command_id}/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "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": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RegisterSchema"
+ "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenOnlyResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "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": [
- "auth"
+ "applications"
]
}
},
- "/auth/mfa/webauthn/": {
- "post": {
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WebAuthnTotpSchema"
- }
- }
+ "/applications/{application_id}/entitlements/": {
+ "get": {
+ "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/ApplicationEntitlementsResponse"
}
}
}
}
},
- "tags": [
- "auth"
- ],
- "x-badges": [
+ "parameters": [
{
- "label": "Spacebar-only",
- "color": "red"
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
}
+ ],
+ "tags": [
+ "applications"
]
}
},
- "/auth/mfa/totp/": {
+ "/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": [
+ "applications"
+ ]
+ },
"post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TotpSchema"
+ "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TokenResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
- "tags": [
- "auth"
- ],
- "x-badges": [
+ "parameters": [
{
- "label": "Spacebar-only",
- "color": "red"
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
}
+ ],
+ "tags": [
+ "applications"
]
- }
- },
- "/auth/logout/": {
- "post": {
+ },
+ "put": {
"security": [
{
"bearer": []
}
],
- "responses": {
- "204": {
- "description": "No description available"
- }
- },
- "tags": [
- "auth"
- ]
- }
- },
- "/auth/login/": {
- "post": {
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/LoginSchema"
+ "$ref": "#/components/schemas/BulkApplicationCommandCreateSchema"
}
}
}
},
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/LoginResponse"
- }
- }
- }
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
- "tags": [
- "auth"
- ]
- }
- },
- "/auth/location-metadata/": {
- "get": {
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/LocationMetadataResponse"
- }
- }
- }
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
}
- },
+ ],
"tags": [
- "auth"
+ "applications"
]
}
},
- "/auth/generate-registration-tokens/": {
+ "/applications/{application_id}/commands/{command_id}/": {
"get": {
- "x-right-required": "CREATE_REGISTRATION_TOKENS",
"security": [
{
"bearer": []
}
],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenerateRegistrationTokensResponse"
- }
- }
- }
+ "default": {
+ "description": "No description available"
}
},
"parameters": [
{
- "name": "count",
- "in": "query",
+ "name": "application_id",
+ "in": "path",
+ "required": true,
"schema": {
- "type": "number"
+ "type": "string"
},
- "description": "The number of registration tokens to generate. Defaults to 1."
+ "description": "application_id"
},
{
- "name": "length",
- "in": "query",
+ "name": "command_id",
+ "in": "path",
+ "required": true,
"schema": {
- "type": "number"
+ "type": "string"
},
- "description": "The length of each registration token. Defaults to 255."
+ "description": "command_id"
}
],
"tags": [
- "auth"
- ],
- "x-badges": [
+ "applications"
+ ]
+ },
+ "patch": {
+ "security": [
{
- "label": "Spacebar-only",
- "color": "red"
+ "bearer": []
}
- ]
- }
- },
- "/auth/forgot/": {
- "post": {
+ ],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ForgotPasswordSchema"
+ "$ref": "#/components/schemas/ApplicationCommandCreateSchema"
}
}
}
},
"responses": {
- "204": {
+ "default": {
"description": "No description available"
- },
- "400": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIErrorOrCaptchaResponse"
- }
- }
- }
}
},
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ },
+ {
+ "name": "command_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "command_id"
+ }
+ ],
"tags": [
- "auth"
+ "applications"
]
}
},
- "/attachments/refresh-urls/": {
+ "/applications/{application_id}/bot/": {
"post": {
+ "x-right-required": "MANAGE_APPLICATIONS",
"security": [
{
"bearer": []
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RefreshUrlsRequestSchema"
- }
- }
- }
- },
"responses": {
- "200": {
+ "204": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RefreshUrlsResponse"
+ "$ref": "#/components/schemas/TokenOnlyResponse"
}
}
}
@@ -19659,35 +30747,23 @@
}
}
},
- "tags": [
- "attachments"
- ]
- }
- },
- "/applications/": {
- "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/APIApplicationArray"
- }
- }
- }
- }
- },
"tags": [
"applications"
]
},
- "post": {
+ "patch": {
+ "x-right-required": "MANAGE_APPLICATIONS",
"security": [
{
"bearer": []
@@ -19698,7 +30774,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ApplicationCreateSchema"
+ "$ref": "#/components/schemas/BotModifySchema"
}
}
}
@@ -19713,15 +30789,37 @@
}
}
}
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
}
},
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ }
+ ],
"tags": [
"applications"
]
}
},
- "/applications/detectable/": {
- "get": {
+ "/applications/{application_id}/bot/reset": {
+ "post": {
+ "x-right-required": "MANAGE_APPLICATIONS",
"security": [
{
"bearer": []
@@ -19733,12 +30831,33 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ApplicationDetectableResponse"
+ "$ref": "#/components/schemas/TokenResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
+ "parameters": [
+ {
+ "name": "application_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "application_id"
+ }
+ ],
"tags": [
"applications"
]
@@ -20093,8 +31212,26 @@
]
}
},
+ "/-/version/": {
+ "get": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "No description available"
+ }
+ },
+ "tags": [
+ "-"
+ ]
+ }
+ },
"/-/readyz/": {
"get": {
+ "deprecated": true,
"responses": {
"default": {
"description": "No description available"
@@ -20113,6 +31250,7 @@
},
"/-/healthz/": {
"get": {
+ "deprecated": true,
"responses": {
"default": {
"description": "No description available"
diff --git a/assets/schemas.json b/assets/schemas.json
index 2f9793cbe..f08697179 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -1,8325 +1,5849 @@
{
- "ApplicationCommandCreateSchema": {
+ "CreateFingerprintResponse": {
+ "type": "object",
+ "properties": {
+ "fingerprint": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "fingerprint"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationCommandSchema": {
"type": "object",
"properties": {
- "type": {},
+ "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": {
- "$ref": "#/definitions/Record"
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "name_localized": {
+ "type": [
+ "null",
+ "string"
+ ]
},
"description": {
"type": "string"
},
"description_localizations": {
- "$ref": "#/definitions/Record"
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "description_localized": {
+ "type": [
+ "null",
+ "string"
+ ]
},
"options": {
"type": "array",
- "items": {}
+ "items": {
+ "$ref": "#/definitions/ApplicationCommandOption"
+ }
},
"default_member_permissions": {
- "type": "string"
+ "type": [
+ "null",
+ "string"
+ ]
},
"dm_permission": {
"type": "boolean"
},
+ "permissions": {
+ "$ref": "#/definitions/ApplicationCommandIndexPermissions"
+ },
"nsfw": {
"type": "boolean"
},
"integration_types": {
"type": "array",
- "items": {}
+ "items": {
+ "$ref": "#/definitions/ApplicationIntegrationType"
+ }
+ },
+ "global_popularity_rank": {
+ "type": "integer"
},
"contexts": {
"type": "array",
- "items": {}
+ "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": {}
+ "handler": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ }
},
"additionalProperties": false,
"required": [
- "name"
+ "application_id",
+ "default_member_permissions",
+ "description",
+ "name",
+ "version"
],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ConnectedAccountCommonOAuthTokenResponse": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "scope",
+ "token_type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SupabaseResponse": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "integer"
},
- "ApplicationCommandCreateSchema": {
+ "error": {
"type": "object",
"properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
+ "message": {
"type": "string"
},
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
+ "code": {
"type": "string"
},
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
+ "details": {}
},
"additionalProperties": false,
"required": [
- "name"
+ "message"
]
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "JsonRpcResponse": {
+ "description": "JSON-RPC 2.0 response object",
+ "type": "object",
+ "properties": {
+ "jsonrpc": {
+ "type": "string",
+ "const": "2.0"
},
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
+ "id": {
+ "type": [
+ "null",
+ "string",
+ "integer"
+ ]
},
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "result": {},
+ "error": {
+ "description": "JSON-RPC 2.0 error object",
+ "$ref": "#/definitions/JsonRpcError"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "jsonrpc"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "OpenAiResponse": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/OpenAiChatCompletionObject"
},
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
+ {
+ "$ref": "#/definitions/OpenAIResponseObject"
},
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ {
+ "$ref": "#/definitions/OpenAICreateEmbeddingsObject"
},
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ {
+ "$ref": "#/definitions/OpenAIConversationObject"
+ }
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SuccessfulResponse": {
+ "type": "object",
+ "additionalProperties": {},
+ "properties": {
+ "id": {
+ "type": "string"
},
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
+ "model": {
+ "type": "string"
+ },
+ "created": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "enum": [
+ "assistant",
+ "user"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {}
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "content",
+ "role"
+ ]
+ }
+ },
+ "content": {
+ "anyOf": [
+ {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "name": {
+ "description": "Tool name when type is tool_use",
+ "type": "string"
+ },
+ "id": {
+ "description": "Tool invocation id when type is tool_use",
+ "type": "string"
+ },
+ "input": {
+ "$ref": "#/definitions/Record"
+ },
+ "tool_use_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "type"
+ ]
}
},
- "locale": {
+ {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
]
},
- "InteractionData": {
+ "completion": {
+ "type": "string"
+ },
+ "input_tokens": {
+ "type": "integer"
+ },
+ "usage": {
"type": "object",
"properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
+ "input_tokens": {
+ "type": "integer"
},
- "type": {
+ "output_tokens": {
"type": "integer"
},
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
+ "cache_creation_input_tokens": {
"type": "integer"
},
- "activity_score": {
+ "cache_read_input_tokens": {
"type": "integer"
}
},
"additionalProperties": false,
"required": [
- "activity_level",
- "activity_score"
+ "cache_creation_input_tokens",
+ "cache_read_input_tokens",
+ "input_tokens",
+ "output_tokens"
]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
+ }
+ },
+ "required": [
+ "id",
+ "model"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AnthropicAiResponse": {
+ "anyOf": [
+ {
"type": "object",
"properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
+ "type": {
+ "type": "string",
+ "const": "error"
},
- "emoji_name": {
- "type": [
- "null",
- "string"
+ "error": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message",
+ "type"
]
},
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
+ "request_id": {
"type": "string"
- },
- "position": {
- "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
+ "error",
+ "request_id",
+ "type"
]
},
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
+ {
"type": "object",
+ "additionalProperties": {},
"properties": {
- "emoji_id": {
+ "id": {
"type": "string"
},
- "emoji_name": {
+ "model": {
"type": "string"
},
- "expires_at": {
+ "created": {
"type": "integer"
},
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
+ "created_at": {
"type": "integer"
},
- "guild_ids": {
+ "messages": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "properties": {
+ "role": {
+ "enum": [
+ "assistant",
+ "user"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {}
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "content",
+ "role"
+ ]
}
},
- "id": {
- "type": "integer"
+ "content": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "name": {
+ "description": "Tool name when type is tool_use",
+ "type": "string"
+ },
+ "id": {
+ "description": "Tool invocation id when type is tool_use",
+ "type": "string"
+ },
+ "input": {
+ "$ref": "#/definitions/Record"
+ },
+ "tool_use_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "type"
+ ]
+ }
+ },
+ {
+ "type": "string"
+ }
+ ]
},
- "name": {
+ "completion": {
"type": "string"
+ },
+ "input_tokens": {
+ "type": "integer"
+ },
+ "usage": {
+ "type": "object",
+ "properties": {
+ "input_tokens": {
+ "type": "integer"
+ },
+ "output_tokens": {
+ "type": "integer"
+ },
+ "cache_creation_input_tokens": {
+ "type": "integer"
+ },
+ "cache_read_input_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "cache_creation_input_tokens",
+ "cache_read_input_tokens",
+ "input_tokens",
+ "output_tokens"
+ ]
}
},
- "additionalProperties": false,
"required": [
- "color",
- "guild_ids",
"id",
- "name"
+ "model"
]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
+ }
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GenerateContentResponse": {
+ "description": "Google GenAI Generate Content Response",
+ "type": "object",
+ "additionalProperties": {},
+ "properties": {
+ "candidates": {
+ "description": "Response variations returned by the model.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Candidate",
+ "type": "object",
+ "additionalProperties": {},
+ "properties": {
+ "content": {
+ "description": "Contains the multi-part content of the response.",
"type": "object",
"properties": {
- "_errors": {
+ "parts": {
+ "description": "List of parts that constitute a single message.\nEach part may have a different IANA MIME type.",
"type": "array",
"items": {
+ "description": "Google GenAI Content Part",
"type": "object",
"properties": {
- "message": {
+ "videoMetadata": {
+ "description": "Metadata for a given video."
+ },
+ "thought": {
+ "description": "Indicates if the part is thought from the model.",
+ "type": "boolean"
+ },
+ "inlineData": {
+ "description": "Optional. Inlined bytes data.",
+ "$ref": "#/definitions/Blob"
+ },
+ "fileData": {
+ "description": "Optional. URI based data."
+ },
+ "thoughtSignature": {
+ "description": "An opaque signature for the thought so it can be reused in subsequent requests.",
"type": "string"
},
- "code": {
+ "functionCall": {
+ "description": "A predicted [FunctionCall] returned from the model that contains a string\n representing the [FunctionDeclaration.name] and a structured JSON object\n containing the parameters and their values.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique id of the function call. If populated, the client to execute the\n`function_call` and return the response with the matching `id`.",
+ "type": "string"
+ },
+ "args": {
+ "description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
+ "$ref": "#/definitions/Record"
+ },
+ "name": {
+ "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name].",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "codeExecutionResult": {
+ "description": "Optional. Result of executing the [ExecutableCode]."
+ },
+ "executableCode": {
+ "description": "Optional. Code generated by the model that is meant to be executed."
+ },
+ "functionResponse": {
+ "description": "Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model."
+ },
+ "text": {
+ "description": "Optional. Text part (can be code).",
"type": "string"
}
},
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
+ "additionalProperties": false
}
+ },
+ "role": {
+ "description": "Optional. The producer of the content. Must be either 'user' or\n'model'. Useful to set for multi-turn conversations, otherwise can be\nempty. If role is not specified, SDK will determine the role.",
+ "type": "string"
}
},
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
+ "additionalProperties": false
+ },
+ "finishReason": {
+ "description": "The reason why the model stopped generating tokens.\nIf empty, the model has not stopped generating the tokens.",
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens for this candidate.",
+ "type": "integer"
+ },
+ "index": {
+ "description": "The index of the candidate.",
+ "type": "integer"
}
}
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
+ }
},
- "Classification": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "classification_type": {
- "$ref": "#/definitions/ClassificationType"
- },
- "description": {
- "type": "string"
- },
- "explainer_link": {
- "type": "string"
- },
- "actions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ClassificationAction"
+ "automaticFunctionCallingHistory": {
+ "description": "Timestamp when the request is made to the server.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content",
+ "type": "object",
+ "properties": {
+ "parts": {
+ "description": "List of parts that constitute a single message.\nEach part may have a different IANA MIME type.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content Part",
+ "type": "object",
+ "properties": {
+ "videoMetadata": {
+ "description": "Metadata for a given video."
+ },
+ "thought": {
+ "description": "Indicates if the part is thought from the model.",
+ "type": "boolean"
+ },
+ "inlineData": {
+ "description": "Optional. Inlined bytes data.",
+ "$ref": "#/definitions/Blob"
+ },
+ "fileData": {
+ "description": "Optional. URI based data."
+ },
+ "thoughtSignature": {
+ "description": "An opaque signature for the thought so it can be reused in subsequent requests.",
+ "type": "string"
+ },
+ "functionCall": {
+ "description": "A predicted [FunctionCall] returned from the model that contains a string\n representing the [FunctionDeclaration.name] and a structured JSON object\n containing the parameters and their values.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique id of the function call. If populated, the client to execute the\n`function_call` and return the response with the matching `id`.",
+ "type": "string"
+ },
+ "args": {
+ "description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
+ "$ref": "#/definitions/Record"
+ },
+ "name": {
+ "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name].",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "codeExecutionResult": {
+ "description": "Optional. Result of executing the [ExecutableCode]."
+ },
+ "executableCode": {
+ "description": "Optional. Code generated by the model that is meant to be executed."
+ },
+ "functionResponse": {
+ "description": "Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model."
+ },
+ "text": {
+ "description": "Optional. Text part (can be code).",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "role": {
+ "description": "Optional. The producer of the content. Must be either 'user' or\n'model'. Useful to set for multi-turn conversations, otherwise can be\nempty. If role is not specified, SDK will determine the role.",
+ "type": "string"
}
},
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "additionalProperties": false
+ }
},
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
+ "modelVersion": {
+ "description": "Output only. The model version used to generate the response.",
+ "type": "string"
+ },
+ "promptFeedback": {
+ "description": "Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.",
+ "$ref": "#/definitions/Record"
+ },
+ "responseId": {
+ "description": "Output only. response_id is used to identify each response. It is the encoding of the event_id.",
+ "type": "string"
},
- "ClassificationAction": {
+ "usageMetadata": {
+ "description": "Usage metadata about the response(s).",
"type": "object",
+ "additionalProperties": {},
"properties": {
- "id": {
- "type": "string"
- },
- "action_type": {
- "$ref": "#/definitions/ClassificationActionType"
- },
- "descriptions": {
+ "cacheTokensDetails": {
+ "description": "Output only. List of modalities of the cached content in the request input.",
"type": "array",
"items": {
- "type": "string"
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
}
- }
- },
- "additionalProperties": false,
- "required": [
- "action_type",
- "descriptions",
- "id"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "GuildClassification": {
- "type": "object",
- "properties": {
- "guild_metadata": {
- "$ref": "#/definitions/GuildMetadata"
- },
- "id": {
- "type": "string"
},
- "classification_type": {
- "$ref": "#/definitions/ClassificationType"
- },
- "description": {
- "type": "string"
+ "cachedContentTokenCount": {
+ "description": "Output only. Number of tokens in the cached part in the input (the cached content).",
+ "type": "integer"
},
- "explainer_link": {
- "type": "string"
+ "candidatesTokenCount": {
+ "description": "Number of tokens in the response(s).",
+ "type": "integer"
},
- "actions": {
+ "candidatesTokensDetails": {
+ "description": "Output only. List of modalities that were returned in the response.",
"type": "array",
"items": {
- "$ref": "#/definitions/ClassificationAction"
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
}
},
- "max_expiration_time": {
- "type": "string"
+ "promptTokenCount": {
+ "description": "Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.",
+ "type": "integer"
},
- "flagged_content": {
+ "promptTokensDetails": {
+ "description": "Output only. List of modalities that were processed in the request input.",
"type": "array",
- "items": {}
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
},
- "appeal_status": {
- "$ref": "#/definitions/AppealStatus"
+ "thoughtsTokenCount": {
+ "description": "Output only. Number of tokens present in thoughts output.",
+ "type": "integer"
},
- "is_coppa": {
- "type": "boolean"
+ "toolUsePromptTokenCount": {
+ "description": "Output only. Number of tokens present in tool-use prompt(s).",
+ "type": "integer"
},
- "is_spam": {
- "type": "boolean"
+ "toolUsePromptTokensDetails": {
+ "description": "Output only. List of modalities that were processed for tool-use request inputs.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ }
},
- "appeal_ingestion_type": {
- "$ref": "#/definitions/AppealIngestionType"
+ "totalTokenCount": {
+ "description": "Total token count for prompt, response candidates, and tool-use prompts (if present).",
+ "type": "integer"
}
- },
- "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#"
+ },
+ "GoogleGenAIResponse": {
+ "description": "Google GenAI Generate Content Response",
+ "type": "object",
+ "additionalProperties": {},
+ "properties": {
+ "candidates": {
+ "description": "Response variations returned by the model.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Candidate",
+ "type": "object",
+ "additionalProperties": {},
+ "properties": {
+ "content": {
+ "description": "Contains the multi-part content of the response.",
+ "type": "object",
+ "properties": {
+ "parts": {
+ "description": "List of parts that constitute a single message.\nEach part may have a different IANA MIME type.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content Part",
+ "type": "object",
+ "properties": {
+ "videoMetadata": {
+ "description": "Metadata for a given video."
+ },
+ "thought": {
+ "description": "Indicates if the part is thought from the model.",
+ "type": "boolean"
+ },
+ "inlineData": {
+ "description": "Optional. Inlined bytes data.",
+ "$ref": "#/definitions/Blob"
+ },
+ "fileData": {
+ "description": "Optional. URI based data."
+ },
+ "thoughtSignature": {
+ "description": "An opaque signature for the thought so it can be reused in subsequent requests.",
+ "type": "string"
+ },
+ "functionCall": {
+ "description": "A predicted [FunctionCall] returned from the model that contains a string\n representing the [FunctionDeclaration.name] and a structured JSON object\n containing the parameters and their values.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique id of the function call. If populated, the client to execute the\n`function_call` and return the response with the matching `id`.",
+ "type": "string"
+ },
+ "args": {
+ "description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
+ "$ref": "#/definitions/Record"
+ },
+ "name": {
+ "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name].",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "codeExecutionResult": {
+ "description": "Optional. Result of executing the [ExecutableCode]."
+ },
+ "executableCode": {
+ "description": "Optional. Code generated by the model that is meant to be executed."
+ },
+ "functionResponse": {
+ "description": "Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model."
+ },
+ "text": {
+ "description": "Optional. Text part (can be code).",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "role": {
+ "description": "Optional. The producer of the content. Must be either 'user' or\n'model'. Useful to set for multi-turn conversations, otherwise can be\nempty. If role is not specified, SDK will determine the role.",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "finishReason": {
+ "description": "The reason why the model stopped generating tokens.\nIf empty, the model has not stopped generating the tokens.",
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens for this candidate.",
+ "type": "integer"
+ },
+ "index": {
+ "description": "The index of the candidate.",
+ "type": "integer"
+ }
+ }
+ }
},
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "automaticFunctionCallingHistory": {
+ "description": "Timestamp when the request is made to the server.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content",
+ "type": "object",
+ "properties": {
+ "parts": {
+ "description": "List of parts that constitute a single message.\nEach part may have a different IANA MIME type.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Content Part",
+ "type": "object",
+ "properties": {
+ "videoMetadata": {
+ "description": "Metadata for a given video."
+ },
+ "thought": {
+ "description": "Indicates if the part is thought from the model.",
+ "type": "boolean"
+ },
+ "inlineData": {
+ "description": "Optional. Inlined bytes data.",
+ "$ref": "#/definitions/Blob"
+ },
+ "fileData": {
+ "description": "Optional. URI based data."
+ },
+ "thoughtSignature": {
+ "description": "An opaque signature for the thought so it can be reused in subsequent requests.",
+ "type": "string"
+ },
+ "functionCall": {
+ "description": "A predicted [FunctionCall] returned from the model that contains a string\n representing the [FunctionDeclaration.name] and a structured JSON object\n containing the parameters and their values.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique id of the function call. If populated, the client to execute the\n`function_call` and return the response with the matching `id`.",
+ "type": "string"
+ },
+ "args": {
+ "description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
+ "$ref": "#/definitions/Record"
+ },
+ "name": {
+ "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name].",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "codeExecutionResult": {
+ "description": "Optional. Result of executing the [ExecutableCode]."
+ },
+ "executableCode": {
+ "description": "Optional. Code generated by the model that is meant to be executed."
+ },
+ "functionResponse": {
+ "description": "Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model."
+ },
+ "text": {
+ "description": "Optional. Text part (can be code).",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "role": {
+ "description": "Optional. The producer of the content. Must be either 'user' or\n'model'. Useful to set for multi-turn conversations, otherwise can be\nempty. If role is not specified, SDK will determine the role.",
+ "type": "string"
+ }
},
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
+ "additionalProperties": false
+ }
},
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
+ "modelVersion": {
+ "description": "Output only. The model version used to generate the response.",
+ "type": "string"
},
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
+ "promptFeedback": {
+ "description": "Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.",
+ "$ref": "#/definitions/Record"
},
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "responseId": {
+ "description": "Output only. response_id is used to identify each response. It is the encoding of the event_id.",
+ "type": "string"
},
- "CollectiblesCategoryItem": {
+ "usageMetadata": {
+ "description": "Usage metadata about the response(s).",
"type": "object",
+ "additionalProperties": {},
"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"
- },
- "logo": {
- "type": "string"
- },
- "hero_ranking": {
- "anyOf": [
- {
- "type": "array",
- "items": {
+ "cacheTokensDetails": {
+ "description": "Output only. List of modalities of the cached content in the request input.",
+ "type": "array",
+ "items": {
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
"type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
}
},
- {
- "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"
+ "additionalProperties": false
}
},
- "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"
- ]
- },
- "CollectiblesCategoryStyle": {
- "type": "object",
- "properties": {
- "background_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
+ "cachedContentTokenCount": {
+ "description": "Output only. Number of tokens in the cached part in the input (the cached content).",
+ "type": "integer"
},
- "button_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
+ "candidatesTokenCount": {
+ "description": "Number of tokens in the response(s).",
+ "type": "integer"
},
- "confetti_colors": {
+ "candidatesTokensDetails": {
+ "description": "Output only. List of modalities that were returned in the response.",
"type": "array",
"items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false,
- "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": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
- },
- "prices": {
- "type": "object",
- "additionalProperties": {
+ "description": "Google GenAI Modality Token Count",
"type": "object",
"properties": {
- "country_prices": {
- "$ref": "#/definitions/CountryPrice"
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
}
},
- "additionalProperties": false,
- "required": [
- "country_prices"
- ]
+ "additionalProperties": false
}
},
- "items": {
+ "promptTokenCount": {
+ "description": "Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.",
+ "type": "integer"
+ },
+ "promptTokensDetails": {
+ "description": "Output only. List of modalities that were processed in the request input.",
"type": "array",
"items": {
- "$ref": "#/definitions/ProductItem"
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
}
},
- "type": {
+ "thoughtsTokenCount": {
+ "description": "Output only. Number of tokens present in thoughts output.",
"type": "integer"
},
- "premium_type": {
+ "toolUsePromptTokenCount": {
+ "description": "Output only. Number of tokens present in tool-use prompt(s).",
"type": "integer"
},
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
+ "toolUsePromptTokensDetails": {
+ "description": "Output only. List of modalities that were processed for tool-use request inputs.",
"type": "array",
"items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
+ "description": "Google GenAI Modality Token Count",
+ "type": "object",
+ "properties": {
+ "modality": {
+ "description": "The modality associated with this token count.",
+ "enum": [
+ "AUDIO",
+ "DOCUMENT",
+ "IMAGE",
+ "MODALITY_UNSPECIFIED",
+ "TEXT",
+ "VIDEO"
+ ],
+ "type": "string"
+ },
+ "tokenCount": {
+ "description": "Number of tokens.",
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
}
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
},
- "exponent": {
+ "totalTokenCount": {
+ "description": "Total token count for prompt, response candidates, and tool-use prompts (if present).",
"type": "integer"
}
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "ProductItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "asset": {
- "type": "string"
+ }
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UndiciResponse": {
+ "type": "object",
+ "properties": {
+ "headers": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[0-9]+$": {
+ "type": "integer"
+ }
},
- "label": {
- "type": "string"
+ "properties": {
+ "BYTES_PER_ELEMENT": {
+ "type": "integer"
+ },
+ "buffer": {
+ "$ref": "#/definitions/ArrayBufferLike"
+ },
+ "byteLength": {
+ "type": "integer"
+ },
+ "byteOffset": {
+ "type": "integer"
+ },
+ "length": {
+ "type": "integer"
+ },
+ "__@toStringTag@1293": {
+ "type": "string",
+ "const": "Uint8Array"
+ }
},
- "palette": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "sku_id",
- "type"
- ]
+ "required": [
+ "BYTES_PER_ELEMENT",
+ "__@toStringTag@1293",
+ "buffer",
+ "byteLength",
+ "byteOffset",
+ "length"
+ ]
+ }
},
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
+ "statusCode": {
+ "type": "integer"
},
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
+ "statusText": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "headers",
+ "statusCode",
+ "statusText"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CopyResponse": {
+ "type": "object",
+ "properties": {
+ "length": {
+ "type": "integer"
},
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
+ "name": {
+ "$ref": "#/definitions/MessageName"
},
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
+ "binary": {
+ "type": "boolean"
},
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
+ "columnTypes": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "binary",
+ "columnTypes",
+ "length",
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RouteResponse": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "integer"
},
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
+ "body": {
+ "type": "string",
+ "pattern": "^.*Response$"
},
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
+ "headers": {
+ "$ref": "#/definitions/Record"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "FieldErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
},
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
+ "message": {
+ "type": "string"
},
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
+ "errors": {
+ "$ref": "#/definitions/ErrorList"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InteractionSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/InteractionType"
},
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
+ "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"
},
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
+ "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"
},
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
+ "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"
},
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
+ "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"
},
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
+ "message_flags": {
+ "type": "integer"
},
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
+ "session_id": {
+ "type": "string"
},
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
+ "data": {
+ "$ref": "#/definitions/InteractionData"
},
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
+ "files": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
},
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
+ "nonce": {
+ "type": "string"
},
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
+ "analytics_location": {
+ "type": "string"
},
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
+ "section_name": {
+ "type": "string"
},
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
+ "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"
},
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
+ "data": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "data",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InteractionCreateSchema": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "integer"
},
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
+ "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"
},
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
+ "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"
},
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
+ "type": {
+ "$ref": "#/definitions/InteractionType"
},
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
+ "token": {
+ "type": "string"
},
- "MessageInteractionSchema": {
+ "data": {
"type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
+ "properties": {},
+ "additionalProperties": true
},
- "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"
- ]
+ "guild": {
+ "$ref": "#/definitions/InteractionGuild"
},
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
+ "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"
+ }
},
- "CreateWebAuthnCredentialSchema": {
+ "authorizing_integration_owners": {
"type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[0-9]+$": {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
+ }
+ },
+ "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#"
},
- "BulkApplicationCommandCreateSchema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApplicationCommandCreateSchema"
+ "ApplicationCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_id": {
+ "type": "string"
+ }
},
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationModifySchema": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
},
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
+ "icon": {
+ "type": "string"
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "max_participants": {
+ "type": [
+ "null",
+ "integer"
]
},
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
+ "name": {
+ "type": "string"
},
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "privacy_policy_url": {
+ "type": "string"
},
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
+ "role_connections_verification_url": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "bot_public": {
+ "type": "boolean"
+ },
+ "bot_require_code_grant": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "custom_install_url": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SendableApplicationCommandDataSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "$ref": "#/definitions/Snowflake"
},
- "InteractionContextType": {
+ "type": {
"enum": [
- 0,
1,
- 2
+ 2,
+ 3,
+ 4
],
"type": "number"
},
- "InteractionCallbackType": {
+ "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,
- 10,
- 11,
- 12,
2,
3,
4,
5,
6,
7,
- 8,
- 9
+ 8
],
"type": "number"
},
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
+ "type": {
"enum": [
- 0,
1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
+ 4
],
"type": "number"
},
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
+ "custom_id": {
+ "type": "string"
},
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
+ "values": {
+ "anyOf": [
+ {
"type": "array",
"items": {
"type": "string"
}
},
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Snowflake"
+ }
}
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SendableModalSubmitDataSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "$ref": "#/definitions/Snowflake"
},
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
+ "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": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon_hash": {
+ "type": [
+ "null",
+ "string"
]
},
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
+ "member_count": {
+ "type": "integer"
+ },
+ "online_count": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "brand_color_primary": {
+ "type": "string"
+ },
+ "banner_hash": {
+ "type": [
+ "null",
+ "string"
]
},
- "Classification": {
+ "game_application_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "game_activity": {
"type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
+ "additionalProperties": {
+ "$ref": "#/definitions/GameActivity"
+ }
+ },
+ "tag": {
+ "type": [
+ "null",
+ "string"
]
},
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
+ "badge": {
+ "$ref": "#/definitions/GuildBadgeType"
},
- "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"
+ "badge_color_primary": {
+ "type": "string"
+ },
+ "badge_color_secondary": {
+ "type": "string"
+ },
+ "badge_hash": {
+ "type": "string"
+ },
+ "traits": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildTrait"
+ }
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "visibility": {
+ "$ref": "#/definitions/GuildVisibilityLevel"
+ },
+ "custom_banner_hash": {
+ "type": [
+ "null",
+ "string"
]
},
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "premium_subscription_count": {
+ "type": "integer"
},
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
+ "premium_tier": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "badge",
+ "badge_color_primary",
+ "badge_color_secondary",
+ "badge_hash",
+ "banner_hash",
+ "brand_color_primary",
+ "custom_banner_hash",
+ "description",
+ "features",
+ "game_activity",
+ "game_application_ids",
+ "icon_hash",
+ "id",
+ "member_count",
+ "name",
+ "online_count",
+ "premium_subscription_count",
+ "premium_tier",
+ "tag",
+ "traits",
+ "visibility"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildAvailableSchema": {
+ "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"
+ },
+ "available": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "available",
+ "id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InstanceUserDeleteSchema": {
+ "$ref": "#/definitions/InstanceUserDeleteSchemaContent",
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserSettingsUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean"
+ },
+ "animate_emoji": {
+ "type": "boolean"
+ },
+ "animate_stickers": {
+ "type": "integer"
+ },
+ "contact_sync_enabled": {
+ "type": "boolean"
+ },
+ "convert_emoticons": {
+ "type": "boolean"
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "status"
]
},
- "AppealStatusValue": {
+ "default_guilds_restricted": {
+ "type": "boolean"
+ },
+ "detect_platform_accounts": {
+ "type": "boolean"
+ },
+ "developer_mode": {
+ "type": "boolean"
+ },
+ "disable_games_tab": {
+ "type": "boolean"
+ },
+ "enable_tts_command": {
+ "type": "boolean"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "friend_discovery_flags": {
+ "type": "integer"
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean"
+ },
+ "gif_auto_play": {
+ "type": "boolean"
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ }
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "inline_attachment_media": {
+ "type": "boolean"
+ },
+ "inline_embed_media": {
+ "type": "boolean"
+ },
+ "locale": {
+ "type": "string"
+ },
+ "message_display_compact": {
+ "type": "boolean"
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean"
+ },
+ "render_embeds": {
+ "type": "boolean"
+ },
+ "render_reactions": {
+ "type": "boolean"
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "show_current_game": {
+ "type": "boolean"
+ },
+ "status": {
"enum": [
- 1,
- 2,
- 3
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
],
- "type": "number"
+ "type": "string"
},
- "AppealIngestionType": {
+ "stream_notifications_enabled": {
+ "type": "boolean"
+ },
+ "theme": {
"enum": [
- 0,
- 1,
- 2
+ "dark",
+ "light"
],
- "type": "number"
+ "type": "string"
},
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "timezone_offset": {
+ "type": "integer"
},
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "view_nsfw_guilds": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserSettingsSchema": {
+ "type": "object",
+ "properties": {
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean"
+ },
+ "animate_emoji": {
+ "type": "boolean"
+ },
+ "animate_stickers": {
+ "type": "integer"
+ },
+ "contact_sync_enabled": {
+ "type": "boolean"
+ },
+ "convert_emoticons": {
+ "type": "boolean"
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
},
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
]
},
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
+ "default_guilds_restricted": {
+ "type": "boolean"
+ },
+ "detect_platform_accounts": {
+ "type": "boolean"
+ },
+ "developer_mode": {
+ "type": "boolean"
+ },
+ "disable_games_tab": {
+ "type": "boolean"
+ },
+ "enable_tts_command": {
+ "type": "boolean"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "friend_discovery_flags": {
+ "type": "integer"
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean"
+ },
+ "gif_auto_play": {
+ "type": "boolean"
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ }
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "inline_attachment_media": {
+ "type": "boolean"
},
- "AccountStandingState": {
+ "inline_embed_media": {
+ "type": "boolean"
+ },
+ "locale": {
+ "type": "string"
+ },
+ "message_display_compact": {
+ "type": "boolean"
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean"
+ },
+ "render_embeds": {
+ "type": "boolean"
+ },
+ "render_reactions": {
+ "type": "boolean"
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "show_current_game": {
+ "type": "boolean"
+ },
+ "status": {
"enum": [
- 100,
- 200,
- 300,
- 400,
- 500
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
],
- "type": "number"
+ "type": "string"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean"
},
- "AppealEligibility": {
+ "theme": {
"enum": [
- 1,
- 2,
- 3
+ "dark",
+ "light"
],
- "type": "number"
+ "type": "string"
+ },
+ "timezone_offset": {
+ "type": "integer"
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "IdentifySchema": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
},
- "CollectiblesCategoryItem": {
+ "properties": {
"type": "object",
"properties": {
- "sku_id": {
+ "os": {
"type": "string"
},
- "name": {
+ "os_atch": {
"type": "string"
},
- "summary": {
+ "browser": {
"type": "string"
},
- "store_listing_id": {
+ "device": {
"type": "string"
},
- "banner": {
+ "$os": {
"type": "string"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
- },
- "logo": {
+ "$browser": {
"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"
- ]
- },
- "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"
- ]
- },
- "CollectiblesCategoryProductItem": {
- "type": "object",
- "properties": {
- "sku_id": {
+ "$device": {
"type": "string"
},
- "name": {
+ "browser_user_agent": {
"type": "string"
},
- "summary": {
+ "browser_version": {
"type": "string"
},
- "store_listing_id": {
+ "os_version": {
"type": "string"
},
- "banner": {
+ "referrer": {
"type": "string"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
+ "referring_domain": {
+ "type": "string"
},
- "prices": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "country_prices": {
- "$ref": "#/definitions/CountryPrice"
- }
- },
- "additionalProperties": false,
- "required": [
- "country_prices"
- ]
- }
+ "referrer_current": {
+ "type": "string"
},
- "items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItem"
- }
+ "referring_domain_current": {
+ "type": "string"
},
- "type": {
- "type": "integer"
+ "release_channel": {
+ "enum": [
+ "canary",
+ "dev",
+ "ptb",
+ "stable"
+ ],
+ "type": "string"
},
- "premium_type": {
+ "client_build_number": {
"type": "integer"
},
- "category_sku_id": {
+ "client_event_source": {
"type": "string"
},
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
+ "client_version": {
"type": "string"
},
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
+ "system_locale": {
+ "type": "string"
}
},
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
+ "additionalProperties": false
+ },
+ "intents": {
+ "type": "bigint"
+ },
+ "presence": {
+ "$ref": "#/definitions/ActivitySchema"
+ },
+ "compress": {
+ "type": "boolean"
+ },
+ "large_threshold": {
+ "type": "integer"
+ },
+ "largeThreshold": {
+ "type": "integer"
+ },
+ "shard": {
+ "minItems": 2,
+ "maxItems": 2,
+ "type": "array",
+ "items": {
+ "type": "bigint"
+ }
},
- "PriceEntry": {
+ "guild_subscriptions": {
+ "type": "boolean"
+ },
+ "capabilities": {
+ "type": "integer"
+ },
+ "client_state": {
"type": "object",
"properties": {
- "amount": {
+ "guild_hashes": {},
+ "highest_last_message_id": {
"type": "integer"
},
- "currency": {
- "type": "string"
- },
- "exponent": {
+ "read_state_version": {
"type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "ProductItem": {
- "type": "object",
- "properties": {
- "type": {
+ },
+ "user_guild_settings_version": {
"type": "integer"
},
- "id": {
- "type": "string"
+ "user_settings_version": {
+ "type": "integer"
},
- "sku_id": {
- "type": "string"
+ "useruser_guild_settings_version": {
+ "type": "integer"
},
- "asset": {
- "type": "string"
+ "private_channels_version": {
+ "type": "integer"
},
- "label": {
- "type": "string"
+ "guild_versions": {},
+ "api_code_version": {
+ "type": "integer"
},
- "palette": {
+ "initial_guild_id": {
"type": "string"
}
},
- "additionalProperties": false,
- "required": [
- "id",
- "sku_id",
- "type"
- ]
+ "additionalProperties": false
},
- "ProductItemVariant": {
+ "clientState": {
"type": "object",
"properties": {
- "sku_id": {
- "type": "string"
+ "guildHashes": {},
+ "highestLastMessageId": {
+ "type": "integer"
},
- "name": {
- "type": "string"
+ "readStateVersion": {
+ "type": "integer"
},
- "name_localizations": {
- "type": "null"
+ "userGuildSettingsVersion": {
+ "type": "integer"
},
- "summary": {
- "type": "string"
+ "useruserGuildSettingsVersion": {
+ "type": "integer"
},
- "summary_localizations": {
- "type": "null"
+ "guildVersions": {},
+ "apiCodeVersion": {
+ "type": "integer"
},
- "store_listing_id": {
- "type": "string"
- },
- "banner": {
+ "initialGuildId": {
"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"
+ }
+ },
+ "additionalProperties": false
+ },
+ "v": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "properties",
+ "token"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "StreamCreateSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "call",
+ "guild"
+ ],
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "preferred_region": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "StreamDeleteSchema": {
+ "type": "object",
+ "properties": {
+ "stream_key": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "stream_key"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "StreamWatchSchema": {
+ "type": "object",
+ "properties": {
+ "stream_key": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "stream_key"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
}
},
- "type": {
- "type": "integer"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "base_variant_sku_id": {
- "type": "string"
- },
- "base_variant_name": {
- "type": "string"
- },
- "variant_label": {
- "type": "string"
- },
- "variant_value": {
- "type": "string"
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIErrorOrCaptchaResponse": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/APIErrorResponse"
+ },
+ {
+ "$ref": "#/definitions/CaptchaRequiredResponse"
+ }
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AccountStandingResponse": {
+ "type": "object",
+ "properties": {
+ "classifications": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Classification"
+ }
+ },
+ "guild_classifications": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildClassification"
+ }
+ },
+ "account_standing": {
+ "type": "object",
+ "properties": {
+ "state": {
+ "$ref": "#/definitions/AccountStandingState"
}
},
"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"
+ "state"
]
},
- "StaticAnimatedAsset": {
+ "is_dsa_eligible": {
+ "type": "boolean"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "is_appeal_eligible": {
+ "type": "boolean"
+ },
+ "appeal_eligibility": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AppealEligibility"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "account_standing",
+ "appeal_eligibility",
+ "classifications",
+ "discriminator",
+ "guild_classifications",
+ "is_appeal_eligible",
+ "is_dsa_eligible",
+ "username"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BackupCodesChallengeResponse": {
+ "type": "object",
+ "properties": {
+ "nonce": {
+ "type": "string"
+ },
+ "regenerate_nonce": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "nonce",
+ "regenerate_nonce"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CollectiblesCategoriesResponse": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CollectiblesCategoryItem"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CollectiblesMarketingResponse": {
+ "type": "object",
+ "properties": {
+ "marketings": {
"type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
+ "additionalProperties": {
+ "$ref": "#/definitions/CollectiblesMarketingItem"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "marketings"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CollectiblesShopResponse": {
+ "type": "object",
+ "properties": {
+ "shop_blocks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AnyShopBlock"
+ }
+ },
+ "categories": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CollectiblesCategoryItem"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "categories",
+ "shop_blocks"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "DiscoverableGuildsResponse": {
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer"
+ },
+ "guilds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Guild"
+ }
+ },
+ "offset": {
+ "type": "integer"
+ },
+ "limit": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "guilds",
+ "limit",
+ "offset",
+ "total"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "DmMessagesResponseSchema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PartialMessage"
+ },
+ "definitions": {
+ "MessageType": {
+ "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,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 127,
+ 128,
+ 129,
+ 130,
+ 131,
+ 132,
+ 255
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "EmailDomainLookupResponse": {
+ "type": "object",
+ "properties": {
+ "guilds_info": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HubGuild"
+ }
+ },
+ "has_matching_guild": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "guilds_info",
+ "has_matching_guild"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "EmailDomainLookupVerifyCodeResponse": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "joined": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "guild",
+ "joined"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "EmojiSourceResponse": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "APPLICATION",
+ "GUILD"
+ ],
+ "type": "string"
+ },
+ "guild": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/EmojiGuild"
},
- "static": {
- "type": "string"
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
]
},
- "CollectiblesMarketingItem": {
+ "application": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/EmojiApplication"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GatewayBotResponse": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "shards": {
+ "type": "integer"
+ },
+ "session_start_limit": {
"type": "object",
"properties": {
- "type": {
+ "total": {
"type": "integer"
},
- "version": {
+ "remaining": {
"type": "integer"
},
- "title": {
- "type": "string"
+ "reset_after": {
+ "type": "integer"
},
- "body": {
- "type": "string"
+ "max_concurrency": {
+ "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "body",
- "title",
- "type",
- "version"
+ "max_concurrency",
+ "remaining",
+ "reset_after",
+ "total"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "session_start_limit",
+ "shards",
+ "url"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GatewayResponse": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "url"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GenerateRegistrationTokensResponse": {
+ "type": "object",
+ "properties": {
+ "tokens": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "tokens"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildBansResponse": {
+ "type": "object",
+ "properties": {
+ "reason": {
+ "type": [
+ "null",
+ "string"
]
},
- "ItemRowShopBlock": {
+ "user": {
"type": "object",
"properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
+ "username": {
"type": "string"
},
- "category_store_listing_id": {
+ "discriminator": {
"type": "string"
},
- "banner_asset": {
- "$ref": "#/definitions/StaticAnimatedAsset"
- },
- "logo_url": {
+ "id": {
"type": "string"
},
- "unpublished_at": {
+ "avatar": {
"type": [
"null",
"string"
]
},
- "summary": {
- "type": "string"
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "public_flags": {
+ "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "banner_asset",
- "category_sku_id",
- "category_store_listing_id",
- "logo_url",
- "name",
- "ranked_sku_ids",
- "summary",
- "type",
- "unpublished_at"
+ "avatar",
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "reason",
+ "user"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "guild_template_code": {
+ "type": "string"
+ },
+ "staff_only": {
+ "type": "boolean"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "safety_alerts_channel_id": {
+ "type": [
+ "null",
+ "string"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildDiscoveryRequirementsResponse": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "safe_environment": {
+ "type": "boolean"
+ },
+ "healthy": {
+ "type": "boolean"
+ },
+ "health_score_pending": {
+ "type": "boolean"
+ },
+ "size": {
+ "type": "boolean"
+ },
+ "nsfw_properties": {},
+ "protected": {
+ "type": "boolean"
+ },
+ "sufficient": {
+ "type": "boolean"
+ },
+ "sufficient_without_grace_period": {
+ "type": "boolean"
+ },
+ "valid_rules_channel": {
+ "type": "boolean"
+ },
+ "retention_healthy": {
+ "type": "boolean"
+ },
+ "engagement_healthy": {
+ "type": "boolean"
+ },
+ "age": {
+ "type": "boolean"
+ },
+ "minimum_age": {
+ "type": "integer"
},
- "BundleTileRowShopBlock": {
+ "health_score": {
"type": "object",
"properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
+ "avg_nonnew_participators": {
+ "type": "integer"
},
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
+ "avg_nonnew_communicators": {
+ "type": "integer"
+ },
+ "num_intentful_joiners": {
+ "type": "integer"
+ },
+ "perc_ret_w1_intentful": {
+ "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "subblocks",
- "type"
+ "avg_nonnew_communicators",
+ "avg_nonnew_participators",
+ "num_intentful_joiners",
+ "perc_ret_w1_intentful"
]
},
- "ShopBlockSubBlock": {
+ "minimum_size": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "age",
+ "engagement_healthy",
+ "guild_id",
+ "health_score",
+ "health_score_pending",
+ "healthy",
+ "minimum_age",
+ "minimum_size",
+ "nsfw_properties",
+ "protected",
+ "retention_healthy",
+ "safe_environment",
+ "size",
+ "sufficient",
+ "sufficient_without_grace_period",
+ "valid_rules_channel"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildMessagesSearchResponse": {
+ "type": "object",
+ "properties": {
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildMessagesSearchMessage"
+ }
+ },
+ "total_results": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "messages",
+ "total_results"
+ ],
+ "definitions": {
+ "MessageType": {
+ "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,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 127,
+ 128,
+ 129,
+ 130,
+ 131,
+ 132,
+ 255
+ ]
+ },
+ "Message": {
"type": "object",
"properties": {
- "type": {
- "type": "integer"
- },
- "category_store_listing_id": {
+ "channel_id": {
"type": "string"
},
- "name": {
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "thread_id": {
"type": "string"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
+ "thread": {
+ "$ref": "#/definitions/Channel"
},
- "banner_url": {
+ "guild_id": {
"type": "string"
},
- "body_text": {
- "type": [
- "null",
- "string"
- ]
+ "guild": {
+ "$ref": "#/definitions/Guild"
},
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
+ "author_id": {
+ "type": "string"
},
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "author": {
+ "$ref": "#/definitions/User"
},
- "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"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
+ "member_id": {
"type": "string"
},
- "id": {
- "type": "string"
+ "member": {
+ "$ref": "#/definitions/Member"
},
- "name": {
+ "webhook_id": {
"type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
"type": "string"
},
- "name": {
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
"type": "string"
},
- "icon": {
- "type": [
- "null",
- "string"
- ]
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
},
- "description": {
- "type": [
- "null",
- "string"
- ]
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
},
- "features": {
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/definitions/User"
}
},
- "emojis": {
+ "mention_roles": {
"type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
},
- "type": {},
- "content": {
- "type": "string"
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
},
- "channel_id": {
- "type": "string"
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
},
- "author": {},
"attachments": {
"type": "array",
- "items": {}
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
},
"embeds": {
"type": "array",
- "items": {}
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
},
- "mentions": {
+ "reactions": {
"type": "array",
- "items": {}
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
},
- "mention_roles": {
- "type": "array",
- "items": {}
+ "nonce": {
+ "type": "string"
},
"pinned": {
"type": "boolean"
},
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
+ "pinned_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "timestamp": {
- "type": "string"
+ "type": {
+ "$ref": "#/definitions/MessageType_1"
},
- "edited_timestamp": {
- "type": [
- "null",
- "string"
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
]
},
"flags": {
"type": "integer"
},
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
"type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
+ },
+ "channel_id": {
"type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
+ },
+ "guild_id": {
"type": "string"
+ },
+ "type": {
+ "type": "integer"
}
- ],
- "minItems": 1,
- "maxItems": 1
+ },
+ "additionalProperties": false
},
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
"type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
}
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
},
- "members": {
+ "components": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/definitions/ActionRowComponent"
}
},
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "poll": {
+ "$ref": "#/definitions/Poll"
},
- "metadata": {
- "anyOf": [
- {
+ "interaction_metadata": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "authorizing_integration_owners": {
"$ref": "#/definitions/Record"
},
- {
- "type": "null"
+ "original_response_message_id": {
+ "type": "string"
+ },
+ "interacted_message_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
}
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type",
+ "user_id"
]
},
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
+ "message_snapshots": {
"type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
+ "items": {
+ "$ref": "#/definitions/MessageSnapshot"
+ }
},
- "allow_multiselect": {
- "type": "boolean"
+ "reply_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
+ "username": {
"type": "string"
},
- "type": {},
- "name": {
+ "avatar": {
"type": "string"
},
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
}
},
"additionalProperties": false,
"required": [
- "credential",
- "name",
- "ticket"
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "ApplicationCommandSchema": {
+ "GuildPruneResponse": {
"type": "object",
"properties": {
- "id": {},
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "application_id": {},
- "guild_id": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "name_localized": {
- "type": [
- "null",
- "string"
- ]
+ "pruned": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "pruned"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildPurgeResponse": {
+ "type": "object",
+ "properties": {
+ "purged": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "purged"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildRecommendationsResponse": {
+ "type": "object",
+ "properties": {
+ "recommended_guilds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Guild"
+ }
},
- "description": {
+ "load_id": {
"type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "load_id",
+ "recommended_guilds"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildVanityUrlResponse": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/GuildVanityUrl"
},
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description_localized": {
- "type": [
- "null",
- "string"
- ]
+ {
+ "$ref": "#/definitions/GuildVanityUrlNoInvite"
},
- "options": {
+ {
"type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": [
- "null",
- "string"
- ]
- },
- "dm_permission": {
- "type": "boolean"
+ "items": {
+ "$ref": "#/definitions/GuildVanityUrl"
+ }
+ }
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildVanityUrlCreateResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildWidgetJsonResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "permissions": {
- "$ref": "#/definitions/ApplicationCommandIndexPermissions"
+ "name": {
+ "type": "string"
},
- "nsfw": {
- "type": "boolean"
+ "instant_invite": {
+ "type": "string"
},
- "integration_types": {
+ "channels": {
"type": "array",
"items": {
- "$ref": "#/definitions/ApplicationIntegrationType"
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "position"
+ ]
}
},
- "global_popularity_rank": {
- "type": "integer"
- },
- "contexts": {
+ "members": {
"type": "array",
"items": {
- "$ref": "#/definitions/InteractionContextType"
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "avatar_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "avatar",
+ "avatar_url",
+ "discriminator",
+ "id",
+ "status",
+ "username"
+ ]
}
},
- "version": {},
- "handler": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "presence_count": {
+ "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "application_id",
- "default_member_permissions",
- "description",
+ "channels",
+ "id",
+ "instant_invite",
+ "members",
"name",
- "version"
+ "presence_count"
],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildWidgetSettingsResponse": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
},
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
+ "channel_id": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/Snowflake"
},
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
+ {
+ "type": "null"
+ }
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "enabled"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "HubDirectoryEntriesResponse": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HubDirectoryEntry"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "HubWaitlistSignupResponse": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string"
},
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
+ "email_domain": {
+ "type": "string"
},
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "school": {
+ "type": "string"
},
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "email",
+ "email_domain",
+ "school",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InstanceDomainsResponse": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "string"
},
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "api": {
+ "type": "string"
},
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "apiEndpoint": {
+ "type": "string"
},
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
+ "cdn": {
+ "type": "string"
+ },
+ "gateway": {
+ "type": "string"
+ },
+ "defaultApiVersion": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "api",
+ "apiEndpoint",
+ "cdn",
+ "defaultApiVersion",
+ "gateway"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InstancePingResponse": {
+ "type": "object",
+ "properties": {
+ "ping": {
+ "type": "string",
+ "const": "pong!"
},
- "InteractionData": {
+ "instance": {
"type": "object",
"properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
"id": {
"type": "string"
},
"name": {
"type": "string"
},
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
+ "description": {
+ "type": [
+ "null",
+ "string"
+ ]
},
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
+ "image": {
"type": [
"null",
"string"
]
},
- "emoji_name": {
+ "correspondenceEmail": {
"type": [
"null",
"string"
]
},
- "emoji_animated": {
- "type": "boolean"
+ "correspondenceUserID": {
+ "type": [
+ "null",
+ "string"
+ ]
},
- "label": {
- "type": "string"
+ "frontPage": {
+ "type": [
+ "null",
+ "string"
+ ]
},
- "position": {
- "type": "integer"
+ "tosPage": {
+ "type": [
+ "null",
+ "string"
+ ]
}
},
"additionalProperties": false,
"required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
+ "correspondenceEmail",
+ "correspondenceUserID",
+ "description",
+ "frontPage",
+ "id",
+ "image",
+ "name",
+ "tosPage"
]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "instance",
+ "ping"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InstanceStatsResponse": {
+ "type": "object",
+ "properties": {
+ "counts": {
"type": "object",
"properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
+ "user": {
"type": "integer"
},
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
+ "guild": {
"type": "integer"
},
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
+ "message": {
"type": "integer"
},
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
+ "members": {
"type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
}
},
"additionalProperties": false,
"required": [
- "code",
- "errors",
- "message"
+ "guild",
+ "members",
+ "message",
+ "user"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counts"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "LocationMetadataResponse": {
+ "type": "object",
+ "properties": {
+ "consent_required": {
+ "type": "boolean"
},
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
+ "country_code": {
+ "type": "string"
},
- "Classification": {
+ "promotional_email_opt_in": {
"type": "object",
"properties": {
- "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"
+ "required": {
+ "type": "boolean",
+ "const": true
},
- "appeal_ingestion_type": {
- "$ref": "#/definitions/AppealIngestionType"
+ "pre_checked": {
+ "type": "boolean",
+ "const": false
}
},
"additionalProperties": false,
"required": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
+ "pre_checked",
+ "required"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "consent_required",
+ "country_code",
+ "promotional_email_opt_in"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MemberJoinGuildResponse": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/GuildCreateResponse"
},
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
},
- "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"
- ]
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
},
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "emojis",
+ "guild",
+ "roles",
+ "stickers"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "OAuthAuthorizeResponse": {
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "location"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PreloadMessagesResponseSchema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RefreshUrlsResponse": {
+ "type": "object",
+ "properties": {
+ "refreshed_urls": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RefreshedUrl"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "refreshed_urls"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SettingsProtoResponse": {
+ "type": "object",
+ "properties": {
+ "settings": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SettingsProtoUpdateResponse": {
+ "type": "object",
+ "properties": {
+ "out_of_date": {
+ "type": "boolean"
},
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "settings": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SettingsProtoJsonResponse": {
+ "type": "object",
+ "properties": {
+ "settings": {
+ "$ref": "#/definitions/JsonValue"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SettingsProtoUpdateJsonResponse": {
+ "type": "object",
+ "properties": {
+ "out_of_date": {
+ "type": "boolean"
},
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "settings": {
+ "$ref": "#/definitions/JsonValue"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TeamListResponse": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Team"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "title": {
+ "type": "string"
},
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
+ "url": {
+ "type": "string"
},
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
+ "src": {
+ "type": "string"
},
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
+ "gif_src": {
+ "type": "string"
},
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "width": {
+ "type": "integer"
},
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
+ "height": {
+ "type": "integer"
},
- "CollectiblesCategoryStyle": {
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TenorTrendingResponse": {
+ "type": "object",
+ "properties": {
+ "categories": {
"type": "object",
"properties": {
- "background_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "button_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "confetti_colors": {
+ "tags": {
"type": "array",
"items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false,
- "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": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
- },
- "prices": {
- "type": "object",
- "additionalProperties": {
"type": "object",
"properties": {
- "country_prices": {
- "$ref": "#/definitions/CountryPrice"
+ "searchterm": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "country_prices"
+ "image",
+ "name",
+ "path",
+ "searchterm"
]
}
- },
- "items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItem"
- }
- },
- "type": {
- "type": "integer"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
}
},
"additionalProperties": false,
"required": [
- "country_code",
- "prices"
+ "tags"
]
},
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
+ "gifs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TenorGifResponse"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "categories",
+ "gifs"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TenorGifsResponse": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TenorGifResponse"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
},
- "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"
- ]
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TokenOnlyResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "token"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TokenWithBackupCodesResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
},
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
+ "backup_codes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BackupCode"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "backup_codes",
+ "token"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
},
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
+ "region": {
+ "type": "string"
},
- "CollectiblesMarketingItem": {
+ "insert": {
"type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
+ "additionalProperties": false
},
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
+ "id": {
+ "type": "string"
},
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
+ "unavailable": {
+ "type": "boolean"
},
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
+ "icon": {
+ "type": "string"
},
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
+ "parent": {
+ "type": "string"
},
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
+ "owner_id": {
+ "type": "string"
},
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
+ "nsfw": {
+ "type": "boolean"
},
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
},
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
+ "member_count": {
+ "type": "integer"
},
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
},
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
+ "banner": {
+ "type": "string"
},
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
},
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
+ "system_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
+ "rules_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
+ "splash": {
+ "type": "string"
},
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
+ "description": {
+ "type": "string"
},
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
+ "verification_level": {
+ "type": "integer"
},
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
+ "default_message_notifications": {
+ "type": "integer"
},
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
+ "system_channel_flags": {
+ "type": "integer"
},
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
+ "explicit_content_filter": {
+ "type": "integer"
},
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
+ "public_updates_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
+ "afk_timeout": {
+ "type": "integer"
},
- "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"
+ "afk_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
+ "preferred_locale": {
+ "type": "string"
},
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen",
+ "description": "DEPRECATED: Look at the new Guild onboarding screens."
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "insert",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "InteractionCallbackSchema": {
+ "APIPublicUser": {
"type": "object",
"properties": {
- "type": {
- "$ref": "#/definitions/InteractionCallbackType"
+ "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"
},
- "data": {}
+ "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"
+ }
+ },
+ "avatar_decoration_data": {
+ "$ref": "#/definitions/AvatarDecorationData"
+ },
+ "display_name_styles": {
+ "$ref": "#/definitions/DisplayNameStyle"
+ },
+ "collectibles": {
+ "$ref": "#/definitions/Collectibles"
+ },
+ "primary_guild": {
+ "$ref": "#/definitions/PrimaryGuild"
+ }
},
"additionalProperties": false,
"required": [
- "data",
- "type"
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIPrivateUser": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string"
},
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
+ "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"
},
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
+ "flags": {
+ "type": "integer"
},
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "verified": {
+ "type": "boolean"
},
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
},
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "avatar": {
+ "type": "string"
},
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "banner": {
+ "type": "string"
},
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
+ "bio": {
+ "type": "string"
},
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
},
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
+ "pronouns": {
+ "type": "string"
},
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "username": {
+ "type": "string"
},
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
+ "discriminator": {
+ "type": "string"
},
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "public_flags": {
+ "type": "integer"
},
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
+ "accent_color": {
+ "type": "integer"
},
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
+ "bot": {
+ "type": "boolean"
},
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
+ "premium_type": {
+ "type": "integer"
},
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
+ "avatar_decoration_data": {
+ "$ref": "#/definitions/AvatarDecorationData"
},
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "display_name_styles": {
+ "$ref": "#/definitions/DisplayNameStyle"
},
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
+ "collectibles": {
+ "$ref": "#/definitions/Collectibles"
},
- "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"
- ]
+ "primary_guild": {
+ "$ref": "#/definitions/PrimaryGuild"
},
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "mfa_enabled": {
+ "type": "boolean"
},
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
+ "phone": {
+ "type": "string"
},
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
+ "nsfw_allowed": {
+ "type": "boolean"
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "purchased_flags": {
+ "type": "integer"
+ },
+ "premium_usage_flags": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettingsSchema"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "disabled",
+ "discriminator",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "username",
+ "verified"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIGuildArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/APIGuild"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIDMChannelArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DmChannelDTO"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIBackupCodeArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BackupCode"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserUpdateResponse": {
+ "type": "object",
+ "properties": {
+ "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"
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "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"
+ }
+ },
+ "avatar_decoration_data": {
+ "$ref": "#/definitions/AvatarDecorationData"
+ },
+ "display_name_styles": {
+ "$ref": "#/definitions/DisplayNameStyle"
+ },
+ "collectibles": {
+ "$ref": "#/definitions/Collectibles"
+ },
+ "primary_guild": {
+ "$ref": "#/definitions/PrimaryGuild"
+ },
+ "mfa_enabled": {
+ "type": "boolean"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "nsfw_allowed": {
+ "type": "boolean"
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "purchased_flags": {
+ "type": "integer"
+ },
+ "premium_usage_flags": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettingsSchema"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "disabled",
+ "discriminator",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "username",
+ "verified"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationDetectableResponse": {
+ "type": "array",
+ "items": {},
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationEntitlementsResponse": {
+ "type": "array",
+ "items": {},
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationSkusResponse": {
+ "type": "array",
+ "items": {},
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIApplicationArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Application"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIBansArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildBansResponse"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIInviteArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIMessageArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIWebhookArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIDiscoveryCategoryArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Categories"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIGeneralConfiguration": {
+ "type": "object",
+ "properties": {
+ "instanceName": {
+ "type": "string",
+ "default": "Spacebar Instance"
+ },
+ "serverName": {
+ "type": [
+ "null",
+ "string"
],
- "type": "number"
+ "default": null
},
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
+ "instanceDescription": {
+ "type": [
+ "null",
+ "string"
],
- "type": "number"
+ "default": "This is a Spacebar instance made in the pre-release days"
},
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "frontPage": {
+ "type": [
+ "null",
+ "string"
+ ],
+ "default": null
},
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
+ "tosPage": {
+ "type": [
+ "null",
+ "string"
+ ],
+ "default": null
},
- "GuildMemberType": {
- "enum": [
- 1,
- 2
+ "correspondenceEmail": {
+ "type": [
+ "null",
+ "string"
],
- "type": "number"
+ "default": null
},
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
+ "correspondenceUserID": {
+ "type": [
+ "null",
+ "string"
],
- "type": "number"
+ "default": null
},
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
+ "image": {
+ "type": [
+ "null",
+ "string"
],
- "type": "number"
+ "default": null
},
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
+ "instanceId": {
+ "type": "string"
},
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
+ "autoCreateBotUsers": {
+ "type": "boolean",
+ "default": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "autoCreateBotUsers",
+ "correspondenceEmail",
+ "correspondenceUserID",
+ "frontPage",
+ "image",
+ "instanceDescription",
+ "instanceId",
+ "instanceName",
+ "serverName",
+ "tosPage"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIChannelArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIEmojiArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIMemberArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIPublicMember": {
+ "additionalProperties": false,
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
+ "guild_id": {
+ "type": "string"
},
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
+ "mute": {
+ "type": "boolean"
},
- "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"
- ]
+ "deaf": {
+ "type": "boolean"
},
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
+ "nick": {
+ "type": "string"
},
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
},
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
+ "pending": {
+ "type": "boolean"
},
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
+ "premium_since": {
+ "type": "integer"
},
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
+ "avatar": {
+ "type": "string"
},
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
+ "banner": {
+ "type": "string"
},
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
+ "bio": {
+ "type": "string"
},
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
},
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
+ "pronouns": {
+ "type": "string"
},
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "communication_disabled_until": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
},
- "name": {
- "type": "string"
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
]
},
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
+ "user": {
+ "$ref": "#/definitions/PublicUser"
},
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
+ "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#"
+ },
+ "APIGuildWithJoinedAt": {
+ "type": "object",
+ "properties": {
+ "joined_at": {
+ "type": "string"
},
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
+ "id": {
+ "type": "string"
},
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
+ "name": {
+ "type": "string"
},
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
+ "primary_category_id": {
+ "type": "string"
},
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
+ "large": {
+ "type": "boolean"
},
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
+ "max_members": {
+ "type": "integer"
},
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
+ "max_presences": {
+ "type": "integer"
},
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
+ "max_video_channel_users": {
+ "type": "integer"
},
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
+ "member_count": {
+ "type": "integer"
},
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
+ "presence_count": {
+ "type": "integer"
},
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
+ "template_id": {
+ "type": "string"
},
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
+ "mfa_level": {
+ "type": "integer"
},
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
+ "owner_id": {
+ "type": "string"
},
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
+ "premium_subscription_count": {
+ "type": "integer"
},
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
+ "premium_tier": {
+ "type": "integer"
},
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
},
- "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"
- ]
+ "widget_channel_id": {
+ "type": "string"
},
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
+ "widget_enabled": {
+ "type": "boolean"
},
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "InteractionCreateSchema": {
- "type": "object",
- "properties": {
- "version": {
+ "nsfw_level": {
"type": "integer"
},
- "id": {},
- "application_id": {},
- "type": {},
- "token": {
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
"type": "string"
},
- "data": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
+ "region": {
+ "type": "string"
},
- "guild": {
- "$ref": "#/definitions/InteractionGuild"
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
},
- "guild_id": {},
- "guild_locale": {
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "system_channel_id": {
"type": "string"
},
- "channel": {},
- "channel_id": {},
- "member": {},
- "user": {},
- "locale": {
+ "rules_channel_id": {
"type": "string"
},
- "message": {},
- "app_permissions": {
+ "guild_template_code": {
"type": "string"
},
- "entitlements": {
+ "staff_only": {
+ "type": "boolean"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "features": {
"type": "array",
"items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
+ "type": "string"
}
},
- "entitlement_sku_ids": {
- "type": "array",
- "items": {}
+ "verification_level": {
+ "type": "integer"
},
- "authorizing_integration_owners": {
- "type": "object",
- "additionalProperties": false,
- "patternProperties": {
- "^[0-9]+$": {}
- }
+ "default_message_notifications": {
+ "type": "integer"
},
- "context": {
+ "system_channel_flags": {
"type": "integer"
},
- "attachment_size_limit": {
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
"type": "integer"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "safety_alerts_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
}
},
"additionalProperties": false,
"required": [
- "app_permissions",
- "application_id",
- "attachment_size_limit",
"id",
- "token",
- "type",
- "version"
+ "joined_at",
+ "large",
+ "max_members",
+ "max_presences",
+ "max_video_channel_users",
+ "member_count",
+ "mfa_level",
+ "name",
+ "nsfw",
+ "nsfw_level",
+ "owner_id",
+ "parent",
+ "premium_subscription_count",
+ "premium_tier",
+ "presence_count",
+ "primary_category_id",
+ "template_id",
+ "welcome_screen",
+ "widget_channel_id",
+ "widget_enabled"
],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIRoleArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIStickerArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APITemplateArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Template"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIGuildVoiceRegion": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildVoiceRegion"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APILimitsConfiguration": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/UserLimits"
},
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
+ "guild": {
+ "$ref": "#/definitions/GuildLimits"
+ },
+ "message": {
+ "$ref": "#/definitions/MessageLimits"
+ },
+ "channel": {
+ "$ref": "#/definitions/ChannelLimits"
+ },
+ "rate": {
+ "$ref": "#/definitions/RateLimits"
+ },
+ "absoluteRate": {
+ "$ref": "#/definitions/GlobalRateLimits"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "absoluteRate",
+ "channel",
+ "guild",
+ "message",
+ "rate",
+ "user"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIStickerPackArray": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "APIConnectionsConfiguration": {
+ "type": "object",
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UpdatesResponse": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "pub_date": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "notes": {
+ "type": [
+ "null",
+ "string"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "notes",
+ "pub_date",
+ "url"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UploadAttachmentResponseSchema": {
+ "type": "object",
+ "properties": {
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UploadAttachmentResponse"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UploadAttachmentResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
+ "upload_url": {
+ "type": "string"
},
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "upload_filename": {
+ "type": "string"
},
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
+ "original_content_type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "upload_filename",
+ "upload_url"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserNoteResponse": {
+ "type": "object",
+ "properties": {
+ "note": {
+ "type": "string"
},
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "note_user_id": {
+ "type": "string"
},
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "note",
+ "note_user_id",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserProfileResponse": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/PublicUser"
},
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
+ "connected_accounts": {
+ "$ref": "#/definitions/PublicConnectedAccount"
+ },
+ "premium_guild_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mutual_guilds": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "nick": {
"type": "string"
}
},
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
+ "additionalProperties": false,
+ "required": [
+ "id"
+ ]
+ }
},
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
+ "premium_type": {
+ "type": "integer"
},
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
+ "profile_themes_experiment_bucket": {
+ "type": "integer"
},
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "user_profile": {
+ "$ref": "#/definitions/UserProfile"
},
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
+ "guild_member": {
+ "$ref": "#/definitions/PublicMember"
},
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "guild_member_profile": {
+ "$ref": "#/definitions/PublicMemberProfile"
},
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
+ "badges": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Badge"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "badges",
+ "connected_accounts",
+ "mutual_guilds",
+ "premium_type",
+ "profile_themes_experiment_bucket",
+ "user",
+ "user_profile"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserRelationsResponse": {
+ "type": "array",
+ "items": {
+ "additionalProperties": false,
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
+ "username": {
+ "type": "string"
},
- "additionalProperties": false,
- "required": [
- "all"
- ]
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ }
},
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserRelationshipsResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "nickname": {
+ "type": "null"
+ },
+ "user": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "nickname",
+ "type",
+ "user"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WebAuthnCreateResponse": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WebhookCreateResponse": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "hook": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "hook",
+ "user"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AckBulkSchema": {
+ "type": "object",
+ "properties": {
+ "read_states": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "message_id": {
"type": "string"
+ },
+ "read_state_type": {
+ "type": "integer"
}
},
- "id": {
- "type": "integer"
- },
- "name": {
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_id",
+ "read_state_type"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "read_states"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationAuthorizeSchema": {
+ "type": "object",
+ "properties": {
+ "authorize": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "captcha_key": {
+ "type": "string"
+ },
+ "code": {
+ "minLength": 6,
+ "maxLength": 6,
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "authorize",
+ "guild_id",
+ "permissions"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AutomodMentionSpamRuleSchema": {
+ "type": "object",
+ "properties": {
+ "mention_total_limit": {
+ "type": "integer"
+ },
+ "mention_raid_protection_enabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mention_raid_protection_enabled",
+ "mention_total_limit"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AutomodSuspectedSpamRuleSchema": {
+ "type": "object",
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AutomodCommonlyFlaggedWordsRuleSchema": {
+ "type": "object",
+ "properties": {
+ "allow_list": {
+ "type": "array",
+ "items": [
+ {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
+ "presets": {
+ "type": "array",
+ "items": [
+ {
"type": "integer"
- },
- "message": {
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_list",
+ "presets"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AutomodCustomWordsRuleSchema": {
+ "type": "object",
+ "properties": {
+ "allow_list": {
+ "type": "array",
+ "items": [
+ {
"type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
}
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
+ "keyword_filter": {
+ "type": "array",
+ "items": [
+ {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "Classification": {
- "type": "object",
- "properties": {
- "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": {
+ "regex_patterns": {
+ "type": "array",
+ "items": [
+ {
"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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ ],
+ "minItems": 1,
+ "maxItems": 1
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_list",
+ "keyword_filter",
+ "regex_patterns"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AutomodRuleSchema": {
+ "type": "object",
+ "properties": {
+ "creator_id": {
+ "type": "string"
},
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
+ "enabled": {
+ "type": "boolean"
+ },
+ "event_type": {
+ "type": "integer"
+ },
+ "exempt_channels": {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ }
],
- "type": "number"
+ "minItems": 1,
+ "maxItems": 1
},
- "ClassificationAction": {
- "type": "object",
- "properties": {
- "id": {
+ "exempt_roles": {
+ "type": "array",
+ "items": [
+ {
"type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "trigger_type": {
+ "type": "integer"
+ },
+ "trigger_metadata": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/AutomodMentionSpamRuleSchema"
},
- "action_type": {
- "$ref": "#/definitions/ClassificationActionType"
+ {
+ "$ref": "#/definitions/AutomodSuspectedSpamRuleSchema"
},
- "descriptions": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ {
+ "$ref": "#/definitions/AutomodCommonlyFlaggedWordsRuleSchema"
+ },
+ {
+ "$ref": "#/definitions/AutomodCustomWordsRuleSchema"
}
- },
- "additionalProperties": false,
- "required": [
- "action_type",
- "descriptions",
- "id"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "creator_id",
+ "enabled",
+ "event_type",
+ "exempt_channels",
+ "exempt_roles",
+ "guild_id",
+ "name",
+ "position",
+ "trigger_metadata",
+ "trigger_type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BackupCodesChallengeSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BanCreateSchema": {
+ "type": "object",
+ "properties": {
+ "delete_message_seconds": {
+ "type": "integer"
+ },
+ "delete_message_days": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BanModeratorSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor_id",
+ "guild_id",
+ "id",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BanRegistrySchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor_id",
+ "guild_id",
+ "id",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BotModifySchema": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BulkBanSchema": {
+ "type": "object",
+ "properties": {
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "delete_message_seconds": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "user_ids"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BulkDeleteSchema": {
+ "type": "object",
+ "properties": {
+ "messages": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "messages"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
},
- "ClassificationActionType": {
+ "type": {
"enum": [
0,
1,
@@ -8330,1955 +5854,2485 @@
14,
15,
16,
+ 17,
+ 18,
+ 19,
2,
20,
- 22,
+ 21,
+ 255,
3,
+ 33,
+ 34,
+ 35,
4,
5,
6,
+ 64,
7,
8,
9
],
"type": "number"
},
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
]
},
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "bitrate": {
+ "type": "integer"
},
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "user_limit": {
+ "type": "integer"
},
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "rate_limit_per_user": {
+ "type": "integer"
},
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "position": {
+ "type": "integer"
+ },
+ "invitable": {
+ "type": "boolean"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
},
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
},
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
+ "parent_id": {
+ "type": "string"
},
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "id": {
+ "type": "string"
},
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
+ "nsfw": {
+ "type": "boolean"
},
- "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"
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
]
},
- "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"
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "auto_archive_duration": {
+ "type": "integer"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "available_tags": {
+ "type": "array",
+ "items": {
+ "additionalProperties": false,
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "moderated": {
+ "type": [
+ "null",
+ "boolean"
]
+ },
+ "emoji_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "emoji_name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
}
},
- "items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItem"
- }
- },
- "type": {
- "type": "integer"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
+ "required": [
+ "id",
+ "name"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ChannelPermissionOverwriteSchema": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
},
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
+ "deny": {
+ "type": "string"
},
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ChannelReorderSchema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
+ "position": {
+ "type": "integer"
+ },
+ "lock_permissions": {
+ "type": "boolean"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id"
+ ]
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CodesVerificationSchema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "regenerate": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "key",
+ "nonce"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ConnectedAccountSchema": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "token_data": {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ "friend_sync": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean"
+ },
+ "show_activity": {
+ "type": "integer"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "integer"
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer"
+ },
+ "two_way_link": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "name",
+ "type",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ConnectionCallbackSchema": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "insecure": {
+ "type": "boolean"
+ },
+ "friend_sync": {
+ "type": "boolean"
+ },
+ "openid_params": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "friend_sync",
+ "insecure",
+ "state"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ConnectionUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "visibility": {
+ "type": "boolean"
+ },
+ "show_activity": {
+ "type": "boolean"
+ },
+ "metadata_visibility": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "DmChannelCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "recipient_id": {
+ "type": "string"
+ },
+ "access_tokens": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "EmailDomainLookupSchema": {
+ "type": "object",
+ "properties": {
+ "allow_multiple_guilds": {
+ "type": "boolean"
+ },
+ "email": {
+ "type": "string"
+ },
+ "use_verification_code": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiple_guilds",
+ "email",
+ "use_verification_code"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "EmailDomainLookupVerifyCodeSchema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "email",
+ "guild_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "EmojiCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": [
+ "null",
+ "boolean"
]
},
- "ProductItem": {
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "image"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "EmojiModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ForgotPasswordSchema": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "captcha_key": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GreetRequestSchema": {
+ "type": "object",
+ "properties": {
+ "sticker_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "allowed_mentions": {
+ "$ref": "#/definitions/AllowedMentions"
+ },
+ "message_reference": {
"type": "object",
"properties": {
- "type": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- },
- "sku_id": {
+ "message_id": {
"type": "string"
},
- "asset": {
+ "channel_id": {
"type": "string"
},
- "label": {
+ "guild_id": {
"type": "string"
},
- "palette": {
- "type": "string"
+ "fail_if_not_exists": {
+ "type": "boolean"
}
},
"additionalProperties": false,
"required": [
- "id",
- "sku_id",
- "type"
+ "message_id"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "sticker_ids"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
]
},
- "ProductItemVariant": {
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelCreateSchema"
+ }
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "guild_template_code": {
+ "type": "string"
+ },
+ "staff_only": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildSubscriptionsBulkSchema": {
+ "type": "object",
+ "properties": {
+ "subscriptions": {
"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": {
- "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"
- ]
- }
- },
+ "additionalProperties": {
+ "$ref": "#/definitions/GuildSubscriptionSchema"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "subscriptions"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildSubscriptionSchema": {
+ "type": "object",
+ "properties": {
+ "channels": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
"items": {
"type": "array",
"items": {
- "$ref": "#/definitions/ProductItem"
+ "type": "integer"
}
- },
- "type": {
- "type": "integer"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
+ }
},
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
+ "members": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
+ "activities": {
+ "type": "boolean"
+ },
+ "threads": {
+ "type": "boolean"
+ },
+ "typing": {
+ "const": true,
+ "type": "boolean"
+ },
+ "member_updates": {
+ "type": "boolean"
+ },
+ "thread_member_lists": {
+ "type": "array",
+ "items": {}
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildTemplateCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "banner": {
+ "type": [
+ "null",
+ "string"
]
},
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
+ "splash": {
+ "type": [
+ "null",
+ "string"
]
},
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
+ "description": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "safety_alerts_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
]
},
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "guild_template_code": {
+ "type": "string"
+ },
+ "staff_only": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildUpdateWelcomeScreenSchema": {
+ "type": "object",
+ "properties": {
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
"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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "HubWaitlistSignupSchema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "school": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "email",
+ "school"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "InviteCreateSchema": {
+ "type": "object",
+ "properties": {
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_type": {
+ "type": "string"
+ },
+ "validate": {
+ "type": "string"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "unique": {
+ "type": "boolean"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "const": true
+ },
+ "sms": {
+ "type": "boolean",
+ "const": false
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "const": true
+ },
+ "sms": {
+ "type": "boolean",
+ "const": false
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "LoginResponse": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/TokenResponse"
+ },
+ {
+ "$ref": "#/definitions/MFAResponse"
+ },
+ {
+ "$ref": "#/definitions/WebAuthnResponse"
+ }
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "LoginSchema": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
+ "type": "string"
+ },
+ "undelete": {
+ "type": "boolean"
+ },
+ "captcha_key": {
+ "type": "string"
+ },
+ "login_source": {
+ "type": "string"
+ },
+ "gift_code_sku_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "password"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MemberChangeProfileSchema": {
+ "type": "object",
+ "properties": {
+ "banner": {
+ "type": [
+ "null",
+ "string"
]
},
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
+ "nick": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "items": [
+ {
+ "type": "integer"
},
- "name": {
- "type": "string"
+ {
+ "type": "integer"
}
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
+ ],
+ "type": "array",
+ "minItems": 2,
+ "maxItems": 2
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MemberChangeSchema": {
+ "type": "object",
+ "properties": {
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nick": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bio": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": [
+ "null",
+ "string"
]
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MemberNickChangeSchema": {
+ "type": "object",
+ "properties": {
+ "nick": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "nick"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MessageAcknowledgeSchema": {
+ "type": "object",
+ "properties": {
+ "manual": {
+ "type": "boolean"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "flags": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4
+ ],
+ "type": "number"
+ },
+ "last_viewed": {
+ "type": "integer"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AcknowledgeDeleteSchema": {
+ "type": "object",
+ "properties": {
+ "read_state_type": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MessageCreateSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "content": {
+ "type": "string"
+ },
+ "mobile_network_type": {
+ "type": "string"
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
},
- "EmojiGuild": {
+ "tts": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "embed": {
+ "$ref": "#/definitions/Embed"
+ },
+ "allowed_mentions": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
+ "parse": {
"type": "array",
"items": {
"type": "string"
}
},
- "emojis": {
+ "roles": {
"type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
+ "items": {
+ "type": "string"
+ }
},
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "name": {
- "type": "string"
+ "replied_user": {
+ "type": "boolean"
}
},
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
+ "additionalProperties": false
},
- "GuildMessagesSearchMessage": {
+ "message_reference": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
+ "message_id": {
"type": "string"
},
"channel_id": {
"type": "string"
},
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
+ "guild_id": {
"type": "string"
},
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
+ "fail_if_not_exists": {
+ "type": "boolean"
},
- "flags": {
+ "type": {
"type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
}
},
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
+ "additionalProperties": false
+ },
+ "payload_json": {
+ "type": "string"
},
- "GuildVanityUrl": {
+ "file": {
"type": "object",
"properties": {
- "code": {
+ "filename": {
"type": "string"
- },
- "uses": {
- "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "code",
- "uses"
+ "filename"
]
},
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
+ "attachments": {
+ "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "uploaded_filename": {
+ "type": "string"
+ },
+ "original_content_type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "uploaded_filename"
+ ]
+ }
+ ]
+ }
},
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
+ "sticker_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "type": {
- "type": "integer"
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
]
},
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
+ "components": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
},
- "refreshed": {
- "type": "string"
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
]
},
- "TenorGifResponse": {
+ "poll": {
+ "$ref": "#/definitions/PollCreationSchema"
+ },
+ "enforce_nonce": {
+ "type": "boolean"
+ },
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "thread_name": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "interaction": {
+ "$ref": "#/definitions/MessageInteractionSchema"
+ },
+ "interaction_metadata": {
+ "$ref": "#/definitions/MessageInteractionSchema"
+ }
+ },
+ "additionalProperties": false,
+ "definitions": {
+ "Embed": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
- },
"title": {
"type": "string"
},
- "url": {
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
"type": "string"
},
- "src": {
+ "description": {
"type": "string"
},
- "gif_src": {
+ "url": {
"type": "string"
},
- "width": {
- "type": "integer"
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
},
- "height": {
+ "color": {
"type": "integer"
},
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
},
- "custom": {
- "type": "boolean"
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
},
- "deprecated": {
- "type": "boolean"
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
},
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
},
- "upload_url": {
- "type": "string"
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
},
- "upload_filename": {
- "type": "string"
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
},
- "original_content_type": {
- "type": "string"
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
}
},
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
+ "additionalProperties": false
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
},
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
},
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
+ "duration": {
+ "type": "integer"
},
- "AutomodSuspectedSpamRuleSchema": {
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MessageInteractionSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "command_type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ephemerality_reason": {
+ "type": "integer"
+ },
+ "user": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "authorizing_integration_owners": {
"type": "object",
- "additionalProperties": false
+ "properties": {},
+ "additionalProperties": true
+ },
+ "original_response_message_id": {
+ "description": "A container for useful snowflake-related methods.",
+ "$ref": "#/definitions/Snowflake"
+ },
+ "interacted_message_id": {
+ "description": "A container for useful snowflake-related methods.",
+ "$ref": "#/definitions/Snowflake"
+ },
+ "triggering_interaction_metadata": {
+ "$ref": "#/definitions/MessageInteractionSchema"
+ },
+ "target_user": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "target_message_id": {
+ "description": "A container for useful snowflake-related methods.",
+ "$ref": "#/definitions/Snowflake"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MessageEditSchema": {
+ "type": "object",
+ "properties": {
+ "embed": {
+ "$ref": "#/definitions/Embed"
},
- "AutomodCommonlyFlaggedWordsRuleSchema": {
+ "file": {
"type": "object",
"properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
+ "filename": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "allow_list",
- "presets"
+ "filename"
]
},
- "AutomodCustomWordsRuleSchema": {
+ "flags": {
+ "type": "integer"
+ },
+ "attachments": {
+ "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "uploaded_filename": {
+ "type": "string"
+ },
+ "original_content_type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "uploaded_filename"
+ ]
+ }
+ ]
+ }
+ },
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "mobile_network_type": {
+ "type": "string"
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "allowed_mentions": {
"type": "object",
"properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
+ "parse": {
"type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
+ "items": {
+ "type": "string"
+ }
},
- "regex_patterns": {
+ "roles": {
"type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
+ "items": {
+ "type": "string"
}
},
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
+ "users": {
"type": "array",
"items": {
"type": "string"
}
},
- "member_updates": {
+ "replied_user": {
"type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
}
},
"additionalProperties": false
},
- "LobbyMemberSchema": {
+ "message_reference": {
"type": "object",
"properties": {
- "id": {
+ "message_id": {
"type": "string"
},
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
+ "channel_id": {
+ "type": "string"
},
- "flags": {
+ "guild_id": {
+ "type": "string"
+ },
+ "fail_if_not_exists": {
+ "type": "boolean"
+ },
+ "type": {
"type": "integer"
}
},
- "additionalProperties": false,
- "required": [
- "id"
- ]
+ "additionalProperties": false
},
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
+ "payload_json": {
+ "type": "string"
+ },
+ "sticker_ids": {
+ "anyOf": [
+ {
"type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
+ "items": {
+ "type": "string"
+ }
},
- "allow_multiselect": {
- "type": "boolean"
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "components": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
},
- "layout_type": {
- "type": "integer"
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
]
},
- "MessageInteractionSchema": {
+ "poll": {
+ "$ref": "#/definitions/PollCreationSchema"
+ },
+ "enforce_nonce": {
+ "type": "boolean"
+ },
+ "thread_name": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "interaction": {
+ "$ref": "#/definitions/MessageInteractionSchema"
+ },
+ "interaction_metadata": {
+ "$ref": "#/definitions/MessageInteractionSchema"
+ }
+ },
+ "additionalProperties": false,
+ "definitions": {
+ "Embed": {
"type": "object",
"properties": {
- "id": {
+ "title": {
"type": "string"
},
- "type": {},
- "name": {
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
"type": "string"
},
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "UploadAttachmentRequest": {
- "type": "object",
- "properties": {
- "id": {
+ "description": {
"type": "string"
},
- "filename": {
+ "url": {
"type": "string"
},
- "file_size": {
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
"type": "integer"
},
- "is_clip": {
- "type": "boolean"
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
},
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "file_size",
- "filename"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
},
- "name": {
- "type": "string"
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
},
- "ticket": {
- "type": "string"
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
}
},
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
+ "additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "InteractionSchema": {
+ "MfaCodesSchema": {
"type": "object",
"properties": {
- "type": {},
- "application_id": {},
- "guild_id": {},
- "channel_id": {},
- "message_id": {},
- "message_flags": {
- "type": "integer"
- },
- "session_id": {
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
"type": "string"
},
- "data": {
- "$ref": "#/definitions/InteractionData"
+ "regenerate": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ModifyGuildStickerSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "minLength": 2,
+ "maxLength": 30,
+ "type": "string"
},
- "files": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- }
+ "description": {
+ "maxLength": 100,
+ "type": "string"
},
- "nonce": {
+ "tags": {
+ "maxLength": 200,
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "tags"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PasswordResetSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
"type": "string"
},
- "analytics_location": {
+ "token": {
"type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password",
+ "token"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PreloadMessagesRequestSchema": {
+ "type": "object",
+ "properties": {
+ "channels": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "section_name": {
+ "channel_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PruneSchema": {
+ "type": "object",
+ "properties": {
+ "days": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "days"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PurgeSchema": {
+ "type": "object",
+ "properties": {
+ "before": {
"type": "string"
},
- "source": {
+ "after": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
- "application_id",
- "channel_id",
- "data",
- "type"
+ "after",
+ "before"
],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RefreshUrlsRequestSchema": {
+ "type": "object",
+ "properties": {
+ "attachment_urls": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachment_urls"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RegisterSchema": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "minLength": 2,
+ "type": "string"
},
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
+ "type": "string"
},
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
+ "consent": {
+ "type": "boolean"
},
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "email": {
+ "format": "email",
+ "type": "string"
},
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
+ "fingerprint": {
+ "type": "string"
},
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "invite": {
+ "type": "string"
+ },
+ "date_of_birth": {
+ "type": "string"
+ },
+ "gift_code_sku_id": {
+ "type": "string"
+ },
+ "captcha_key": {
+ "type": "string"
+ },
+ "promotional_email_opt_in": {
+ "type": "boolean"
+ },
+ "unique_username_registration": {
+ "type": "boolean"
+ },
+ "global_name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "consent",
+ "username"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RelationshipPatchSchema": {
+ "type": "object",
+ "properties": {
+ "nickname": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RelationshipPostSchema": {
+ "type": "object",
+ "properties": {
+ "discriminator": {
+ "type": "string"
},
- "InteractionCallbackType": {
+ "username": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "username"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RelationshipPutSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
"enum": [
1,
- 10,
- 11,
- 12,
2,
3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
+ 4
],
"type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RequestGuildMembersSchema": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "anyOf": [
+ {
"type": "array",
- "items": {
- "type": "string"
- }
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
},
- "locale": {
+ {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
]
},
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
+ "query": {
+ "type": "string"
+ },
+ "limit": {
+ "type": "integer"
+ },
+ "presences": {
+ "type": "boolean"
+ },
+ "user_ids": {
+ "anyOf": [
+ {
"type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
+ "items": {
+ "type": "string"
+ }
},
- "version": {
+ {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
]
},
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
+ "nonce": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "guild_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RoleModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
},
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "permissions": {
+ "type": "string"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
},
- "GuildTrait": {
+ "colors": {
"type": "object",
"properties": {
- "emoji_id": {
+ "primary_color": {
+ "type": "integer"
+ },
+ "secondary_color": {
"type": [
"null",
- "string"
+ "integer"
]
},
- "emoji_name": {
+ "tertiary_color": {
"type": [
"null",
- "string"
+ "integer"
]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
+ "primary_color"
]
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RolePositionUpdateSchema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ }
},
- "GuildVisibilityLevel": {
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "position"
+ ]
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SelectProtocolSchema": {
+ "type": "object",
+ "properties": {
+ "protocol": {
"enum": [
- 1,
- 2,
- 3
+ "udp",
+ "webrtc"
],
- "type": "number"
+ "type": "string"
},
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
+ "data": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "port": {
+ "type": "integer"
+ },
+ "mode": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "address",
+ "mode",
+ "port"
+ ]
},
- "text": {
+ {
"type": "string"
}
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
]
},
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
+ "sdp": {
+ "type": "string"
+ },
+ "codecs": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "enum": [
+ "H264",
+ "VP8",
+ "VP9",
+ "opus"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "audio",
+ "video"
+ ],
"type": "string"
+ },
+ "priority": {
+ "type": "integer"
+ },
+ "payload_type": {
+ "type": "integer"
+ },
+ "rtx_payload_type": {
+ "type": "integer"
}
},
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "payload_type",
+ "priority",
+ "type"
+ ]
+ }
+ },
+ "rtc_connection_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "data",
+ "protocol"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SettingsProtoUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "settings": {
+ "type": "string"
+ },
+ "required_data_version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SettingsProtoUpdateJsonSchema": {
+ "type": "object",
+ "properties": {
+ "settings": {
+ "$ref": "#/definitions/JsonValue"
+ },
+ "required_data_version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TeamCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TemplateCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TemplateModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TotpDisableSchema": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "minLength": 6,
+ "maxLength": 6,
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TotpEnableSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
+ "type": "string"
+ },
+ "code": {
+ "minLength": 6,
+ "maxLength": 6,
+ "type": "string"
+ },
+ "secret": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TotpSchema": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "gift_code_sku_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "APIErrorResponse": {
+ "login_source": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "ticket"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UploadAttachmentRequestSchema": {
+ "type": "object",
+ "properties": {
+ "files": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UploadAttachmentRequest"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "files"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserDeleteSchema": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserGuildSettingsSchema": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
"type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ "version": {
+ "type": "integer"
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
},
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
]
},
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "const": 0,
+ "type": "number"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserModifySchema": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "minLength": 2,
+ "type": "string"
+ },
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bio": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
]
},
- "ClassificationType": {
+ "password": {
+ "minLength": 1,
+ "maxLength": 72,
+ "type": "string"
+ },
+ "new_password": {
+ "minLength": 1,
+ "maxLength": 72,
+ "type": "string"
+ },
+ "code": {
+ "minLength": 6,
+ "maxLength": 6,
+ "type": "string"
+ },
+ "email": {
+ "format": "email",
+ "type": "string"
+ },
+ "discriminator": {
+ "minLength": 4,
+ "maxLength": 4,
+ "type": "string"
+ },
+ "display_name_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "display_name_effect_id": {
"enum": [
+ 0,
1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
],
"type": "number"
},
- "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"
- ]
- },
- "ClassificationActionType": {
+ "display_name_font_id": {
"enum": [
0,
1,
10,
11,
12,
- 13,
- 14,
- 15,
- 16,
2,
- 20,
- 22,
3,
4,
5,
@@ -10288,1611 +8342,964 @@
9
],
"type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserNoteUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "note": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "note"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserProfileModifySchema": {
+ "type": "object",
+ "properties": {
+ "bio": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": [
+ "null",
+ "integer"
]
},
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
},
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "pronouns": {
+ "type": "string"
},
- "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"
+ "theme_colors": {
+ "items": [
+ {
+ "type": "integer"
},
- "appeal_ingestion_type": {
- "$ref": "#/definitions/AppealIngestionType"
+ {
+ "type": "integer"
}
- },
- "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"
+ ],
+ "type": "array",
+ "minItems": 2,
+ "maxItems": 2
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "VanityUrlSchema": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "minLength": 1,
+ "maxLength": 20,
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "VerifyEmailSchema": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": [
+ "null",
+ "string"
]
},
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
+ "token": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "token"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "VoiceStateUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
},
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
+ "channel_id": {
+ "type": "string"
},
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
+ "self_mute": {
+ "type": "boolean"
},
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "self_deaf": {
+ "type": "boolean"
},
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
+ "self_video": {
+ "type": "boolean"
+ },
+ "preferred_region": {
+ "type": "string"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "self_deaf",
+ "self_mute"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WebAuthnPostSchema": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/GenerateWebAuthnCredentialsSchema"
+ },
+ {
+ "$ref": "#/definitions/CreateWebAuthnCredentialSchema"
+ }
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WebAuthnTotpSchema": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "ticket"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WebhookCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WebhookExecuteSchema": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
},
- "CollectiblesCategoryStyle": {
+ "avatar_url": {
+ "type": "string"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "allowed_mentions": {
"type": "object",
"properties": {
- "background_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "button_colors": {
+ "parse": {
"type": "array",
"items": {
- "type": "integer"
+ "type": "string"
}
},
- "confetti_colors": {
+ "roles": {
"type": "array",
"items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false,
- "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": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
- },
- "prices": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "country_prices": {
- "$ref": "#/definitions/CountryPrice"
- }
- },
- "additionalProperties": false,
- "required": [
- "country_prices"
- ]
+ "type": "string"
}
},
- "items": {
+ "users": {
"type": "array",
"items": {
- "$ref": "#/definitions/ProductItem"
+ "type": "string"
}
},
- "type": {
- "type": "integer"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
+ "replied_user": {
+ "type": "boolean"
}
},
- "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"
- ]
+ "additionalProperties": false
},
- "CountryPrice": {
+ "components": {
+ "type": "array",
+ "items": {}
+ },
+ "file": {
"type": "object",
"properties": {
- "country_code": {
+ "filename": {
"type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
}
},
"additionalProperties": false,
"required": [
- "country_code",
- "prices"
+ "filename"
]
},
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
+ "payload_json": {
+ "type": "string"
+ },
+ "attachments": {
+ "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
},
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ }
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "thread_name": {
+ "type": "string"
+ },
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "ProductItem": {
+ "message_reference": {
"type": "object",
"properties": {
- "type": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- },
- "sku_id": {
+ "message_id": {
"type": "string"
},
- "asset": {
+ "channel_id": {
"type": "string"
},
- "label": {
+ "guild_id": {
"type": "string"
},
- "palette": {
- "type": "string"
+ "fail_if_not_exists": {
+ "type": "boolean"
}
},
"additionalProperties": false,
"required": [
- "id",
- "sku_id",
- "type"
+ "message_id"
]
},
- "ProductItemVariant": {
+ "sticker_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "enforce_nonce": {
+ "type": "boolean"
+ },
+ "poll": {
+ "$ref": "#/definitions/PollCreationSchema"
+ }
+ },
+ "additionalProperties": false,
+ "definitions": {
+ "Embed": {
"type": "object",
"properties": {
- "sku_id": {
+ "title": {
"type": "string"
},
- "name": {
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
"type": "string"
},
- "name_localizations": {
- "type": "null"
- },
- "summary": {
+ "description": {
"type": "string"
},
- "summary_localizations": {
- "type": "null"
- },
- "store_listing_id": {
+ "url": {
"type": "string"
},
- "banner": {
- "type": "string"
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
]
},
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
},
- "prices": {
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
"type": "object",
- "additionalProperties": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "country_prices": {
- "$ref": "#/definitions/CountryPrice"
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
}
},
"additionalProperties": false,
"required": [
- "country_prices"
+ "name",
+ "value"
]
}
- },
- "items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItem"
- }
- },
- "type": {
- "type": "integer"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
+ "additionalProperties": false
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WebhookUpdateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "WidgetModifySchema": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "enabled"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TicketCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TicketPatchSchema": {
+ "type": "object",
+ "properties": {
+ "owner_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
+ "resolved": {
+ "type": [
+ "null",
+ "boolean"
]
},
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
+ "public": {
+ "type": [
+ "null",
+ "boolean"
+ ]
+ },
+ "closed": {
+ "type": [
+ "null",
+ "boolean"
]
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MessageThreadCreationSchema": {
+ "type": "object",
+ "properties": {
+ "auto_archive_duration": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "location": {
+ "type": "string"
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationCommandCreateSchema": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "name_localizations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "description": {
+ "type": "string"
+ },
+ "description_localizations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationCommandOption"
+ }
+ },
+ "default_member_permissions": {
+ "type": "string"
+ },
+ "dm_permission": {
+ "type": "boolean"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "integration_types": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationIntegrationType"
+ }
+ },
+ "contexts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InteractionContextType"
+ }
+ },
+ "handler": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BulkApplicationCommandCreateSchema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationCommandCreateSchema"
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ThreadCreationSchema": {
+ "type": "object",
+ "properties": {
+ "auto_archive_duration": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 11,
+ 12
+ ],
+ "type": "number"
+ },
+ "invitable": {
+ "type": "boolean"
+ },
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "location": {
+ "type": "string"
},
- "ItemRowShopBlock": {
+ "message": {
"type": "object",
"properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
+ "content": {
"type": "string"
},
- "banner_asset": {
- "$ref": "#/definitions/StaticAnimatedAsset"
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
},
- "logo_url": {
- "type": "string"
+ "allowed_mentions": {
+ "type": "object",
+ "properties": {
+ "parse": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "replied_user": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
+ "components": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ {
+ "type": "null"
+ }
]
},
- "summary": {
- "type": "string"
- },
- "ranked_sku_ids": {
+ "sticker_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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
},
- "subblocks": {
+ "activity": {
+ "$ref": "#/definitions/MessageActivity"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "attachments": {
"type": "array",
"items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "uploaded_filename": {
+ "type": "string"
+ },
+ "original_content_type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "uploaded_filename"
+ ]
+ }
+ ]
}
}
},
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "definitions": {
+ "Embed": {
"type": "object",
"properties": {
- "type": {
- "type": "integer"
- },
- "category_store_listing_id": {
+ "title": {
"type": "string"
},
- "name": {
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
"type": "string"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
- },
- "banner_url": {
+ "description": {
"type": "string"
},
- "body_text": {
- "type": [
- "null",
- "string"
- ]
+ "url": {
+ "type": "string"
},
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
},
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "color": {
+ "type": "integer"
},
- "sorted_sku_ids": {
+ "footer": {
"type": "object",
"properties": {
- "recommended": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
+ "text": {
+ "type": "string"
},
- "popular": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "popular",
- "recommended"
+ "text"
]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
},
- "id": {
- "type": "string"
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
},
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
},
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
},
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
"type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
+ },
+ "url": {
"type": "string"
}
- ],
- "minItems": 1,
- "maxItems": 1
+ },
+ "additionalProperties": false
},
- "keyword_filter": {
- "type": "array",
- "items": [
- {
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
"type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
"type": "string"
}
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
+ },
+ "additionalProperties": false
},
- "members": {
+ "fields": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
}
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
}
},
"additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "SendableApplicationCommandDataSchema": {
+ "PostDataSchema": {
"type": "object",
"properties": {
- "id": {},
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "version": {},
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "target_id": {},
- "attachments": {
+ "thread_ids": {
"type": "array",
"items": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
+ "type": "string"
}
}
},
"additionalProperties": false,
"required": [
- "id",
- "name",
- "version"
+ "thread_ids"
],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "TagCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
},
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
+ "moderated": {
+ "type": [
+ "null",
+ "boolean"
]
},
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
+ "emoji_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
+ "emoji_name": {
+ "type": [
+ "null",
+ "string"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ChannelCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
},
- "GuildBadgeType": {
+ "type": {
"enum": [
0,
1,
@@ -11909,370313 +9316,6510 @@
2,
20,
21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
+ 255,
3,
- 30,
+ 33,
+ 34,
+ 35,
4,
5,
6,
+ 64,
7,
8,
9
],
"type": "number"
},
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
+ "id": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
]
},
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "parent_id": {
+ "type": "string"
},
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
},
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
},
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "position": {
+ "type": "integer"
+ },
+ "invitable": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
]
},
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
+ "auto_archive_duration": {
+ "type": "integer"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "VoiceIdentifySchema": {
+ "type": "object",
+ "properties": {
+ "server_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "video": {
+ "type": "boolean"
+ },
+ "streams": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "audio",
+ "screen",
+ "video"
+ ],
+ "type": "string"
+ },
+ "rid": {
"type": "string"
+ },
+ "quality": {
+ "type": "integer"
}
},
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
+ "additionalProperties": false,
+ "required": [
+ "quality",
+ "rid",
+ "type"
+ ]
+ }
},
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
+ "max_secure_frames_version": {
+ "type": "integer"
+ },
+ "max_dave_protocol_version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "server_id",
+ "session_id",
+ "token",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "VoiceVideoSchema": {
+ "type": "object",
+ "properties": {
+ "audio_ssrc": {
+ "type": "integer"
+ },
+ "video_ssrc": {
+ "type": "integer"
+ },
+ "rtx_ssrc": {
+ "type": "integer"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "streams": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "audio",
+ "screen",
+ "video"
+ ],
+ "type": "string"
+ },
+ "rid": {
+ "type": "string"
+ },
+ "ssrc": {
+ "type": "integer"
+ },
+ "active": {
+ "type": "boolean"
+ },
+ "quality": {
+ "type": "integer"
+ },
+ "rtx_ssrc": {
+ "type": "integer"
+ },
+ "max_bitrate": {
+ "type": "integer"
+ },
+ "max_framerate": {
+ "type": "integer"
+ },
+ "max_resolution": {
"type": "object",
"properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
+ "type": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "_errors"
+ "height",
+ "type",
+ "width"
]
}
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
+ },
+ "additionalProperties": false,
+ "required": [
+ "active",
+ "max_bitrate",
+ "max_framerate",
+ "max_resolution",
+ "quality",
+ "rid",
+ "rtx_ssrc",
+ "ssrc",
+ "type"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "audio_ssrc",
+ "video_ssrc"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CreateReportSchema": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "string"
+ },
+ "variant": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
},
- "CaptchaRequiredResponse": {
+ "language": {
+ "type": "string"
+ },
+ "breadcrumbs": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "elements": {
"type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
+ "additionalProperties": {
+ "type": "array",
+ "items": {
"type": "string"
}
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
+ }
},
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "channel_id": {
+ "type": "string"
},
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
+ "message_id": {
+ "type": "string"
},
- "ClassificationAction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "action_type": {
- "$ref": "#/definitions/ClassificationActionType"
- },
- "descriptions": {
- "type": "array",
- "items": {
+ "guild_id": {
+ "type": "string"
+ },
+ "stage_instance_id": {
+ "type": "string"
+ },
+ "guild_scheduled_event_id": {
+ "type": "string"
+ },
+ "reported_user_id": {
+ "type": "string"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "widget_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "breadcrumbs",
+ "language",
+ "name",
+ "variant",
+ "version"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SessionsLogoutSchema": {
+ "type": "object",
+ "properties": {
+ "session_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "session_id_hashes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GetSessionsResponse": {
+ "type": "object",
+ "properties": {
+ "user_sessions": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "id_hash": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ }
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "approx_last_used_time": {
+ "type": "string"
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "location": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "location",
+ "os",
+ "version"
+ ]
+ },
+ "last_seen": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "last_seen_ip": {
+ "type": "string"
+ },
+ "last_seen_location": {
"type": "string"
}
- }
- },
- "additionalProperties": false,
- "required": [
- "action_type",
- "descriptions",
- "id"
- ]
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "approx_last_used_time",
+ "client_info",
+ "client_status",
+ "id",
+ "id_hash",
+ "status"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "user_sessions"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationCommandOption": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/ApplicationCommandOptionType"
},
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "name": {
+ "type": "string"
},
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
+ "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#"
+ },
+ "ApplicationCommandIndexPermissions": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "type": "boolean"
},
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "roles": {
+ "$ref": "#/definitions/Record"
},
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "channels": {
+ "$ref": "#/definitions/Record"
+ }
+ },
+ "additionalProperties": false,
+ "$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#"
+ },
+ "JsonRpcError": {
+ "description": "JSON-RPC 2.0 error object",
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
},
- "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"
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "OpenAiChatCompletionObject": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "object": {
+ "type": "string",
+ "const": "chat.completion"
+ },
+ "created": {
+ "type": "integer"
+ },
+ "model": {
+ "type": "string"
+ },
+ "choices": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string"
+ },
+ "content": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "refusal": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "annotations": {
+ "type": "array",
+ "items": {}
+ },
+ "tool_calls": {
+ "type": "array",
+ "items": {}
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "content",
+ "role"
+ ]
+ },
+ "logprobs": {},
+ "finish_reason": {
+ "type": [
+ "null",
+ "string"
+ ]
}
},
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "additionalProperties": false,
+ "required": [
+ "finish_reason",
+ "index",
+ "message"
+ ]
+ }
},
- "GuildMetadata": {
+ "usage": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
+ "prompt_tokens": {
+ "type": "integer"
},
- "icon": {
- "type": "string"
+ "completion_tokens": {
+ "type": "integer"
+ },
+ "total_tokens": {
+ "type": "integer"
+ },
+ "prompt_tokens_details": {
+ "type": "object",
+ "properties": {
+ "cached_tokens": {
+ "type": "integer"
+ },
+ "audio_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
},
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
+ "completion_tokens_details": {
+ "type": "object",
+ "properties": {
+ "reasoning_tokens": {
+ "type": "integer"
+ },
+ "audio_tokens": {
+ "type": "integer"
+ },
+ "accepted_prediction_tokens": {
+ "type": "integer"
+ },
+ "rejected_prediction_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
}
},
"additionalProperties": false,
"required": [
- "member_type",
- "name"
+ "completion_tokens",
+ "prompt_tokens",
+ "total_tokens"
]
},
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
+ "service_tier": {
+ "type": "string"
},
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
+ "system_fingerprint": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "choices",
+ "created",
+ "id",
+ "model",
+ "object",
+ "usage"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "OpenAIResponseObject": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "AppealEligibility": {
+ "object": {
+ "type": "string",
+ "const": "response"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "status": {
"enum": [
- 1,
- 2,
- 3
+ "cancelled",
+ "completed",
+ "failed",
+ "in_progress"
],
- "type": "number"
+ "type": "string"
},
- "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": [
- "null",
- "string"
- ]
- },
- "styles": {
- "$ref": "#/definitions/CollectiblesCategoryStyle"
- },
- "logo": {
- "type": "string"
- },
- "hero_ranking": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
+ "error": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "incomplete_details": {},
+ "instructions": {},
+ "max_output_tokens": {
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "model": {
+ "type": "string"
+ },
+ "output": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "message"
+ },
+ "id": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ },
+ "content": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "output_text"
+ },
+ "text": {
+ "type": "string"
+ },
+ "annotations": {
+ "type": "array",
+ "items": {}
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "annotations",
+ "text",
+ "type"
+ ]
}
- ]
- },
- "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": {
+ "additionalProperties": false,
+ "required": [
+ "content",
+ "id",
+ "role",
+ "status",
+ "type"
+ ]
+ }
+ },
+ "output_text": {
+ "type": "string"
+ },
+ "parallel_tool_calls": {
+ "type": "boolean"
+ },
+ "previous_response_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "reasoning": {
+ "type": "object",
+ "properties": {
+ "effort": {
"type": [
"null",
"string"
]
},
- "hero_logo": {
+ "summary": {
"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"
+ "effort",
+ "summary"
]
},
- "CollectiblesCategoryStyle": {
+ "store": {
+ "type": "boolean"
+ },
+ "temperature": {
+ "type": "integer"
+ },
+ "text": {
"type": "object",
"properties": {
- "background_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "button_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "confetti_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
+ "format": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "type"
+ ]
}
},
"additionalProperties": false,
"required": [
- "background_colors",
- "button_colors",
- "confetti_colors"
+ "format"
]
},
- "CollectiblesCategoryProductItem": {
+ "tool_choice": {
+ "type": "string"
+ },
+ "tools": {
+ "type": "array",
+ "items": {}
+ },
+ "top_p": {
+ "type": "integer"
+ },
+ "truncation": {
+ "type": "string"
+ },
+ "usage": {
"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"
+ "input_tokens": {
+ "type": "integer"
},
- "prices": {
+ "input_tokens_details": {
"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"
+ "properties": {
+ "cached_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
},
- "premium_type": {
+ "output_tokens": {
"type": "integer"
},
- "category_sku_id": {
- "type": "string"
+ "output_tokens_details": {
+ "type": "object",
+ "properties": {
+ "reasoning_tokens": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
},
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
+ "total_tokens": {
+ "type": "integer"
}
},
"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"
+ "input_tokens",
+ "output_tokens",
+ "total_tokens"
]
},
- "CountryPrice": {
+ "user": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "metadata": {
+ "$ref": "#/definitions/Record"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "error",
+ "id",
+ "incomplete_details",
+ "instructions",
+ "max_output_tokens",
+ "metadata",
+ "model",
+ "object",
+ "output",
+ "output_text",
+ "parallel_tool_calls",
+ "previous_response_id",
+ "reasoning",
+ "status",
+ "store",
+ "temperature",
+ "text",
+ "tool_choice",
+ "tools",
+ "top_p",
+ "truncation",
+ "usage",
+ "user"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "OpenAICreateEmbeddingsObject": {
+ "type": "object",
+ "properties": {
+ "object": {
+ "type": "string",
+ "const": "list"
+ },
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OpenAIEmbeddingsObject"
+ }
+ },
+ "model": {
+ "type": "string"
+ },
+ "usage": {
"type": "object",
"properties": {
- "country_code": {
- "type": "string"
+ "prompt_tokens": {
+ "type": "integer"
},
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
+ "total_tokens": {
+ "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "country_code",
- "prices"
+ "prompt_tokens",
+ "total_tokens"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "data",
+ "model",
+ "object",
+ "usage"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "OpenAIEmbeddingsObject": {
+ "type": "object",
+ "properties": {
+ "object": {
+ "type": "string",
+ "const": "embedding"
+ },
+ "embedding": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "index": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "embedding",
+ "index",
+ "object"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "OpenAIConversationObject": {
+ "description": "OpenAI Conversations API Conversation object",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "object": {
+ "type": "string",
+ "const": "conversation"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "metadata": {
+ "$ref": "#/definitions/Record"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "id",
+ "object"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Blob": {
+ "description": "`Blob` class is a global reference for `import { Blob } from 'node:buffer'`\nhttps://nodejs.org/api/buffer.html#class-blob",
+ "type": "object",
+ "properties": {
+ "size": {
+ "description": "The total size of the `Blob` in bytes.",
+ "type": "integer"
+ },
+ "type": {
+ "description": "The content-type of the `Blob`.",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "size",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ArrayBufferLike": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ArrayBuffer"
+ },
+ {
+ "$ref": "#/definitions/SharedArrayBuffer"
+ }
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ArrayBuffer": {
+ "type": "object",
+ "properties": {
+ "byteLength": {
+ "type": "integer"
+ },
+ "__@toStringTag@1293": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@toStringTag@1293",
+ "byteLength"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SharedArrayBuffer": {
+ "type": "object",
+ "properties": {
+ "byteLength": {
+ "type": "integer"
},
- "PriceEntry": {
+ "__@species@16433": {
+ "$ref": "#/definitions/SharedArrayBuffer"
+ },
+ "__@toStringTag@1293": {
+ "type": "string",
+ "const": "SharedArrayBuffer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@species@16433",
+ "__@toStringTag@1293",
+ "byteLength"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "MessageName": {
+ "enum": [
+ "authenticationCleartextPassword",
+ "authenticationMD5Password",
+ "authenticationOk",
+ "authenticationSASL",
+ "authenticationSASLContinue",
+ "authenticationSASLFinal",
+ "backendKeyData",
+ "bindComplete",
+ "closeComplete",
+ "commandComplete",
+ "copyData",
+ "copyDone",
+ "copyInResponse",
+ "copyOutResponse",
+ "dataRow",
+ "emptyQuery",
+ "error",
+ "noData",
+ "notice",
+ "notification",
+ "parameterDescription",
+ "parameterStatus",
+ "parseComplete",
+ "portalSuspended",
+ "readyForQuery",
+ "replicationStart",
+ "rowDescription"
+ ],
+ "type": "string",
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ErrorList": {
+ "type": "object",
+ "additionalProperties": false,
+ "$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#"
+ },
+ "InteractionData": {
+ "type": "object",
+ "properties": {
+ "application_command": {
"type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
+ "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#"
+ },
+ "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#"
+ },
+ "InteractionCallbackType": {
+ "type": "number",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "thread_id": {
+ "type": "string"
+ },
+ "thread": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "pinned_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
},
- "exponent": {
- "type": "integer"
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
]
},
- "ProductItem": {
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
"type": "object",
"properties": {
"type": {
"type": "integer"
},
- "id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "asset": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "palette": {
+ "party_id": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
- "id",
- "sku_id",
+ "party_id",
"type"
]
},
- "ProductItemVariant": {
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
"type": "object",
"properties": {
- "sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "type": "null"
- },
- "summary": {
+ "message_id": {
"type": "string"
},
- "summary_localizations": {
- "type": "null"
- },
- "store_listing_id": {
+ "channel_id": {
"type": "string"
},
- "banner": {
+ "guild_id": {
"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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
+ "additionalProperties": false
},
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
},
- "CollectiblesMarketingItem": {
+ "interaction": {
"type": "object",
"properties": {
- "type": {
- "type": "integer"
+ "id": {
+ "type": "string"
},
- "version": {
- "type": "integer"
+ "type": {
+ "$ref": "#/definitions/InteractionType"
},
- "title": {
+ "name": {
"type": "string"
},
- "body": {
+ "user_id": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
- "body",
- "title",
+ "id",
+ "name",
"type",
- "version"
+ "user_id"
]
},
- "ItemRowShopBlock": {
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "interaction_metadata": {
"type": "object",
"properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
+ "id": {
"type": "string"
},
- "name": {
- "type": "string"
+ "type": {
+ "$ref": "#/definitions/InteractionType"
},
- "category_store_listing_id": {
+ "user_id": {
"type": "string"
},
- "banner_asset": {
- "$ref": "#/definitions/StaticAnimatedAsset"
+ "authorizing_integration_owners": {
+ "$ref": "#/definitions/Record"
},
- "logo_url": {
+ "original_response_message_id": {
"type": "string"
},
- "unpublished_at": {
- "type": [
- "null",
- "string"
- ]
- },
- "summary": {
+ "interacted_message_id": {
"type": "string"
},
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "name": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "banner_asset",
- "category_sku_id",
- "category_store_listing_id",
- "logo_url",
- "name",
- "ranked_sku_ids",
- "summary",
+ "id",
"type",
- "unpublished_at"
+ "user_id"
]
},
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
+ "message_snapshots": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MessageSnapshot"
+ }
},
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
+ "reply_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
+ "username": {
+ "type": "string"
},
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
+ "avatar": {
+ "type": "string"
},
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
},
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
+ "name": {
+ "type": "string"
},
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
+ "icon": {
+ "type": [
+ "null",
+ "string"
]
},
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
+ "type": {
+ "$ref": "#/definitions/ChannelType"
},
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "thread_members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ThreadMember"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "HubDirectoryEntry": {
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "thread_metadata": {
+ "$ref": "#/definitions/ThreadMetadata"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "message_count": {
+ "type": "integer"
+ },
+ "total_message_sent": {
+ "type": "integer"
+ },
+ "available_tags": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Tag"
+ }
+ },
+ "applied_tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ChannelType": {
+ "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,
+ 33,
+ 34,
+ 35,
+ 64,
+ 255
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
"type": "object",
"properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
},
- "directory_channel_id": {
+ "hash": {
"type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
+ "valid_tokens_since"
]
},
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
},
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "avatar_decoration_data": {
+ "$ref": "#/definitions/AvatarDecorationData"
+ },
+ "display_name_styles": {
+ "$ref": "#/definitions/DisplayNameStyle"
+ },
+ "collectibles": {
+ "$ref": "#/definitions/Collectibles"
+ },
+ "primary_guild": {
+ "$ref": "#/definitions/PrimaryGuild"
+ },
+ "tag": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "system",
+ "tag",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "session_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
},
- "TenorGifResponse": {
+ "client_info": {
"type": "object",
"properties": {
- "id": {
- "type": "string"
- },
- "title": {
+ "platform": {
"type": "string"
},
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
+ "os": {
"type": "string"
},
- "width": {
- "type": "integer"
- },
- "height": {
+ "version": {
"type": "integer"
},
- "preview": {
+ "location": {
"type": "string"
}
},
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
+ "additionalProperties": false
},
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
},
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
+ "status": {
+ "$ref": "#/definitions/Status"
},
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
+ "is_admin_session": {
+ "type": "boolean"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "last_seen": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "last_seen_ip": {
+ "type": "string"
+ },
+ "last_seen_location": {
+ "type": "string"
+ },
+ "last_seen_location_info": {
+ "$ref": "#/definitions/ExtendedLocationInfo"
+ },
+ "session_nickname": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "created_at",
+ "is_admin_session",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ],
+ "$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"
},
- "AutomodMentionSpamRuleSchema": {
+ "timestamps": {
"type": "object",
"properties": {
- "mention_total_limit": {
+ "start": {
"type": "integer"
},
- "mention_raid_protection_enabled": {
- "type": "boolean"
+ "end": {
+ "type": "integer"
}
},
"additionalProperties": false,
"required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
+ "end",
+ "start"
]
},
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
+ "application_id": {
+ "type": "string"
},
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
},
- "AutomodCustomWordsRuleSchema": {
+ "emoji": {
"type": "object",
"properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
+ "name": {
+ "type": "string"
},
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
+ "id": {
+ "type": "string"
},
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
+ "animated": {
+ "type": "boolean"
}
},
"additionalProperties": false,
"required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
+ "animated",
+ "name"
]
},
- "GuildSubscriptionSchema": {
+ "party": {
"type": "object",
"properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
+ "id": {
+ "type": "string"
},
- "members": {
+ "size": {
"type": "array",
"items": {
- "type": "string"
+ "type": "integer"
}
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
}
},
"additionalProperties": false
},
- "LobbyMemberSchema": {
+ "assets": {
"type": "object",
"properties": {
- "id": {
+ "large_image": {
"type": "string"
},
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
+ "large_text": {
"type": "string"
},
- "type": {},
- "name": {
+ "small_image": {
"type": "string"
},
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
+ "small_text": {
+ "type": "string"
+ }
},
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
+ "additionalProperties": false
},
- "UploadAttachmentRequest": {
+ "secrets": {
"type": "object",
"properties": {
- "id": {
+ "join": {
"type": "string"
},
- "filename": {
+ "spectate": {
"type": "string"
},
- "file_size": {
- "type": "integer"
- },
- "is_clip": {
- "type": "boolean"
- },
- "original_content_type": {
+ "match": {
"type": "string"
}
},
- "additionalProperties": false,
- "required": [
- "file_size",
- "filename"
- ]
+ "additionalProperties": false
},
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
},
- "CreateWebAuthnCredentialSchema": {
+ "metadata": {
"type": "object",
"properties": {
- "credential": {
+ "context_uri": {
"type": "string"
},
- "name": {
+ "album_id": {
"type": "string"
},
- "ticket": {
- "type": "string"
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
"additionalProperties": false,
"required": [
- "credential",
- "name",
- "ticket"
+ "album_id",
+ "artist_ids"
]
+ },
+ "session_id": {
+ "type": "string"
}
},
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "SendableMessageComponentDataSchema": {
+ "ActivityType": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ClientStatus": {
"type": "object",
"properties": {
- "component_type": {},
- "type": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
+ "desktop": {
+ "type": "string"
},
- "custom_id": {
+ "mobile": {
"type": "string"
},
- "values": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "array",
- "items": {}
- }
- ]
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
}
},
"additionalProperties": false,
- "required": [
- "custom_id"
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "type": "string",
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ExtendedLocationInfo": {
+ "type": "object",
+ "properties": {
+ "is_eu": {
+ "type": "boolean"
},
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
+ "city": {
+ "type": "string"
},
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
+ "region": {
+ "type": "string"
},
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "region_code": {
+ "type": "string"
},
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
+ "country_name": {
+ "type": "string"
},
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "country_code": {
+ "type": "string"
},
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "continent_name": {
+ "type": "string"
},
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
+ "continent_code": {
+ "type": "string"
},
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
+ "latitude": {
+ "type": "integer"
},
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
+ "longitude": {
+ "type": "integer"
},
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "postal": {
+ "type": "string"
},
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
+ "calling_code": {
+ "type": "string"
},
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "flag": {
+ "type": "string"
},
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
+ "emoji_flag": {
+ "type": "string"
},
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
+ "emoji_unicode": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "calling_code",
+ "city",
+ "continent_code",
+ "continent_name",
+ "country_code",
+ "country_name",
+ "emoji_flag",
+ "emoji_unicode",
+ "flag",
+ "is_eu",
+ "latitude",
+ "longitude",
+ "postal",
+ "region",
+ "region_code"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
},
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RelationshipType": {
+ "type": "number",
+ "enum": [
+ 4,
+ 3,
+ 2,
+ 1
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
},
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
+ "default": []
},
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
},
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
]
},
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
},
- "captcha_service": {
- "type": "string"
+ {
+ "type": "null"
}
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
},
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
+ "default": []
},
- "Classification": {
- "type": "object",
- "properties": {
- "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"
- }
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
},
- "additionalProperties": false,
- "required": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "default": []
},
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
},
- "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"
- ]
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
},
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "locale": {
+ "type": "string",
+ "default": "en-US"
},
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
},
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
},
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
},
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
},
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
},
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
+ "default": []
},
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
},
- "AccountStandingState": {
+ "status": {
"enum": [
- 100,
- 200,
- 300,
- 400,
- 500
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
],
- "type": "number"
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
},
- "AppealEligibility": {
+ "theme": {
"enum": [
- 1,
- 2,
- 3
+ "dark",
+ "light"
],
- "type": "number"
+ "type": "string",
+ "default": "dark"
},
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
},
- "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"
- ]
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
},
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": [
+ "null",
+ "integer"
]
},
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": [
+ "null",
+ "integer"
]
},
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
+ "name": {
+ "type": [
+ "null",
+ "string"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "guild_ids"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
},
- "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"
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "AvatarDecorationData": {
+ "type": "object",
+ "properties": {
+ "asset": {
+ "type": "string"
+ },
+ "sku_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"
+ },
+ "expires_at": {
+ "type": [
+ "null",
+ "string"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "asset",
+ "expires_at",
+ "sku_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "DisplayNameStyle": {
+ "type": "object",
+ "properties": {
+ "font_id": {
+ "type": "integer"
},
- "ProductItemVariant": {
- "type": "object",
- "properties": {
- "sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "type": "null"
- },
- "summary": {
- "type": "string"
+ "effect_id": {
+ "type": "integer"
+ },
+ "colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "colors",
+ "effect_id",
+ "font_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Collectibles": {
+ "type": "object",
+ "properties": {
+ "nameplate": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/NameplateData"
},
- "summary_localizations": {
+ {
"type": "null"
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "nameplate"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "NameplateData": {
+ "type": "object",
+ "properties": {
+ "asset": {
+ "type": "string"
},
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
+ "sku_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"
},
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
+ "label": {
+ "type": "string"
+ },
+ "palette": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": [
+ "null",
+ "integer"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "asset",
+ "expires_at",
+ "label",
+ "palette",
+ "sku_id"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "PrimaryGuild": {
+ "type": "object",
+ "properties": {
+ "identity_enabled": {
+ "type": [
+ "null",
+ "boolean"
]
},
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
+ "identity_guild_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
+ "tag": {
+ "type": [
+ "null",
+ "string"
]
},
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
+ "badge": {
+ "type": [
+ "null",
+ "string"
]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "badge",
+ "identity_enabled",
+ "identity_guild_id",
+ "tag"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ThreadMember": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
},
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
+ "id": {
+ "type": "string"
},
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
+ "channel": {
+ "$ref": "#/definitions/Channel"
},
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
+ "member_idx": {
+ "type": "string"
},
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
+ "member": {
+ "$ref": "#/definitions/Member"
},
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
+ "join_timestamp": {
+ "type": "string",
+ "format": "date-time"
},
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
+ "muted": {
+ "type": "boolean"
},
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
+ "mute_config": {
+ "$ref": "#/definitions/ThreadMemberMuteConfig"
},
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
+ "flags": {
+ "$ref": "#/definitions/ThreadMemberFlags"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "flags",
+ "id",
+ "index",
+ "join_timestamp",
+ "member",
+ "member_idx",
+ "muted"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
},
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
+ "id": {
+ "type": "string"
},
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
+ "user": {
+ "$ref": "#/definitions/User"
},
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
+ "guild_id": {
+ "type": "string"
},
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
+ "guild": {
+ "$ref": "#/definitions/Guild"
},
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
+ "nick": {
+ "type": "string"
},
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
},
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
},
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
+ "premium_since": {
+ "type": "integer"
},
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
+ "deaf": {
+ "type": "boolean"
},
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
+ "mute": {
+ "type": "boolean"
},
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
+ "pending": {
+ "type": "boolean"
},
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "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"
},
- "layout_type": {
- "type": "integer"
+ {
+ "type": "null"
}
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
]
},
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
+ "avatar_decoration_data": {
+ "$ref": "#/definitions/AvatarDecorationData"
+ },
+ "display_name_styles": {
+ "$ref": "#/definitions/DisplayNameStyle"
+ },
+ "collectibles": {
+ "$ref": "#/definitions/Collectibles"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "UploadAttachmentRequest": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- },
- "file_size": {
- "type": "integer"
- },
- "is_clip": {
- "type": "boolean"
- },
- "original_content_type": {
- "type": "string"
- }
+ "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"
},
- "additionalProperties": false,
- "required": [
- "file_size",
- "filename"
+ "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"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "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"
]
},
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": [
+ "null",
+ "string"
]
},
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
+ "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."
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
}
},
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "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#"
},
- "SendableModalSubmitDataSchema": {
+ "Ban": {
"type": "object",
"properties": {
- "id": {},
- "custom_id": {
+ "user_id": {
"type": "string"
},
- "attachments": {
- "type": "array",
- "items": {}
+ "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": [
- "custom_id",
- "id"
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "user",
+ "user_id"
],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
},
- "Record": {
- "type": "object",
- "additionalProperties": false
+ "guild": {
+ "$ref": "#/definitions/Guild"
},
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
+ "color": {
+ "type": "integer"
},
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
+ "hoist": {
+ "type": "boolean"
},
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "managed": {
+ "type": "boolean"
},
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
+ "mentionable": {
+ "type": "boolean"
},
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
+ "name": {
+ "type": "string"
},
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
+ "permissions": {
+ "type": "string"
},
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
+ "position": {
+ "type": "integer"
},
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
+ "icon": {
+ "type": "string"
},
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
+ "unicode_emoji": {
+ "type": "string"
},
- "CustomStatus": {
+ "tags": {
"type": "object",
"properties": {
- "emoji_id": {
+ "bot_id": {
"type": "string"
},
- "emoji_name": {
+ "integration_id": {
"type": "string"
},
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
+ "premium_subscriber": {
+ "type": "boolean"
}
},
"additionalProperties": false
},
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationCreateSchema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "team_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationModifySchema": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "cover_image": {
- "type": "string"
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "max_participants": {
- "type": [
- "null",
- "integer"
- ]
- },
- "name": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "role_connections_verification_url": {
- "type": "string"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "bot_public": {
- "type": "boolean"
- },
- "bot_require_code_grant": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- },
- "custom_install_url": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "GuildProfileResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon_hash": {
- "type": [
- "null",
- "string"
- ]
- },
- "member_count": {
- "type": "integer"
- },
- "online_count": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "brand_color_primary": {
- "type": "string"
- },
- "banner_hash": {
- "type": [
- "null",
- "string"
- ]
- },
- "game_application_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "game_activity": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/GameActivity"
- }
- },
- "tag": {
- "type": [
- "null",
- "string"
- ]
- },
- "badge": {
- "$ref": "#/definitions/GuildBadgeType"
- },
- "badge_color_primary": {
- "type": "string"
- },
- "badge_color_secondary": {
- "type": "string"
- },
- "badge_hash": {
- "type": "string"
- },
- "traits": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildTrait"
- }
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "visibility": {
- "$ref": "#/definitions/GuildVisibilityLevel"
- },
- "custom_banner_hash": {
- "type": [
- "null",
- "string"
- ]
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "badge",
- "badge_color_primary",
- "badge_color_secondary",
- "badge_hash",
- "banner_hash",
- "brand_color_primary",
- "custom_banner_hash",
- "description",
- "features",
- "game_activity",
- "game_application_ids",
- "icon_hash",
- "id",
- "member_count",
- "name",
- "online_count",
- "premium_subscription_count",
- "premium_tier",
- "tag",
- "traits",
- "visibility"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "GuildAvailableSchema": {
- "type": "object",
- "properties": {
- "id": {},
- "available": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "available",
- "id"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "UserSettingsUpdateSchema": {
- "type": "object",
- "properties": {
- "afk_timeout": {
- "type": "integer"
- },
- "allow_accessibility_detection": {
- "type": "boolean"
- },
- "animate_emoji": {
- "type": "boolean"
- },
- "animate_stickers": {
- "type": "integer"
- },
- "contact_sync_enabled": {
- "type": "boolean"
- },
- "convert_emoticons": {
- "type": "boolean"
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ]
- },
- "default_guilds_restricted": {
- "type": "boolean"
- },
- "detect_platform_accounts": {
- "type": "boolean"
- },
- "developer_mode": {
- "type": "boolean"
- },
- "disable_games_tab": {
- "type": "boolean"
- },
- "enable_tts_command": {
- "type": "boolean"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "friend_discovery_flags": {
- "type": "integer"
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean"
- },
- "gif_auto_play": {
- "type": "boolean"
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- }
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "inline_attachment_media": {
- "type": "boolean"
- },
- "inline_embed_media": {
- "type": "boolean"
- },
- "locale": {
- "type": "string"
- },
- "message_display_compact": {
- "type": "boolean"
- },
- "native_phone_integration_enabled": {
- "type": "boolean"
- },
- "render_embeds": {
- "type": "boolean"
- },
- "render_reactions": {
- "type": "boolean"
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "show_current_game": {
- "type": "boolean"
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "stream_notifications_enabled": {
- "type": "boolean"
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string"
- },
- "timezone_offset": {
- "type": "integer"
- },
- "view_nsfw_guilds": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "UserSettingsSchema": {
- "type": "object",
- "properties": {
- "afk_timeout": {
- "type": "integer"
- },
- "allow_accessibility_detection": {
- "type": "boolean"
- },
- "animate_emoji": {
- "type": "boolean"
- },
- "animate_stickers": {
- "type": "integer"
- },
- "contact_sync_enabled": {
- "type": "boolean"
- },
- "convert_emoticons": {
- "type": "boolean"
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ]
- },
- "default_guilds_restricted": {
- "type": "boolean"
- },
- "detect_platform_accounts": {
- "type": "boolean"
- },
- "developer_mode": {
- "type": "boolean"
- },
- "disable_games_tab": {
- "type": "boolean"
- },
- "enable_tts_command": {
- "type": "boolean"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "friend_discovery_flags": {
- "type": "integer"
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean"
- },
- "gif_auto_play": {
- "type": "boolean"
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- }
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "inline_attachment_media": {
- "type": "boolean"
- },
- "inline_embed_media": {
- "type": "boolean"
- },
- "locale": {
- "type": "string"
- },
- "message_display_compact": {
- "type": "boolean"
- },
- "native_phone_integration_enabled": {
- "type": "boolean"
- },
- "render_embeds": {
- "type": "boolean"
- },
- "render_reactions": {
- "type": "boolean"
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "show_current_game": {
- "type": "boolean"
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "stream_notifications_enabled": {
- "type": "boolean"
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string"
- },
- "timezone_offset": {
- "type": "integer"
- },
- "view_nsfw_guilds": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "IdentifySchema": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "properties": {
- "type": "object",
- "properties": {
- "os": {
- "type": "string"
- },
- "os_atch": {
- "type": "string"
- },
- "browser": {
- "type": "string"
- },
- "device": {
- "type": "string"
- },
- "$os": {
- "type": "string"
- },
- "$browser": {
- "type": "string"
- },
- "$device": {
- "type": "string"
- },
- "browser_user_agent": {
- "type": "string"
- },
- "browser_version": {
- "type": "string"
- },
- "os_version": {
- "type": "string"
- },
- "referrer": {
- "type": "string"
- },
- "referring_domain": {
- "type": "string"
- },
- "referrer_current": {
- "type": "string"
- },
- "referring_domain_current": {
- "type": "string"
- },
- "release_channel": {
- "enum": [
- "canary",
- "dev",
- "ptb",
- "stable"
- ],
- "type": "string"
- },
- "client_build_number": {
- "type": "integer"
- },
- "client_event_source": {
- "type": "string"
- },
- "client_version": {
- "type": "string"
- },
- "system_locale": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "intents": {
- "type": "bigint"
- },
- "presence": {},
- "compress": {
- "type": "boolean"
- },
- "large_threshold": {
- "type": "integer"
- },
- "largeThreshold": {
- "type": "integer"
- },
- "shard": {
- "minItems": 2,
- "maxItems": 2,
- "type": "array",
- "items": {
- "type": "bigint"
- }
- },
- "guild_subscriptions": {
- "type": "boolean"
- },
- "capabilities": {
- "type": "integer"
- },
- "client_state": {
- "type": "object",
- "properties": {
- "guild_hashes": {},
- "highest_last_message_id": {
- "type": [
- "string",
- "integer"
- ]
- },
- "read_state_version": {
- "type": "integer"
- },
- "user_guild_settings_version": {
- "type": "integer"
- },
- "user_settings_version": {
- "type": "integer"
- },
- "useruser_guild_settings_version": {
- "type": "integer"
- },
- "private_channels_version": {
- "type": "integer"
- },
- "guild_versions": {},
- "api_code_version": {
- "type": "integer"
- },
- "initial_guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "clientState": {
- "type": "object",
- "properties": {
- "guildHashes": {},
- "highestLastMessageId": {
- "type": [
- "string",
- "integer"
- ]
- },
- "readStateVersion": {
- "type": "integer"
- },
- "userGuildSettingsVersion": {
- "type": "integer"
- },
- "useruserGuildSettingsVersion": {
- "type": "integer"
- },
- "guildVersions": {},
- "apiCodeVersion": {
- "type": "integer"
- },
- "initialGuildId": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "v": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "properties",
- "token"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "StreamCreateSchema": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- "call",
- "guild"
- ],
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "preferred_region": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "type"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "StreamDeleteSchema": {
- "type": "object",
- "properties": {
- "stream_key": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "stream_key"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "StreamWatchSchema": {
- "type": "object",
- "properties": {
- "stream_key": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "stream_key"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "APIErrorOrCaptchaResponse": {
- "anyOf": [
- {
- "$ref": "#/definitions/APIErrorResponse"
- },
- {
- "$ref": "#/definitions/CaptchaRequiredResponse"
- }
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "AccountStandingResponse": {
- "type": "object",
- "properties": {
- "classifications": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Classification"
- }
- },
- "guild_classifications": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildClassification"
- }
- },
- "account_standing": {
- "type": "object",
- "properties": {
- "state": {
- "$ref": "#/definitions/AccountStandingState"
- }
- },
- "additionalProperties": false,
- "required": [
- "state"
- ]
- },
- "is_dsa_eligible": {
- "type": "boolean"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "is_appeal_eligible": {
- "type": "boolean"
- },
- "appeal_eligibility": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AppealEligibility"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "account_standing",
- "appeal_eligibility",
- "classifications",
- "discriminator",
- "guild_classifications",
- "is_appeal_eligible",
- "is_dsa_eligible",
- "username"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "BackupCodesChallengeResponse": {
- "type": "object",
- "properties": {
- "nonce": {
- "type": "string"
- },
- "regenerate_nonce": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "nonce",
- "regenerate_nonce"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CollectiblesCategoriesResponse": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CollectiblesCategoryItem"
- },
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CollectiblesMarketingResponse": {
- "type": "object",
- "properties": {
- "marketings": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/CollectiblesMarketingItem"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "marketings"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "CollectiblesShopResponse": {
- "type": "object",
- "properties": {
- "shop_blocks": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ItemRowShopBlock"
- },
- {
- "$ref": "#/definitions/BundleTileRowShopBlock"
- },
- {
- "$ref": "#/definitions/ItemCollectionShopBlock"
- }
- ]
- }
- },
- "categories": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CollectiblesCategoryItem"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "categories",
- "shop_blocks"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "DiscoverableGuildsResponse": {
- "type": "object",
- "properties": {
- "total": {
- "type": "integer"
- },
- "guilds": {
- "type": "array",
- "items": {}
- },
- "offset": {
- "type": "integer"
- },
- "limit": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "guilds",
- "limit",
- "offset",
- "total"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "DmMessagesResponseSchema": {
- "type": "array",
- "items": {},
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "EmailDomainLookupResponse": {
- "type": "object",
- "properties": {
- "guilds_info": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/HubGuild"
- }
- },
- "has_matching_guild": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "guilds_info",
- "has_matching_guild"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "EmailDomainLookupVerifyCodeResponse": {
- "type": "object",
- "properties": {
- "guild": {},
- "joined": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "guild",
- "joined"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record"
- }
- },
- "additionalProperties": false
- },
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationIntegrationType": {
- "enum": [
- 0,
- 1
- ],
- "type": "number"
- },
- "InteractionContextType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "InteractionCallbackType": {
- "enum": [
- 1,
- 10,
- 11,
- 12,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionGuild": {
- "type": "object",
- "properties": {
- "id": {},
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "locale": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "features",
- "id",
- "locale"
- ]
- },
- "InteractionData": {
- "type": "object",
- "properties": {
- "application_command": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "attachments": {
- "type": "array",
- "items": {}
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application_command",
- "attachments",
- "id",
- "name",
- "options",
- "type",
- "version"
- ]
- },
- "GameActivity": {
- "type": "object",
- "properties": {
- "activity_level": {
- "type": "integer"
- },
- "activity_score": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "activity_level",
- "activity_score"
- ]
- },
- "GuildBadgeType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 17,
- 18,
- 19,
- 2,
- 20,
- 21,
- 22,
- 23,
- 24,
- 25,
- 26,
- 27,
- 28,
- 29,
- 3,
- 30,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "GuildTrait": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_name": {
- "type": [
- "null",
- "string"
- ]
- },
- "emoji_animated": {
- "type": "boolean"
- },
- "label": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emoji_animated",
- "emoji_id",
- "emoji_name",
- "label",
- "position"
- ]
- },
- "GuildVisibilityLevel": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Classification": {
- "type": "object",
- "properties": {
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "ClassificationType": {
- "enum": [
- 1,
- 100,
- 200,
- 210,
- 220,
- 230,
- 240,
- 250,
- 280,
- 290,
- 3010,
- 3030,
- 310,
- 320,
- 390,
- 4000,
- 4010,
- 4130,
- 4140,
- 5010,
- 5090,
- 5305,
- 5411,
- 5440,
- 5485,
- 600,
- 650,
- 711,
- 720
- ],
- "type": "number"
- },
- "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"
- ]
- },
- "ClassificationActionType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 2,
- 20,
- 22,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "AppealStatus": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/AppealStatusValue"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "AppealStatusValue": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "AppealIngestionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "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": [
- "actions",
- "appeal_ingestion_type",
- "appeal_status",
- "classification_type",
- "description",
- "explainer_link",
- "flagged_content",
- "guild_metadata",
- "id",
- "is_coppa",
- "is_spam",
- "max_expiration_time"
- ]
- },
- "GuildMetadata": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "member_type": {
- "$ref": "#/definitions/GuildMemberType"
- }
- },
- "additionalProperties": false,
- "required": [
- "member_type",
- "name"
- ]
- },
- "GuildMemberType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "AccountStandingState": {
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500
- ],
- "type": "number"
- },
- "AppealEligibility": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "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": [
- "null",
- "string"
- ]
- },
- "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"
- ]
- },
- "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"
- ]
- },
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "variants": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductItemVariant"
- }
- }
- },
- "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"
- ]
- },
- "CountryPrice": {
- "type": "object",
- "properties": {
- "country_code": {
- "type": "string"
- },
- "prices": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PriceEntry"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "country_code",
- "prices"
- ]
- },
- "PriceEntry": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "integer"
- },
- "currency": {
- "type": "string"
- },
- "exponent": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "amount",
- "currency",
- "exponent"
- ]
- },
- "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"
- ]
- },
- "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": {
- "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"
- },
- "premium_type": {
- "type": "integer"
- },
- "category_sku_id": {
- "type": "string"
- },
- "google_sku_ids": {},
- "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"
- ]
- },
- "StaticAnimatedAsset": {
- "type": "object",
- "properties": {
- "animated": {
- "type": [
- "null",
- "string"
- ]
- },
- "static": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "static"
- ]
- },
- "CollectiblesMarketingItem": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "version": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "body": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "body",
- "title",
- "type",
- "version"
- ]
- },
- "ItemRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 0
- ]
- },
- "category_sku_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "category_store_listing_id": {
- "type": "string"
- },
- "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"
- ]
- },
- "BundleTileRowShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "subblocks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ShopBlockSubBlock"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "subblocks",
- "type"
- ]
- },
- "ShopBlockSubBlock": {
- "type": "object",
- "properties": {
- "type": {
- "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"
- ]
- },
- "banner_text_color": {
- "type": [
- "null",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "banner_text_color",
- "banner_url",
- "body_text",
- "category_store_listing_id",
- "name",
- "type",
- "unpublished_at"
- ]
- },
- "ItemCollectionShopBlock": {
- "type": "object",
- "properties": {
- "type": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ranked_sku_ids": {
- "type": "array",
- "items": {
- "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": [
- "popular",
- "recommended"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "ranked_sku_ids",
- "sorted_sku_ids",
- "type"
- ]
- },
- "HubGuild": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "name"
- ]
- },
- "EmojiGuild": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "description": {
- "type": [
- "null",
- "string"
- ]
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emojis": {
- "type": "array",
- "items": {}
- },
- "premium_tier": {
- "type": "integer"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "approximate_member_count": {
- "type": "integer"
- },
- "approximate_presence_count": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "emojis",
- "features",
- "id",
- "name",
- "premium_tier"
- ]
- },
- "EmojiApplication": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {},
- "attachments": {
- "type": "array",
- "items": {}
- },
- "embeds": {
- "type": "array",
- "items": {}
- },
- "mentions": {
- "type": "array",
- "items": {}
- },
- "mention_roles": {
- "type": "array",
- "items": {}
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {}
- },
- "poll": {},
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "HubDirectoryEntry": {
- "type": "object",
- "properties": {
- "author_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "directory_channel_id": {
- "type": "string"
- },
- "guild": {},
- "primary_category_id": {
- "type": "integer"
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "author_id",
- "created_at",
- "description",
- "directory_channel_id",
- "guild",
- "primary_category_id",
- "type"
- ]
- },
- "RefreshedUrl": {
- "type": "object",
- "properties": {
- "original": {
- "type": "string"
- },
- "refreshed": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "original",
- "refreshed"
- ]
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UploadAttachmentResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "upload_url": {
- "type": "string"
- },
- "upload_filename": {
- "type": "string"
- },
- "original_content_type": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "upload_filename",
- "upload_url"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {},
- "banner": {},
- "bio": {},
- "theme_colors": {},
- "pronouns": {}
- },
- "additionalProperties": false,
- "required": [
- "accent_color",
- "banner",
- "bio",
- "pronouns",
- "theme_colors"
- ]
- },
- "AutomodMentionSpamRuleSchema": {
- "type": "object",
- "properties": {
- "mention_total_limit": {
- "type": "integer"
- },
- "mention_raid_protection_enabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "mention_raid_protection_enabled",
- "mention_total_limit"
- ]
- },
- "AutomodSuspectedSpamRuleSchema": {
- "type": "object",
- "additionalProperties": false
- },
- "AutomodCommonlyFlaggedWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "presets": {
- "type": "array",
- "items": [
- {
- "type": "integer"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "presets"
- ]
- },
- "AutomodCustomWordsRuleSchema": {
- "type": "object",
- "properties": {
- "allow_list": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "keyword_filter": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- },
- "regex_patterns": {
- "type": "array",
- "items": [
- {
- "type": "string"
- }
- ],
- "minItems": 1,
- "maxItems": 1
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_list",
- "keyword_filter",
- "regex_patterns"
- ]
- },
- "GuildSubscriptionSchema": {
- "type": "object",
- "properties": {
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "member_updates": {
- "type": "boolean"
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "additionalProperties": false
- },
- "LobbyMemberSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "metadata": {
- "anyOf": [
- {
- "$ref": "#/definitions/Record"
- },
- {
- "type": "null"
- }
- ]
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "id"
- ]
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {},
- "answers": {
- "type": "array",
- "items": {}
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "MessageInteractionSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {},
- "name": {
- "type": "string"
- },
- "command_type": {},
- "ephemerality_reason": {
- "type": "integer"
- },
- "user": {},
- "authorizing_integration_owners": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "original_response_message_id": {},
- "interacted_message_id": {},
- "triggering_interaction_metadata": {
- "$ref": "#/definitions/MessageInteractionSchema"
- },
- "target_user": {},
- "target_message_id": {}
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type"
- ]
- },
- "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"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "EmojiSourceResponse": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- "APPLICATION",
- "GUILD"
- ],
- "type": "string"
- },
- "guild": {
- "anyOf": [
- {
- "$ref": "#/definitions/EmojiGuild"
- },
- {
- "type": "null"
- }
- ]
- },
- "application": {
- "anyOf": [
- {
- "$ref": "#/definitions/EmojiApplication"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "type"
- ],
- "definitions": {
- "Record": {
- "type": "object",
- "additionalProperties": false
- },
- "ApplicationCommandCreateSchema": {
- "type": "object",
- "properties": {
- "type": {},
- "name": {
- "type": "string"
- },
- "name_localizations": {
- "$ref": "#/definitions/Record"
- },
- "description": {
- "type": "string"
- },
- "description_localizations": {
- "$ref": "#/definitions/Record"
- },
- "options": {
- "type": "array",
- "items": {}
- },
- "default_member_permissions": {
- "type": "string"
- },
- "dm_permission": {
- "type": "boolean"
- },
- "nsfw": {
- "type": "boolean"
- },
- "integration_types": {
- "type": "array",
- "items": {}
- },
- "contexts": {
- "type": "array",
- "items": {}
- },
- "handler": {}
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "ApplicationCommandIndexPermissions": {
- "type": "object",
- "properties": {
- "user": {
- "type": "boolean"
- },
- "roles": {
- "$ref": "#/definitions/Record"
- },
- "channels": {
- "$ref": "#/definitions/Record