main - Automated spec update (114547)
made at remote:2025-05-09T20:55:02 taken at now:2025-05-09T21:10:02 made by remote Nelly (automation bot) <>
This commit is contained in:
		
							parent
							
								
									3eba3f0777
								
							
						
					
					
						commit
						a2592c4105
					
				
					 2 changed files with 358 additions and 358 deletions
				
			
		|  | @ -7566,6 +7566,57 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "/guilds/{guild_id}/webhooks": { | ||||||
|  |       "parameters": [ | ||||||
|  |         { | ||||||
|  |           "name": "guild_id", | ||||||
|  |           "in": "path", | ||||||
|  |           "schema": { | ||||||
|  |             "$ref": "#/components/schemas/SnowflakeType" | ||||||
|  |           }, | ||||||
|  |           "required": true | ||||||
|  |         } | ||||||
|  |       ], | ||||||
|  |       "get": { | ||||||
|  |         "operationId": "get_guild_webhooks", | ||||||
|  |         "responses": { | ||||||
|  |           "200": { | ||||||
|  |             "description": "200 response for get_guild_webhooks", | ||||||
|  |             "content": { | ||||||
|  |               "application/json": { | ||||||
|  |                 "schema": { | ||||||
|  |                   "type": [ | ||||||
|  |                     "array", | ||||||
|  |                     "null" | ||||||
|  |                   ], | ||||||
|  |                   "items": { | ||||||
|  |                     "oneOf": [ | ||||||
|  |                       { | ||||||
|  |                         "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" | ||||||
|  |                       }, | ||||||
|  |                       { | ||||||
|  |                         "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" | ||||||
|  |                       }, | ||||||
|  |                       { | ||||||
|  |                         "$ref": "#/components/schemas/GuildIncomingWebhookResponse" | ||||||
|  |                       } | ||||||
|  |                     ] | ||||||
|  |                   } | ||||||
|  |                 } | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           "4XX": { | ||||||
|  |             "$ref": "#/components/responses/ClientErrorResponse" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "security": [ | ||||||
|  |           { | ||||||
|  |             "BotToken": [] | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "/guilds/{guild_id}/channels": { |     "/guilds/{guild_id}/channels": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  | @ -7714,57 +7765,6 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "/guilds/{guild_id}/webhooks": { |  | ||||||
|       "parameters": [ |  | ||||||
|         { |  | ||||||
|           "name": "guild_id", |  | ||||||
|           "in": "path", |  | ||||||
|           "schema": { |  | ||||||
|             "$ref": "#/components/schemas/SnowflakeType" |  | ||||||
|           }, |  | ||||||
|           "required": true |  | ||||||
|         } |  | ||||||
|       ], |  | ||||||
|       "get": { |  | ||||||
|         "operationId": "get_guild_webhooks", |  | ||||||
|         "responses": { |  | ||||||
|           "200": { |  | ||||||
|             "description": "200 response for get_guild_webhooks", |  | ||||||
|             "content": { |  | ||||||
|               "application/json": { |  | ||||||
|                 "schema": { |  | ||||||
|                   "type": [ |  | ||||||
|                     "array", |  | ||||||
|                     "null" |  | ||||||
|                   ], |  | ||||||
|                   "items": { |  | ||||||
|                     "oneOf": [ |  | ||||||
|                       { |  | ||||||
|                         "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" |  | ||||||
|                       }, |  | ||||||
|                       { |  | ||||||
|                         "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" |  | ||||||
|                       }, |  | ||||||
|                       { |  | ||||||
|                         "$ref": "#/components/schemas/GuildIncomingWebhookResponse" |  | ||||||
|                       } |  | ||||||
|                     ] |  | ||||||
|                   } |  | ||||||
|                 } |  | ||||||
|               } |  | ||||||
|             } |  | ||||||
|           }, |  | ||||||
|           "4XX": { |  | ||||||
|             "$ref": "#/components/responses/ClientErrorResponse" |  | ||||||
|           } |  | ||||||
|         }, |  | ||||||
|         "security": [ |  | ||||||
|           { |  | ||||||
|             "BotToken": [] |  | ||||||
|           } |  | ||||||
|         ] |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "/guilds/{guild_id}/members/{user_id}": { |     "/guilds/{guild_id}/members/{user_id}": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  | @ -9655,6 +9655,134 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "/webhooks/{webhook_id}": { | ||||||
|  |       "parameters": [ | ||||||
|  |         { | ||||||
|  |           "name": "webhook_id", | ||||||
|  |           "in": "path", | ||||||
|  |           "schema": { | ||||||
|  |             "$ref": "#/components/schemas/SnowflakeType" | ||||||
|  |           }, | ||||||
|  |           "required": true | ||||||
|  |         } | ||||||
|  |       ], | ||||||
|  |       "get": { | ||||||
|  |         "operationId": "get_webhook", | ||||||
|  |         "responses": { | ||||||
|  |           "200": { | ||||||
|  |             "description": "200 response for get_webhook", | ||||||
|  |             "content": { | ||||||
|  |               "application/json": { | ||||||
|  |                 "schema": { | ||||||
|  |                   "oneOf": [ | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" | ||||||
|  |                     }, | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" | ||||||
|  |                     }, | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/GuildIncomingWebhookResponse" | ||||||
|  |                     } | ||||||
|  |                   ] | ||||||
|  |                 } | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           "4XX": { | ||||||
|  |             "$ref": "#/components/responses/ClientErrorResponse" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "security": [ | ||||||
|  |           { | ||||||
|  |             "BotToken": [] | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       }, | ||||||
|  |       "delete": { | ||||||
|  |         "operationId": "delete_webhook", | ||||||
|  |         "responses": { | ||||||
|  |           "204": { | ||||||
|  |             "description": "204 response for delete_webhook" | ||||||
|  |           }, | ||||||
|  |           "4XX": { | ||||||
|  |             "$ref": "#/components/responses/ClientErrorResponse" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "security": [ | ||||||
|  |           { | ||||||
|  |             "BotToken": [] | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       }, | ||||||
|  |       "patch": { | ||||||
|  |         "operationId": "update_webhook", | ||||||
|  |         "requestBody": { | ||||||
|  |           "content": { | ||||||
|  |             "application/json": { | ||||||
|  |               "schema": { | ||||||
|  |                 "type": "object", | ||||||
|  |                 "properties": { | ||||||
|  |                   "name": { | ||||||
|  |                     "type": "string", | ||||||
|  |                     "minLength": 1, | ||||||
|  |                     "maxLength": 80 | ||||||
|  |                   }, | ||||||
|  |                   "avatar": { | ||||||
|  |                     "type": [ | ||||||
|  |                       "string", | ||||||
|  |                       "null" | ||||||
|  |                     ], | ||||||
|  |                     "contentEncoding": "base64" | ||||||
|  |                   }, | ||||||
|  |                   "channel_id": { | ||||||
|  |                     "oneOf": [ | ||||||
|  |                       { | ||||||
|  |                         "type": "null" | ||||||
|  |                       }, | ||||||
|  |                       { | ||||||
|  |                         "$ref": "#/components/schemas/SnowflakeType" | ||||||
|  |                       } | ||||||
|  |                     ] | ||||||
|  |                   } | ||||||
|  |                 } | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           "required": true | ||||||
|  |         }, | ||||||
|  |         "responses": { | ||||||
|  |           "200": { | ||||||
|  |             "description": "200 response for update_webhook", | ||||||
|  |             "content": { | ||||||
|  |               "application/json": { | ||||||
|  |                 "schema": { | ||||||
|  |                   "oneOf": [ | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" | ||||||
|  |                     }, | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" | ||||||
|  |                     }, | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/GuildIncomingWebhookResponse" | ||||||
|  |                     } | ||||||
|  |                   ] | ||||||
|  |                 } | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           "4XX": { | ||||||
|  |             "$ref": "#/components/responses/ClientErrorResponse" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "security": [ | ||||||
|  |           { | ||||||
|  |             "BotToken": [] | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "/channels/{channel_id}": { |     "/channels/{channel_id}": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  | @ -9799,134 +9927,6 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "/webhooks/{webhook_id}": { |  | ||||||
|       "parameters": [ |  | ||||||
|         { |  | ||||||
|           "name": "webhook_id", |  | ||||||
|           "in": "path", |  | ||||||
|           "schema": { |  | ||||||
|             "$ref": "#/components/schemas/SnowflakeType" |  | ||||||
|           }, |  | ||||||
|           "required": true |  | ||||||
|         } |  | ||||||
|       ], |  | ||||||
|       "get": { |  | ||||||
|         "operationId": "get_webhook", |  | ||||||
|         "responses": { |  | ||||||
|           "200": { |  | ||||||
|             "description": "200 response for get_webhook", |  | ||||||
|             "content": { |  | ||||||
|               "application/json": { |  | ||||||
|                 "schema": { |  | ||||||
|                   "oneOf": [ |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" |  | ||||||
|                     }, |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" |  | ||||||
|                     }, |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/GuildIncomingWebhookResponse" |  | ||||||
|                     } |  | ||||||
|                   ] |  | ||||||
|                 } |  | ||||||
|               } |  | ||||||
|             } |  | ||||||
|           }, |  | ||||||
|           "4XX": { |  | ||||||
|             "$ref": "#/components/responses/ClientErrorResponse" |  | ||||||
|           } |  | ||||||
|         }, |  | ||||||
|         "security": [ |  | ||||||
|           { |  | ||||||
|             "BotToken": [] |  | ||||||
|           } |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       "delete": { |  | ||||||
|         "operationId": "delete_webhook", |  | ||||||
|         "responses": { |  | ||||||
|           "204": { |  | ||||||
|             "description": "204 response for delete_webhook" |  | ||||||
|           }, |  | ||||||
|           "4XX": { |  | ||||||
|             "$ref": "#/components/responses/ClientErrorResponse" |  | ||||||
|           } |  | ||||||
|         }, |  | ||||||
|         "security": [ |  | ||||||
|           { |  | ||||||
|             "BotToken": [] |  | ||||||
|           } |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       "patch": { |  | ||||||
|         "operationId": "update_webhook", |  | ||||||
|         "requestBody": { |  | ||||||
|           "content": { |  | ||||||
|             "application/json": { |  | ||||||
|               "schema": { |  | ||||||
|                 "type": "object", |  | ||||||
|                 "properties": { |  | ||||||
|                   "name": { |  | ||||||
|                     "type": "string", |  | ||||||
|                     "minLength": 1, |  | ||||||
|                     "maxLength": 80 |  | ||||||
|                   }, |  | ||||||
|                   "avatar": { |  | ||||||
|                     "type": [ |  | ||||||
|                       "string", |  | ||||||
|                       "null" |  | ||||||
|                     ], |  | ||||||
|                     "contentEncoding": "base64" |  | ||||||
|                   }, |  | ||||||
|                   "channel_id": { |  | ||||||
|                     "oneOf": [ |  | ||||||
|                       { |  | ||||||
|                         "type": "null" |  | ||||||
|                       }, |  | ||||||
|                       { |  | ||||||
|                         "$ref": "#/components/schemas/SnowflakeType" |  | ||||||
|                       } |  | ||||||
|                     ] |  | ||||||
|                   } |  | ||||||
|                 } |  | ||||||
|               } |  | ||||||
|             } |  | ||||||
|           }, |  | ||||||
|           "required": true |  | ||||||
|         }, |  | ||||||
|         "responses": { |  | ||||||
|           "200": { |  | ||||||
|             "description": "200 response for update_webhook", |  | ||||||
|             "content": { |  | ||||||
|               "application/json": { |  | ||||||
|                 "schema": { |  | ||||||
|                   "oneOf": [ |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" |  | ||||||
|                     }, |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" |  | ||||||
|                     }, |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/GuildIncomingWebhookResponse" |  | ||||||
|                     } |  | ||||||
|                   ] |  | ||||||
|                 } |  | ||||||
|               } |  | ||||||
|             } |  | ||||||
|           }, |  | ||||||
|           "4XX": { |  | ||||||
|             "$ref": "#/components/responses/ClientErrorResponse" |  | ||||||
|           } |  | ||||||
|         }, |  | ||||||
|         "security": [ |  | ||||||
|           { |  | ||||||
|             "BotToken": [] |  | ||||||
|           } |  | ||||||
|         ] |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "/invites/{code}": { |     "/invites/{code}": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  |  | ||||||
|  | @ -7566,6 +7566,57 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "/guilds/{guild_id}/webhooks": { | ||||||
|  |       "parameters": [ | ||||||
|  |         { | ||||||
|  |           "name": "guild_id", | ||||||
|  |           "in": "path", | ||||||
|  |           "schema": { | ||||||
|  |             "$ref": "#/components/schemas/SnowflakeType" | ||||||
|  |           }, | ||||||
|  |           "required": true | ||||||
|  |         } | ||||||
|  |       ], | ||||||
|  |       "get": { | ||||||
|  |         "operationId": "get_guild_webhooks", | ||||||
|  |         "responses": { | ||||||
|  |           "200": { | ||||||
|  |             "description": "200 response for get_guild_webhooks", | ||||||
|  |             "content": { | ||||||
|  |               "application/json": { | ||||||
|  |                 "schema": { | ||||||
|  |                   "type": [ | ||||||
|  |                     "array", | ||||||
|  |                     "null" | ||||||
|  |                   ], | ||||||
|  |                   "items": { | ||||||
|  |                     "oneOf": [ | ||||||
|  |                       { | ||||||
|  |                         "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" | ||||||
|  |                       }, | ||||||
|  |                       { | ||||||
|  |                         "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" | ||||||
|  |                       }, | ||||||
|  |                       { | ||||||
|  |                         "$ref": "#/components/schemas/GuildIncomingWebhookResponse" | ||||||
|  |                       } | ||||||
|  |                     ] | ||||||
|  |                   } | ||||||
|  |                 } | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           "4XX": { | ||||||
|  |             "$ref": "#/components/responses/ClientErrorResponse" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "security": [ | ||||||
|  |           { | ||||||
|  |             "BotToken": [] | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "/guilds/{guild_id}/channels": { |     "/guilds/{guild_id}/channels": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  | @ -7714,57 +7765,6 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "/guilds/{guild_id}/webhooks": { |  | ||||||
|       "parameters": [ |  | ||||||
|         { |  | ||||||
|           "name": "guild_id", |  | ||||||
|           "in": "path", |  | ||||||
|           "schema": { |  | ||||||
|             "$ref": "#/components/schemas/SnowflakeType" |  | ||||||
|           }, |  | ||||||
|           "required": true |  | ||||||
|         } |  | ||||||
|       ], |  | ||||||
|       "get": { |  | ||||||
|         "operationId": "get_guild_webhooks", |  | ||||||
|         "responses": { |  | ||||||
|           "200": { |  | ||||||
|             "description": "200 response for get_guild_webhooks", |  | ||||||
|             "content": { |  | ||||||
|               "application/json": { |  | ||||||
|                 "schema": { |  | ||||||
|                   "type": [ |  | ||||||
|                     "array", |  | ||||||
|                     "null" |  | ||||||
|                   ], |  | ||||||
|                   "items": { |  | ||||||
|                     "oneOf": [ |  | ||||||
|                       { |  | ||||||
|                         "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" |  | ||||||
|                       }, |  | ||||||
|                       { |  | ||||||
|                         "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" |  | ||||||
|                       }, |  | ||||||
|                       { |  | ||||||
|                         "$ref": "#/components/schemas/GuildIncomingWebhookResponse" |  | ||||||
|                       } |  | ||||||
|                     ] |  | ||||||
|                   } |  | ||||||
|                 } |  | ||||||
|               } |  | ||||||
|             } |  | ||||||
|           }, |  | ||||||
|           "4XX": { |  | ||||||
|             "$ref": "#/components/responses/ClientErrorResponse" |  | ||||||
|           } |  | ||||||
|         }, |  | ||||||
|         "security": [ |  | ||||||
|           { |  | ||||||
|             "BotToken": [] |  | ||||||
|           } |  | ||||||
|         ] |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "/guilds/{guild_id}/members/{user_id}": { |     "/guilds/{guild_id}/members/{user_id}": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  | @ -9655,6 +9655,134 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "/webhooks/{webhook_id}": { | ||||||
|  |       "parameters": [ | ||||||
|  |         { | ||||||
|  |           "name": "webhook_id", | ||||||
|  |           "in": "path", | ||||||
|  |           "schema": { | ||||||
|  |             "$ref": "#/components/schemas/SnowflakeType" | ||||||
|  |           }, | ||||||
|  |           "required": true | ||||||
|  |         } | ||||||
|  |       ], | ||||||
|  |       "get": { | ||||||
|  |         "operationId": "get_webhook", | ||||||
|  |         "responses": { | ||||||
|  |           "200": { | ||||||
|  |             "description": "200 response for get_webhook", | ||||||
|  |             "content": { | ||||||
|  |               "application/json": { | ||||||
|  |                 "schema": { | ||||||
|  |                   "oneOf": [ | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" | ||||||
|  |                     }, | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" | ||||||
|  |                     }, | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/GuildIncomingWebhookResponse" | ||||||
|  |                     } | ||||||
|  |                   ] | ||||||
|  |                 } | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           "4XX": { | ||||||
|  |             "$ref": "#/components/responses/ClientErrorResponse" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "security": [ | ||||||
|  |           { | ||||||
|  |             "BotToken": [] | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       }, | ||||||
|  |       "delete": { | ||||||
|  |         "operationId": "delete_webhook", | ||||||
|  |         "responses": { | ||||||
|  |           "204": { | ||||||
|  |             "description": "204 response for delete_webhook" | ||||||
|  |           }, | ||||||
|  |           "4XX": { | ||||||
|  |             "$ref": "#/components/responses/ClientErrorResponse" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "security": [ | ||||||
|  |           { | ||||||
|  |             "BotToken": [] | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       }, | ||||||
|  |       "patch": { | ||||||
|  |         "operationId": "update_webhook", | ||||||
|  |         "requestBody": { | ||||||
|  |           "content": { | ||||||
|  |             "application/json": { | ||||||
|  |               "schema": { | ||||||
|  |                 "type": "object", | ||||||
|  |                 "properties": { | ||||||
|  |                   "name": { | ||||||
|  |                     "type": "string", | ||||||
|  |                     "minLength": 1, | ||||||
|  |                     "maxLength": 80 | ||||||
|  |                   }, | ||||||
|  |                   "avatar": { | ||||||
|  |                     "type": [ | ||||||
|  |                       "string", | ||||||
|  |                       "null" | ||||||
|  |                     ], | ||||||
|  |                     "contentEncoding": "base64" | ||||||
|  |                   }, | ||||||
|  |                   "channel_id": { | ||||||
|  |                     "oneOf": [ | ||||||
|  |                       { | ||||||
|  |                         "type": "null" | ||||||
|  |                       }, | ||||||
|  |                       { | ||||||
|  |                         "$ref": "#/components/schemas/SnowflakeType" | ||||||
|  |                       } | ||||||
|  |                     ] | ||||||
|  |                   } | ||||||
|  |                 } | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           "required": true | ||||||
|  |         }, | ||||||
|  |         "responses": { | ||||||
|  |           "200": { | ||||||
|  |             "description": "200 response for update_webhook", | ||||||
|  |             "content": { | ||||||
|  |               "application/json": { | ||||||
|  |                 "schema": { | ||||||
|  |                   "oneOf": [ | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" | ||||||
|  |                     }, | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" | ||||||
|  |                     }, | ||||||
|  |                     { | ||||||
|  |                       "$ref": "#/components/schemas/GuildIncomingWebhookResponse" | ||||||
|  |                     } | ||||||
|  |                   ] | ||||||
|  |                 } | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           "4XX": { | ||||||
|  |             "$ref": "#/components/responses/ClientErrorResponse" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "security": [ | ||||||
|  |           { | ||||||
|  |             "BotToken": [] | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "/channels/{channel_id}": { |     "/channels/{channel_id}": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  | @ -9799,134 +9927,6 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "/webhooks/{webhook_id}": { |  | ||||||
|       "parameters": [ |  | ||||||
|         { |  | ||||||
|           "name": "webhook_id", |  | ||||||
|           "in": "path", |  | ||||||
|           "schema": { |  | ||||||
|             "$ref": "#/components/schemas/SnowflakeType" |  | ||||||
|           }, |  | ||||||
|           "required": true |  | ||||||
|         } |  | ||||||
|       ], |  | ||||||
|       "get": { |  | ||||||
|         "operationId": "get_webhook", |  | ||||||
|         "responses": { |  | ||||||
|           "200": { |  | ||||||
|             "description": "200 response for get_webhook", |  | ||||||
|             "content": { |  | ||||||
|               "application/json": { |  | ||||||
|                 "schema": { |  | ||||||
|                   "oneOf": [ |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" |  | ||||||
|                     }, |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" |  | ||||||
|                     }, |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/GuildIncomingWebhookResponse" |  | ||||||
|                     } |  | ||||||
|                   ] |  | ||||||
|                 } |  | ||||||
|               } |  | ||||||
|             } |  | ||||||
|           }, |  | ||||||
|           "4XX": { |  | ||||||
|             "$ref": "#/components/responses/ClientErrorResponse" |  | ||||||
|           } |  | ||||||
|         }, |  | ||||||
|         "security": [ |  | ||||||
|           { |  | ||||||
|             "BotToken": [] |  | ||||||
|           } |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       "delete": { |  | ||||||
|         "operationId": "delete_webhook", |  | ||||||
|         "responses": { |  | ||||||
|           "204": { |  | ||||||
|             "description": "204 response for delete_webhook" |  | ||||||
|           }, |  | ||||||
|           "4XX": { |  | ||||||
|             "$ref": "#/components/responses/ClientErrorResponse" |  | ||||||
|           } |  | ||||||
|         }, |  | ||||||
|         "security": [ |  | ||||||
|           { |  | ||||||
|             "BotToken": [] |  | ||||||
|           } |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       "patch": { |  | ||||||
|         "operationId": "update_webhook", |  | ||||||
|         "requestBody": { |  | ||||||
|           "content": { |  | ||||||
|             "application/json": { |  | ||||||
|               "schema": { |  | ||||||
|                 "type": "object", |  | ||||||
|                 "properties": { |  | ||||||
|                   "name": { |  | ||||||
|                     "type": "string", |  | ||||||
|                     "minLength": 1, |  | ||||||
|                     "maxLength": 80 |  | ||||||
|                   }, |  | ||||||
|                   "avatar": { |  | ||||||
|                     "type": [ |  | ||||||
|                       "string", |  | ||||||
|                       "null" |  | ||||||
|                     ], |  | ||||||
|                     "contentEncoding": "base64" |  | ||||||
|                   }, |  | ||||||
|                   "channel_id": { |  | ||||||
|                     "oneOf": [ |  | ||||||
|                       { |  | ||||||
|                         "type": "null" |  | ||||||
|                       }, |  | ||||||
|                       { |  | ||||||
|                         "$ref": "#/components/schemas/SnowflakeType" |  | ||||||
|                       } |  | ||||||
|                     ] |  | ||||||
|                   } |  | ||||||
|                 } |  | ||||||
|               } |  | ||||||
|             } |  | ||||||
|           }, |  | ||||||
|           "required": true |  | ||||||
|         }, |  | ||||||
|         "responses": { |  | ||||||
|           "200": { |  | ||||||
|             "description": "200 response for update_webhook", |  | ||||||
|             "content": { |  | ||||||
|               "application/json": { |  | ||||||
|                 "schema": { |  | ||||||
|                   "oneOf": [ |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/ApplicationIncomingWebhookResponse" |  | ||||||
|                     }, |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/ChannelFollowerWebhookResponse" |  | ||||||
|                     }, |  | ||||||
|                     { |  | ||||||
|                       "$ref": "#/components/schemas/GuildIncomingWebhookResponse" |  | ||||||
|                     } |  | ||||||
|                   ] |  | ||||||
|                 } |  | ||||||
|               } |  | ||||||
|             } |  | ||||||
|           }, |  | ||||||
|           "4XX": { |  | ||||||
|             "$ref": "#/components/responses/ClientErrorResponse" |  | ||||||
|           } |  | ||||||
|         }, |  | ||||||
|         "security": [ |  | ||||||
|           { |  | ||||||
|             "BotToken": [] |  | ||||||
|           } |  | ||||||
|         ] |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "/invites/{code}": { |     "/invites/{code}": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue