diff --git a/specs/openapi.json b/specs/openapi.json index 6076367..dcb9c21 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -26,6 +26,23 @@ "responses": { "200": { "description": "200 response for get_my_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -34,6 +51,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -59,6 +79,23 @@ "responses": { "200": { "description": "200 response for update_my_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -67,6 +104,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -94,6 +134,23 @@ "responses": { "200": { "description": "200 response for get_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -102,6 +159,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -127,6 +187,23 @@ "responses": { "200": { "description": "200 response for update_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -135,6 +212,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -171,6 +251,23 @@ "responses": { "200": { "description": "200 response for applications_get_activity_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -179,6 +276,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -225,6 +325,23 @@ "responses": { "200": { "description": "200 response for upload_application_attachment", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -233,6 +350,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -307,6 +427,23 @@ "responses": { "200": { "description": "200 response for list_application_commands", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -321,6 +458,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -358,6 +498,23 @@ "responses": { "200": { "description": "200 response for bulk_set_application_commands", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -372,6 +529,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -402,6 +562,23 @@ "responses": { "200": { "description": "200 response for create_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -412,6 +589,23 @@ }, "201": { "description": "201 response for create_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -420,6 +614,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -460,6 +657,23 @@ "responses": { "200": { "description": "200 response for get_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -468,6 +682,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -487,7 +704,27 @@ "operationId": "delete_application_command", "responses": { "204": { - "description": "204 response for delete_application_command" + "description": "204 response for delete_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -519,6 +756,23 @@ "responses": { "200": { "description": "200 response for update_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -527,6 +781,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -559,6 +816,23 @@ "responses": { "200": { "description": "200 response for list_application_emojis", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -567,6 +841,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -607,6 +884,23 @@ "responses": { "201": { "description": "201 response for create_application_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -615,6 +909,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -650,6 +947,23 @@ "responses": { "200": { "description": "200 response for get_application_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -658,6 +972,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -672,7 +989,27 @@ "operationId": "delete_application_emoji", "responses": { "204": { - "description": "204 response for delete_application_emoji" + "description": "204 response for delete_application_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -706,6 +1043,23 @@ "responses": { "200": { "description": "200 response for update_application_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -714,6 +1068,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -828,6 +1185,23 @@ "responses": { "200": { "description": "200 response for get_entitlements", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -846,6 +1220,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -876,6 +1253,23 @@ "responses": { "200": { "description": "200 response for create_entitlement", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -884,6 +1278,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -919,6 +1316,23 @@ "responses": { "200": { "description": "200 response for get_entitlement", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -927,6 +1341,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -946,7 +1363,27 @@ "operationId": "delete_entitlement", "responses": { "204": { - "description": "204 response for delete_entitlement" + "description": "204 response for delete_entitlement", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -987,7 +1424,27 @@ "operationId": "consume_entitlement", "responses": { "204": { - "description": "204 response for consume_entitlement" + "description": "204 response for consume_entitlement", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -1038,6 +1495,23 @@ "responses": { "200": { "description": "200 response for list_guild_application_commands", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1052,6 +1526,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1089,6 +1566,23 @@ "responses": { "200": { "description": "200 response for bulk_set_guild_application_commands", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1103,6 +1597,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1133,6 +1630,23 @@ "responses": { "200": { "description": "200 response for create_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1143,6 +1657,23 @@ }, "201": { "description": "201 response for create_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1151,6 +1682,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1191,6 +1725,23 @@ "responses": { "200": { "description": "200 response for list_guild_application_command_permissions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1202,6 +1753,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1250,6 +1804,23 @@ "responses": { "200": { "description": "200 response for get_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1258,6 +1829,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1277,7 +1851,27 @@ "operationId": "delete_guild_application_command", "responses": { "204": { - "description": "204 response for delete_guild_application_command" + "description": "204 response for delete_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -1309,6 +1903,23 @@ "responses": { "200": { "description": "200 response for update_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1317,6 +1928,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1365,6 +1979,23 @@ "responses": { "200": { "description": "200 response for get_guild_application_command_permissions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1373,6 +2004,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1415,6 +2049,23 @@ "responses": { "200": { "description": "200 response for set_guild_application_command_permissions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1423,6 +2074,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1455,6 +2109,23 @@ "responses": { "200": { "description": "200 response for get_application_role_connections_metadata", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1469,6 +2140,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1501,6 +2175,23 @@ "responses": { "200": { "description": "200 response for update_application_role_connections_metadata", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1515,6 +2206,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1542,6 +2236,23 @@ "responses": { "200": { "description": "200 response for get_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1563,6 +2274,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1578,6 +2292,23 @@ "responses": { "200": { "description": "200 response for delete_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1599,6 +2330,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1638,6 +2372,23 @@ "responses": { "200": { "description": "200 response for update_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1659,6 +2410,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1704,6 +2458,23 @@ "responses": { "200": { "description": "200 response for follow_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1712,6 +2483,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1739,6 +2513,23 @@ "responses": { "200": { "description": "200 response for list_channel_invites", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1764,6 +2555,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1797,6 +2591,23 @@ "responses": { "200": { "description": "200 response for create_channel_invite", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1817,7 +2628,27 @@ } }, "204": { - "description": "204 response for create_channel_invite" + "description": "204 response for create_channel_invite", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -1878,6 +2709,23 @@ "responses": { "200": { "description": "200 response for list_messages", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1892,6 +2740,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1976,6 +2827,23 @@ "responses": { "200": { "description": "200 response for create_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1984,6 +2852,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2034,7 +2905,27 @@ }, "responses": { "204": { - "description": "204 response for bulk_delete_messages" + "description": "204 response for bulk_delete_messages", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2082,6 +2973,23 @@ "responses": { "200": { "description": "200 response for list_pins", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2090,6 +2998,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2124,7 +3035,27 @@ "operationId": "create_pin", "responses": { "204": { - "description": "204 response for create_pin" + "description": "204 response for create_pin", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2140,7 +3071,27 @@ "operationId": "delete_pin", "responses": { "204": { - "description": "204 response for delete_pin" + "description": "204 response for delete_pin", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2177,6 +3128,23 @@ "responses": { "200": { "description": "200 response for get_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2185,6 +3153,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2199,7 +3170,27 @@ "operationId": "delete_message", "responses": { "204": { - "description": "204 response for delete_message" + "description": "204 response for delete_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2285,6 +3276,23 @@ "responses": { "200": { "description": "200 response for update_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2293,6 +3301,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2328,6 +3339,23 @@ "responses": { "200": { "description": "200 response for crosspost_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2336,6 +3364,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2370,7 +3401,27 @@ "operationId": "delete_all_message_reactions", "responses": { "204": { - "description": "204 response for delete_all_message_reactions" + "description": "204 response for delete_all_message_reactions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2441,6 +3492,23 @@ "responses": { "200": { "description": "200 response for list_message_reactions_by_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2452,6 +3520,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2466,7 +3537,27 @@ "operationId": "delete_all_message_reactions_by_emoji", "responses": { "204": { - "description": "204 response for delete_all_message_reactions_by_emoji" + "description": "204 response for delete_all_message_reactions_by_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2511,7 +3602,27 @@ "operationId": "add_my_message_reaction", "responses": { "204": { - "description": "204 response for add_my_message_reaction" + "description": "204 response for add_my_message_reaction", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2527,7 +3638,27 @@ "operationId": "delete_my_message_reaction", "responses": { "204": { - "description": "204 response for delete_my_message_reaction" + "description": "204 response for delete_my_message_reaction", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2580,7 +3711,27 @@ "operationId": "delete_user_message_reaction", "responses": { "204": { - "description": "204 response for delete_user_message_reaction" + "description": "204 response for delete_user_message_reaction", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2627,6 +3778,23 @@ "responses": { "201": { "description": "201 response for create_thread_from_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2635,6 +3803,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2703,7 +3874,27 @@ }, "responses": { "204": { - "description": "204 response for set_channel_permission_overwrite" + "description": "204 response for set_channel_permission_overwrite", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2719,7 +3910,27 @@ "operationId": "delete_channel_permission_overwrite", "responses": { "204": { - "description": "204 response for delete_channel_permission_overwrite" + "description": "204 response for delete_channel_permission_overwrite", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2748,6 +3959,23 @@ "responses": { "200": { "description": "200 response for deprecated_list_pins", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2762,6 +3990,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2796,7 +4027,27 @@ "operationId": "deprecated_create_pin", "responses": { "204": { - "description": "204 response for deprecated_create_pin" + "description": "204 response for deprecated_create_pin", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2812,7 +4063,27 @@ "operationId": "deprecated_delete_pin", "responses": { "204": { - "description": "204 response for deprecated_delete_pin" + "description": "204 response for deprecated_delete_pin", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2878,6 +4149,23 @@ "responses": { "200": { "description": "200 response for get_answer_voters", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2886,6 +4174,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2921,6 +4212,23 @@ "responses": { "200": { "description": "200 response for poll_expire", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2929,6 +4237,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2990,6 +4301,23 @@ "responses": { "201": { "description": "201 response for add_group_dm_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3006,7 +4334,27 @@ } }, "204": { - "description": "204 response for add_group_dm_user" + "description": "204 response for add_group_dm_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3022,7 +4370,27 @@ "operationId": "delete_group_dm_user", "responses": { "204": { - "description": "204 response for delete_group_dm_user" + "description": "204 response for delete_group_dm_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3060,7 +4428,27 @@ }, "responses": { "204": { - "description": "204 response for send_soundboard_sound" + "description": "204 response for send_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3114,6 +4502,23 @@ "responses": { "200": { "description": "200 response for list_thread_members", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3125,6 +4530,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3151,7 +4559,27 @@ "operationId": "join_thread", "responses": { "204": { - "description": "204 response for join_thread" + "description": "204 response for join_thread", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3167,7 +4595,27 @@ "operationId": "leave_thread", "responses": { "204": { - "description": "204 response for leave_thread" + "description": "204 response for leave_thread", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3213,6 +4661,23 @@ "responses": { "200": { "description": "200 response for get_thread_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3221,6 +4686,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3235,7 +4703,27 @@ "operationId": "add_thread_member", "responses": { "204": { - "description": "204 response for add_thread_member" + "description": "204 response for add_thread_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3251,7 +4739,27 @@ "operationId": "delete_thread_member", "responses": { "204": { - "description": "204 response for delete_thread_member" + "description": "204 response for delete_thread_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3324,6 +4832,23 @@ "responses": { "201": { "description": "201 response for create_thread", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3332,6 +4857,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3378,6 +4906,23 @@ "responses": { "200": { "description": "200 response for list_private_archived_threads", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3386,6 +4931,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3432,6 +4980,23 @@ "responses": { "200": { "description": "200 response for list_public_archived_threads", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3440,6 +5005,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3565,6 +5133,23 @@ "responses": { "200": { "description": "200 response for thread_search", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3573,6 +5158,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3600,6 +5188,23 @@ "responses": { "200": { "description": "200 response for trigger_typing_indicator", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3609,7 +5214,27 @@ } }, "204": { - "description": "204 response for trigger_typing_indicator" + "description": "204 response for trigger_typing_indicator", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3656,6 +5281,23 @@ "responses": { "200": { "description": "200 response for list_my_private_archived_threads", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3664,6 +5306,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3691,6 +5336,23 @@ "responses": { "200": { "description": "200 response for list_channel_webhooks", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3715,6 +5377,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3757,6 +5422,23 @@ "responses": { "200": { "description": "200 response for create_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3765,6 +5447,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3782,6 +5467,23 @@ "responses": { "200": { "description": "200 response for get_gateway", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3790,6 +5492,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3808,6 +5513,23 @@ "responses": { "200": { "description": "200 response for get_bot_gateway", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3816,6 +5538,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3843,6 +5568,23 @@ "responses": { "201": { "description": "201 response for create_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3851,6 +5593,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3879,6 +5624,23 @@ "responses": { "200": { "description": "200 response for get_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3887,6 +5649,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3930,6 +5695,23 @@ "responses": { "201": { "description": "201 response for create_guild_from_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3938,6 +5720,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3974,6 +5759,23 @@ "responses": { "200": { "description": "200 response for get_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3982,6 +5784,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3996,7 +5801,27 @@ "operationId": "delete_guild", "responses": { "204": { - "description": "204 response for delete_guild" + "description": "204 response for delete_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4023,6 +5848,23 @@ "responses": { "200": { "description": "200 response for update_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4031,6 +5873,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4104,6 +5949,23 @@ "responses": { "200": { "description": "200 response for list_guild_audit_log_entries", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4112,6 +5974,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4139,6 +6004,23 @@ "responses": { "200": { "description": "200 response for list_auto_moderation_rules", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4172,6 +6054,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4210,6 +6095,23 @@ "responses": { "200": { "description": "200 response for create_auto_moderation_rule", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4234,6 +6136,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4269,6 +6174,23 @@ "responses": { "200": { "description": "200 response for get_auto_moderation_rule", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4293,6 +6215,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4307,7 +6232,27 @@ "operationId": "delete_auto_moderation_rule", "responses": { "204": { - "description": "204 response for delete_auto_moderation_rule" + "description": "204 response for delete_auto_moderation_rule", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4348,6 +6293,23 @@ "responses": { "200": { "description": "200 response for update_auto_moderation_rule", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4372,6 +6334,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4424,6 +6389,23 @@ "responses": { "200": { "description": "200 response for list_guild_bans", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4438,6 +6420,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4473,6 +6458,23 @@ "responses": { "200": { "description": "200 response for get_guild_ban", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4481,6 +6483,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4523,7 +6528,27 @@ }, "responses": { "204": { - "description": "204 response for ban_user_from_guild" + "description": "204 response for ban_user_from_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4539,7 +6564,27 @@ "operationId": "unban_user_from_guild", "responses": { "204": { - "description": "204 response for unban_user_from_guild" + "description": "204 response for unban_user_from_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4599,6 +6644,23 @@ "responses": { "200": { "description": "200 response for bulk_ban_users_from_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4607,6 +6669,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4634,6 +6699,23 @@ "responses": { "200": { "description": "200 response for list_guild_channels", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4661,6 +6743,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4689,6 +6774,23 @@ "responses": { "201": { "description": "201 response for create_guild_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4697,6 +6799,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4753,7 +6858,27 @@ }, "responses": { "204": { - "description": "204 response for bulk_update_guild_channels" + "description": "204 response for bulk_update_guild_channels", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4782,6 +6907,23 @@ "responses": { "200": { "description": "200 response for list_guild_emojis", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4796,6 +6938,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4854,6 +6999,23 @@ "responses": { "201": { "description": "201 response for create_guild_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4862,6 +7024,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4897,6 +7062,23 @@ "responses": { "200": { "description": "200 response for get_guild_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4905,6 +7087,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4919,7 +7104,27 @@ "operationId": "delete_guild_emoji", "responses": { "204": { - "description": "204 response for delete_guild_emoji" + "description": "204 response for delete_guild_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4971,6 +7176,23 @@ "responses": { "200": { "description": "200 response for update_guild_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4979,6 +7201,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5006,6 +7231,23 @@ "responses": { "200": { "description": "200 response for list_guild_integrations", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5030,6 +7272,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5064,7 +7309,27 @@ "operationId": "delete_guild_integration", "responses": { "204": { - "description": "204 response for delete_guild_integration" + "description": "204 response for delete_guild_integration", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5093,6 +7358,23 @@ "responses": { "200": { "description": "200 response for list_guild_invites", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5118,6 +7400,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5164,6 +7449,23 @@ "responses": { "200": { "description": "200 response for list_guild_members", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5175,6 +7477,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5221,6 +7526,23 @@ "responses": { "200": { "description": "200 response for update_my_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5229,6 +7551,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5278,6 +7603,23 @@ "responses": { "200": { "description": "200 response for search_guild_members", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5289,6 +7631,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5324,6 +7669,23 @@ "responses": { "200": { "description": "200 response for get_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5332,6 +7694,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5357,6 +7722,23 @@ "responses": { "201": { "description": "201 response for add_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5366,7 +7748,27 @@ } }, "204": { - "description": "204 response for add_guild_member" + "description": "204 response for add_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5382,7 +7784,27 @@ "operationId": "delete_guild_member", "responses": { "204": { - "description": "204 response for delete_guild_member" + "description": "204 response for delete_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5471,6 +7893,23 @@ "responses": { "200": { "description": "200 response for update_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5480,7 +7919,27 @@ } }, "204": { - "description": "204 response for update_guild_member" + "description": "204 response for update_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5524,7 +7983,27 @@ "operationId": "add_guild_member_role", "responses": { "204": { - "description": "204 response for add_guild_member_role" + "description": "204 response for add_guild_member_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5540,7 +8019,27 @@ "operationId": "delete_guild_member_role", "responses": { "204": { - "description": "204 response for delete_guild_member_role" + "description": "204 response for delete_guild_member_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5587,6 +8086,23 @@ "responses": { "200": { "description": "200 response for set_guild_mfa_level", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5595,6 +8111,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5622,6 +8141,23 @@ "responses": { "200": { "description": "200 response for get_guild_new_member_welcome", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5631,7 +8167,27 @@ } }, "204": { - "description": "204 response for get_guild_new_member_welcome" + "description": "204 response for get_guild_new_member_welcome", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5660,6 +8216,23 @@ "responses": { "200": { "description": "200 response for get_guilds_onboarding", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5668,6 +8241,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5693,6 +8269,23 @@ "responses": { "200": { "description": "200 response for put_guilds_onboarding", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5701,6 +8294,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5728,6 +8324,23 @@ "responses": { "200": { "description": "200 response for get_guild_preview", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5736,6 +8349,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5800,6 +8416,23 @@ "responses": { "200": { "description": "200 response for preview_prune_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5808,6 +8441,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5874,6 +8510,23 @@ "responses": { "200": { "description": "200 response for prune_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5882,6 +8535,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5909,6 +8565,23 @@ "responses": { "200": { "description": "200 response for list_guild_voice_regions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5923,6 +8596,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5950,6 +8626,23 @@ "responses": { "200": { "description": "200 response for list_guild_roles", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5961,6 +8654,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6035,6 +8731,23 @@ "responses": { "200": { "description": "200 response for create_guild_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6043,6 +8756,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6090,6 +8806,23 @@ "responses": { "200": { "description": "200 response for bulk_update_guild_roles", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6101,6 +8834,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6136,6 +8872,23 @@ "responses": { "200": { "description": "200 response for get_guild_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6144,6 +8897,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6158,7 +8914,27 @@ "operationId": "delete_guild_role", "responses": { "204": { - "description": "204 response for delete_guild_role" + "description": "204 response for delete_guild_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -6234,6 +9010,23 @@ "responses": { "200": { "description": "200 response for update_guild_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6242,6 +9035,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6278,6 +9074,23 @@ "responses": { "200": { "description": "200 response for list_guild_scheduled_events", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6302,6 +9115,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6337,6 +9153,23 @@ "responses": { "200": { "description": "200 response for create_guild_scheduled_event", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6355,6 +9188,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6399,6 +9235,23 @@ "responses": { "200": { "description": "200 response for get_guild_scheduled_event", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6417,6 +9270,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6431,7 +9287,27 @@ "operationId": "delete_guild_scheduled_event", "responses": { "204": { - "description": "204 response for delete_guild_scheduled_event" + "description": "204 response for delete_guild_scheduled_event", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -6469,6 +9345,23 @@ "responses": { "200": { "description": "200 response for update_guild_scheduled_event", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6487,6 +9380,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6554,6 +9450,23 @@ "responses": { "200": { "description": "200 response for list_guild_scheduled_event_users", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6568,6 +9481,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6595,6 +9511,23 @@ "responses": { "200": { "description": "200 response for list_guild_soundboard_sounds", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6603,6 +9536,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6628,6 +9564,23 @@ "responses": { "201": { "description": "201 response for create_guild_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6636,6 +9589,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6671,6 +9627,23 @@ "responses": { "200": { "description": "200 response for get_guild_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6679,6 +9652,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6693,7 +9669,27 @@ "operationId": "delete_guild_soundboard_sound", "responses": { "204": { - "description": "204 response for delete_guild_soundboard_sound" + "description": "204 response for delete_guild_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -6720,6 +9716,23 @@ "responses": { "200": { "description": "200 response for update_guild_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6728,6 +9741,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6755,6 +9771,23 @@ "responses": { "200": { "description": "200 response for list_guild_stickers", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6766,6 +9799,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6819,6 +9855,23 @@ "responses": { "201": { "description": "201 response for create_guild_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6827,6 +9880,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6862,6 +9918,23 @@ "responses": { "200": { "description": "200 response for get_guild_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6870,6 +9943,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6884,7 +9960,27 @@ "operationId": "delete_guild_sticker", "responses": { "204": { - "description": "204 response for delete_guild_sticker" + "description": "204 response for delete_guild_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -6930,6 +10026,23 @@ "responses": { "200": { "description": "200 response for update_guild_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6938,6 +10051,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6965,6 +10081,23 @@ "responses": { "200": { "description": "200 response for list_guild_templates", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6979,6 +10112,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7021,6 +10157,23 @@ "responses": { "200": { "description": "200 response for create_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7029,6 +10182,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7065,6 +10221,23 @@ "responses": { "200": { "description": "200 response for sync_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7073,6 +10246,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7088,6 +10264,23 @@ "responses": { "200": { "description": "200 response for delete_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7096,6 +10289,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7135,6 +10331,23 @@ "responses": { "200": { "description": "200 response for update_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7143,6 +10356,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7170,6 +10386,23 @@ "responses": { "200": { "description": "200 response for get_active_guild_threads", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7178,6 +10411,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7205,6 +10441,23 @@ "responses": { "200": { "description": "200 response for get_guild_vanity_url", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7213,6 +10466,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7240,6 +10496,23 @@ "responses": { "200": { "description": "200 response for get_self_voice_state", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7248,6 +10521,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7297,7 +10573,27 @@ }, "responses": { "204": { - "description": "204 response for update_self_voice_state" + "description": "204 response for update_self_voice_state", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -7334,6 +10630,23 @@ "responses": { "200": { "description": "200 response for get_voice_state", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7342,6 +10655,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7384,7 +10700,27 @@ }, "responses": { "204": { - "description": "204 response for update_voice_state" + "description": "204 response for update_voice_state", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -7413,6 +10749,23 @@ "responses": { "200": { "description": "200 response for get_guild_webhooks", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7437,6 +10790,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7464,6 +10820,23 @@ "responses": { "200": { "description": "200 response for get_guild_welcome_screen", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7472,6 +10845,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7497,6 +10873,23 @@ "responses": { "200": { "description": "200 response for update_guild_welcome_screen", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7505,6 +10898,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7532,6 +10928,23 @@ "responses": { "200": { "description": "200 response for get_guild_widget_settings", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7540,6 +10953,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7583,6 +10999,23 @@ "responses": { "200": { "description": "200 response for update_guild_widget_settings", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7591,6 +11024,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7618,6 +11054,23 @@ "responses": { "200": { "description": "200 response for get_guild_widget", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7626,6 +11079,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7663,6 +11119,23 @@ "responses": { "200": { "description": "200 response for get_guild_widget_png", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "image/png": { "schema": { @@ -7672,6 +11145,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7798,6 +11274,23 @@ "responses": { "200": { "description": "200 response for create_interaction_response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7807,7 +11300,27 @@ } }, "204": { - "description": "204 response for create_interaction_response" + "description": "204 response for create_interaction_response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -7854,6 +11367,23 @@ "responses": { "200": { "description": "200 response for invite_resolve", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7873,6 +11403,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7889,6 +11422,23 @@ "responses": { "200": { "description": "200 response for invite_revoke", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7908,6 +11458,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7975,6 +11528,23 @@ "responses": { "200": { "description": "200 response for create_or_join_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7983,6 +11553,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8043,6 +11616,23 @@ "responses": { "201": { "description": "201 response for create_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8051,6 +11641,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8078,6 +11671,23 @@ "responses": { "200": { "description": "200 response for get_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8086,6 +11696,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8143,6 +11756,23 @@ "responses": { "200": { "description": "200 response for edit_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8151,6 +11781,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8200,6 +11833,23 @@ "responses": { "200": { "description": "200 response for edit_lobby_channel_link", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8208,6 +11858,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8237,7 +11890,27 @@ "operationId": "leave_lobby", "responses": { "204": { - "description": "204 response for leave_lobby" + "description": "204 response for leave_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -8287,6 +11960,23 @@ "responses": { "200": { "description": "200 response for bulk_update_lobby_members", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8301,6 +11991,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8372,6 +12065,23 @@ "responses": { "200": { "description": "200 response for add_lobby_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8380,6 +12090,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8394,7 +12107,27 @@ "operationId": "delete_lobby_member", "responses": { "204": { - "description": "204 response for delete_lobby_member" + "description": "204 response for delete_lobby_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -8434,6 +12167,23 @@ "responses": { "200": { "description": "200 response for get_lobby_messages", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8448,6 +12198,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8486,6 +12239,23 @@ "responses": { "201": { "description": "201 response for create_lobby_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8494,6 +12264,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8514,6 +12287,23 @@ "responses": { "200": { "description": "200 response for get_my_oauth2_authorization", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8522,6 +12312,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8577,6 +12370,23 @@ "responses": { "200": { "description": "200 response for get_my_oauth2_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8585,6 +12395,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8602,6 +12415,23 @@ "responses": { "200": { "description": "200 response for get_public_keys", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8610,6 +12440,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8628,6 +12461,23 @@ "responses": { "200": { "description": "200 response for get_openid_connect_userinfo", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8636,6 +12486,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8691,7 +12544,27 @@ }, "responses": { "204": { - "description": "204 response for partner_sdk_unmerge_provisional_account" + "description": "204 response for partner_sdk_unmerge_provisional_account", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -8745,6 +12618,23 @@ "responses": { "200": { "description": "200 response for partner_sdk_token", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8753,6 +12643,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8771,6 +12664,23 @@ "responses": { "200": { "description": "200 response for get_soundboard_default_sounds", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8782,6 +12692,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8849,6 +12762,23 @@ "responses": { "200": { "description": "200 response for create_stage_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8857,6 +12787,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8884,6 +12817,23 @@ "responses": { "200": { "description": "200 response for get_stage_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8892,6 +12842,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8906,7 +12859,27 @@ "operationId": "delete_stage_instance", "responses": { "204": { - "description": "204 response for delete_stage_instance" + "description": "204 response for delete_stage_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -8943,6 +12916,23 @@ "responses": { "200": { "description": "200 response for update_stage_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8951,6 +12941,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8968,6 +12961,23 @@ "responses": { "200": { "description": "200 response for list_sticker_packs", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8976,6 +12986,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9004,6 +13017,23 @@ "responses": { "200": { "description": "200 response for get_sticker_pack", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9012,6 +13042,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9039,6 +13072,23 @@ "responses": { "200": { "description": "200 response for get_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9054,6 +13104,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9071,6 +13124,23 @@ "responses": { "200": { "description": "200 response for get_my_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9079,6 +13149,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9109,6 +13182,23 @@ "responses": { "200": { "description": "200 response for update_my_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9117,6 +13207,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9144,6 +13237,23 @@ "responses": { "200": { "description": "200 response for get_application_user_role_connection", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9152,6 +13262,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9179,6 +13292,23 @@ "responses": { "200": { "description": "200 response for update_application_user_role_connection", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9187,6 +13317,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9203,7 +13336,27 @@ "operationId": "delete_application_user_role_connection", "responses": { "204": { - "description": "204 response for delete_application_user_role_connection" + "description": "204 response for delete_application_user_role_connection", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9234,6 +13387,23 @@ "responses": { "200": { "description": "200 response for create_dm", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9249,6 +13419,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9266,6 +13439,23 @@ "responses": { "200": { "description": "200 response for list_my_connections", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9280,6 +13470,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9334,6 +13527,23 @@ "responses": { "200": { "description": "200 response for list_my_guilds", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9348,6 +13558,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9379,7 +13592,27 @@ "operationId": "leave_guild", "responses": { "204": { - "description": "204 response for leave_guild" + "description": "204 response for leave_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9408,6 +13641,23 @@ "responses": { "200": { "description": "200 response for get_my_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9416,6 +13666,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9445,6 +13698,23 @@ "responses": { "200": { "description": "200 response for get_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9453,6 +13723,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9470,6 +13743,23 @@ "responses": { "200": { "description": "200 response for list_voice_regions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9484,6 +13774,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9511,6 +13804,23 @@ "responses": { "200": { "description": "200 response for get_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9529,6 +13839,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9543,7 +13856,27 @@ "operationId": "delete_webhook", "responses": { "204": { - "description": "204 response for delete_webhook" + "description": "204 response for delete_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9594,6 +13927,23 @@ "responses": { "200": { "description": "200 response for update_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9612,6 +13962,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9648,6 +14001,23 @@ "responses": { "200": { "description": "200 response for get_webhook_by_token", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9666,6 +14036,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9749,6 +14122,23 @@ "responses": { "200": { "description": "200 response for execute_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9758,7 +14148,27 @@ } }, "204": { - "description": "204 response for execute_webhook" + "description": "204 response for execute_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9775,7 +14185,27 @@ "operationId": "delete_webhook_by_token", "responses": { "204": { - "description": "204 response for delete_webhook_by_token" + "description": "204 response for delete_webhook_by_token", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9817,6 +14247,23 @@ "responses": { "200": { "description": "200 response for update_webhook_by_token", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9835,6 +14282,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9897,7 +14347,27 @@ }, "responses": { "204": { - "description": "204 response for execute_github_compatible_webhook" + "description": "204 response for execute_github_compatible_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9945,6 +14415,23 @@ "responses": { "200": { "description": "200 response for get_original_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9953,6 +14440,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9977,7 +14467,27 @@ ], "responses": { "204": { - "description": "204 response for delete_original_webhook_message" + "description": "204 response for delete_original_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -10080,6 +14590,23 @@ "responses": { "200": { "description": "200 response for update_original_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -10088,6 +14615,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -10142,6 +14672,23 @@ "responses": { "200": { "description": "200 response for get_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -10150,6 +14697,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -10174,7 +14724,27 @@ ], "responses": { "204": { - "description": "204 response for delete_webhook_message" + "description": "204 response for delete_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -10277,6 +14847,23 @@ "responses": { "200": { "description": "200 response for update_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -10285,6 +14872,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -10358,6 +14948,23 @@ "responses": { "200": { "description": "200 response for execute_slack_compatible_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -10369,6 +14976,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -33840,6 +38450,32 @@ } } ] + }, + "RatelimitedResponse": { + "type": "object", + "description": "Ratelimit error object returned by the Discord API", + "allOf": [ + { + "$ref": "#/components/schemas/Error" + }, + { + "type": "object", + "properties": { + "retry_after": { + "type": "number", + "description": "The number of seconds to wait before retrying your request" + }, + "global": { + "type": "boolean", + "description": "Whether you are being ratelimited by the global ratelimit or a per-endpoint ratelimit" + } + }, + "required": [ + "retry_after", + "global" + ] + } + ] } }, "securitySchemes": { @@ -33975,6 +38611,23 @@ "responses": { "ClientErrorResponse": { "description": "Client error response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -33982,6 +38635,65 @@ } } } + }, + "ClientRatelimitedResponse": { + "description": "Client ratelimited response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RatelimitedResponse" + } + } + } + } + }, + "headers": { + "X-RateLimit-Limit": { + "schema": { + "type": "integer" + }, + "description": "The maximum number of requests that can be made in the current ratelimit window" + }, + "X-RateLimit-Remaining": { + "schema": { + "type": "integer" + }, + "description": "The number of requests remaining in the current ratelimit window" + }, + "X-RateLimit-Reset": { + "schema": { + "type": "number" + }, + "description": "A unix timestamp in seconds at which the current ratelimit window resets" + }, + "X-RateLimit-Reset-After": { + "schema": { + "type": "number" + }, + "description": "The duration in seconds until the current ratelimit window resets" + }, + "X-RateLimit-Bucket": { + "schema": { + "type": "string" + }, + "description": "The bucket that the request belongs to" } } } diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index ba48074..33f567e 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -26,6 +26,23 @@ "responses": { "200": { "description": "200 response for get_my_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -34,6 +51,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -59,6 +79,23 @@ "responses": { "200": { "description": "200 response for update_my_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -67,6 +104,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -94,6 +134,23 @@ "responses": { "200": { "description": "200 response for get_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -102,6 +159,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -127,6 +187,23 @@ "responses": { "200": { "description": "200 response for update_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -135,6 +212,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -171,6 +251,23 @@ "responses": { "200": { "description": "200 response for applications_get_activity_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -179,6 +276,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -225,6 +325,23 @@ "responses": { "200": { "description": "200 response for upload_application_attachment", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -233,6 +350,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -307,6 +427,23 @@ "responses": { "200": { "description": "200 response for list_application_commands", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -321,6 +458,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -358,6 +498,23 @@ "responses": { "200": { "description": "200 response for bulk_set_application_commands", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -372,6 +529,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -402,6 +562,23 @@ "responses": { "200": { "description": "200 response for create_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -412,6 +589,23 @@ }, "201": { "description": "201 response for create_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -420,6 +614,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -460,6 +657,23 @@ "responses": { "200": { "description": "200 response for get_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -468,6 +682,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -487,7 +704,27 @@ "operationId": "delete_application_command", "responses": { "204": { - "description": "204 response for delete_application_command" + "description": "204 response for delete_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -519,6 +756,23 @@ "responses": { "200": { "description": "200 response for update_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -527,6 +781,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -559,6 +816,23 @@ "responses": { "200": { "description": "200 response for list_application_emojis", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -567,6 +841,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -607,6 +884,23 @@ "responses": { "201": { "description": "201 response for create_application_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -615,6 +909,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -650,6 +947,23 @@ "responses": { "200": { "description": "200 response for get_application_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -658,6 +972,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -672,7 +989,27 @@ "operationId": "delete_application_emoji", "responses": { "204": { - "description": "204 response for delete_application_emoji" + "description": "204 response for delete_application_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -706,6 +1043,23 @@ "responses": { "200": { "description": "200 response for update_application_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -714,6 +1068,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -828,6 +1185,23 @@ "responses": { "200": { "description": "200 response for get_entitlements", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -846,6 +1220,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -876,6 +1253,23 @@ "responses": { "200": { "description": "200 response for create_entitlement", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -884,6 +1278,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -919,6 +1316,23 @@ "responses": { "200": { "description": "200 response for get_entitlement", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -927,6 +1341,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -946,7 +1363,27 @@ "operationId": "delete_entitlement", "responses": { "204": { - "description": "204 response for delete_entitlement" + "description": "204 response for delete_entitlement", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -987,7 +1424,27 @@ "operationId": "consume_entitlement", "responses": { "204": { - "description": "204 response for consume_entitlement" + "description": "204 response for consume_entitlement", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -1038,6 +1495,23 @@ "responses": { "200": { "description": "200 response for list_guild_application_commands", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1052,6 +1526,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1089,6 +1566,23 @@ "responses": { "200": { "description": "200 response for bulk_set_guild_application_commands", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1103,6 +1597,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1133,6 +1630,23 @@ "responses": { "200": { "description": "200 response for create_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1143,6 +1657,23 @@ }, "201": { "description": "201 response for create_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1151,6 +1682,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1191,6 +1725,23 @@ "responses": { "200": { "description": "200 response for list_guild_application_command_permissions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1202,6 +1753,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1250,6 +1804,23 @@ "responses": { "200": { "description": "200 response for get_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1258,6 +1829,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1277,7 +1851,27 @@ "operationId": "delete_guild_application_command", "responses": { "204": { - "description": "204 response for delete_guild_application_command" + "description": "204 response for delete_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -1309,6 +1903,23 @@ "responses": { "200": { "description": "200 response for update_guild_application_command", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1317,6 +1928,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1365,6 +1979,23 @@ "responses": { "200": { "description": "200 response for get_guild_application_command_permissions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1373,6 +2004,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1415,6 +2049,23 @@ "responses": { "200": { "description": "200 response for set_guild_application_command_permissions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1423,6 +2074,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1455,6 +2109,23 @@ "responses": { "200": { "description": "200 response for get_application_role_connections_metadata", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1469,6 +2140,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1501,6 +2175,23 @@ "responses": { "200": { "description": "200 response for update_application_role_connections_metadata", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1515,6 +2206,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1542,6 +2236,23 @@ "responses": { "200": { "description": "200 response for get_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1563,6 +2274,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1578,6 +2292,23 @@ "responses": { "200": { "description": "200 response for delete_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1599,6 +2330,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1638,6 +2372,23 @@ "responses": { "200": { "description": "200 response for update_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1659,6 +2410,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1704,6 +2458,23 @@ "responses": { "200": { "description": "200 response for follow_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1712,6 +2483,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1739,6 +2513,23 @@ "responses": { "200": { "description": "200 response for list_channel_invites", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1764,6 +2555,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1797,6 +2591,23 @@ "responses": { "200": { "description": "200 response for create_channel_invite", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1817,7 +2628,27 @@ } }, "204": { - "description": "204 response for create_channel_invite" + "description": "204 response for create_channel_invite", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -1878,6 +2709,23 @@ "responses": { "200": { "description": "200 response for list_messages", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1892,6 +2740,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -1976,6 +2827,23 @@ "responses": { "200": { "description": "200 response for create_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -1984,6 +2852,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2034,7 +2905,27 @@ }, "responses": { "204": { - "description": "204 response for bulk_delete_messages" + "description": "204 response for bulk_delete_messages", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2082,6 +2973,23 @@ "responses": { "200": { "description": "200 response for list_pins", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2090,6 +2998,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2124,7 +3035,27 @@ "operationId": "create_pin", "responses": { "204": { - "description": "204 response for create_pin" + "description": "204 response for create_pin", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2140,7 +3071,27 @@ "operationId": "delete_pin", "responses": { "204": { - "description": "204 response for delete_pin" + "description": "204 response for delete_pin", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2177,6 +3128,23 @@ "responses": { "200": { "description": "200 response for get_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2185,6 +3153,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2199,7 +3170,27 @@ "operationId": "delete_message", "responses": { "204": { - "description": "204 response for delete_message" + "description": "204 response for delete_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2285,6 +3276,23 @@ "responses": { "200": { "description": "200 response for update_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2293,6 +3301,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2328,6 +3339,23 @@ "responses": { "200": { "description": "200 response for crosspost_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2336,6 +3364,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2370,7 +3401,27 @@ "operationId": "delete_all_message_reactions", "responses": { "204": { - "description": "204 response for delete_all_message_reactions" + "description": "204 response for delete_all_message_reactions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2441,6 +3492,23 @@ "responses": { "200": { "description": "200 response for list_message_reactions_by_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2452,6 +3520,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2466,7 +3537,27 @@ "operationId": "delete_all_message_reactions_by_emoji", "responses": { "204": { - "description": "204 response for delete_all_message_reactions_by_emoji" + "description": "204 response for delete_all_message_reactions_by_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2511,7 +3602,27 @@ "operationId": "add_my_message_reaction", "responses": { "204": { - "description": "204 response for add_my_message_reaction" + "description": "204 response for add_my_message_reaction", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2527,7 +3638,27 @@ "operationId": "delete_my_message_reaction", "responses": { "204": { - "description": "204 response for delete_my_message_reaction" + "description": "204 response for delete_my_message_reaction", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2580,7 +3711,27 @@ "operationId": "delete_user_message_reaction", "responses": { "204": { - "description": "204 response for delete_user_message_reaction" + "description": "204 response for delete_user_message_reaction", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2627,6 +3778,23 @@ "responses": { "201": { "description": "201 response for create_thread_from_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2635,6 +3803,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2703,7 +3874,27 @@ }, "responses": { "204": { - "description": "204 response for set_channel_permission_overwrite" + "description": "204 response for set_channel_permission_overwrite", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2719,7 +3910,27 @@ "operationId": "delete_channel_permission_overwrite", "responses": { "204": { - "description": "204 response for delete_channel_permission_overwrite" + "description": "204 response for delete_channel_permission_overwrite", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2748,6 +3959,23 @@ "responses": { "200": { "description": "200 response for deprecated_list_pins", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2762,6 +3990,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2796,7 +4027,27 @@ "operationId": "deprecated_create_pin", "responses": { "204": { - "description": "204 response for deprecated_create_pin" + "description": "204 response for deprecated_create_pin", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2812,7 +4063,27 @@ "operationId": "deprecated_delete_pin", "responses": { "204": { - "description": "204 response for deprecated_delete_pin" + "description": "204 response for deprecated_delete_pin", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -2878,6 +4149,23 @@ "responses": { "200": { "description": "200 response for get_answer_voters", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2886,6 +4174,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2921,6 +4212,23 @@ "responses": { "200": { "description": "200 response for poll_expire", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -2929,6 +4237,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -2990,6 +4301,23 @@ "responses": { "201": { "description": "201 response for add_group_dm_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3006,7 +4334,27 @@ } }, "204": { - "description": "204 response for add_group_dm_user" + "description": "204 response for add_group_dm_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3022,7 +4370,27 @@ "operationId": "delete_group_dm_user", "responses": { "204": { - "description": "204 response for delete_group_dm_user" + "description": "204 response for delete_group_dm_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3060,7 +4428,27 @@ }, "responses": { "204": { - "description": "204 response for send_soundboard_sound" + "description": "204 response for send_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3114,6 +4502,23 @@ "responses": { "200": { "description": "200 response for list_thread_members", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3125,6 +4530,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3151,7 +4559,27 @@ "operationId": "join_thread", "responses": { "204": { - "description": "204 response for join_thread" + "description": "204 response for join_thread", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3167,7 +4595,27 @@ "operationId": "leave_thread", "responses": { "204": { - "description": "204 response for leave_thread" + "description": "204 response for leave_thread", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3213,6 +4661,23 @@ "responses": { "200": { "description": "200 response for get_thread_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3221,6 +4686,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3235,7 +4703,27 @@ "operationId": "add_thread_member", "responses": { "204": { - "description": "204 response for add_thread_member" + "description": "204 response for add_thread_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3251,7 +4739,27 @@ "operationId": "delete_thread_member", "responses": { "204": { - "description": "204 response for delete_thread_member" + "description": "204 response for delete_thread_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3324,6 +4832,23 @@ "responses": { "201": { "description": "201 response for create_thread", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3332,6 +4857,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3378,6 +4906,23 @@ "responses": { "200": { "description": "200 response for list_private_archived_threads", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3386,6 +4931,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3432,6 +4980,23 @@ "responses": { "200": { "description": "200 response for list_public_archived_threads", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3440,6 +5005,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3565,6 +5133,23 @@ "responses": { "200": { "description": "200 response for thread_search", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3573,6 +5158,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3600,6 +5188,23 @@ "responses": { "200": { "description": "200 response for trigger_typing_indicator", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3609,7 +5214,27 @@ } }, "204": { - "description": "204 response for trigger_typing_indicator" + "description": "204 response for trigger_typing_indicator", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -3656,6 +5281,23 @@ "responses": { "200": { "description": "200 response for list_my_private_archived_threads", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3664,6 +5306,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3691,6 +5336,23 @@ "responses": { "200": { "description": "200 response for list_channel_webhooks", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3715,6 +5377,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3757,6 +5422,23 @@ "responses": { "200": { "description": "200 response for create_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3765,6 +5447,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3782,6 +5467,23 @@ "responses": { "200": { "description": "200 response for get_gateway", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3790,6 +5492,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3808,6 +5513,23 @@ "responses": { "200": { "description": "200 response for get_bot_gateway", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3816,6 +5538,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3843,6 +5568,23 @@ "responses": { "201": { "description": "201 response for create_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3851,6 +5593,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3879,6 +5624,23 @@ "responses": { "200": { "description": "200 response for get_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3887,6 +5649,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3930,6 +5695,23 @@ "responses": { "201": { "description": "201 response for create_guild_from_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3938,6 +5720,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3974,6 +5759,23 @@ "responses": { "200": { "description": "200 response for get_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -3982,6 +5784,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -3996,7 +5801,27 @@ "operationId": "delete_guild", "responses": { "204": { - "description": "204 response for delete_guild" + "description": "204 response for delete_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4023,6 +5848,23 @@ "responses": { "200": { "description": "200 response for update_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4031,6 +5873,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4104,6 +5949,23 @@ "responses": { "200": { "description": "200 response for list_guild_audit_log_entries", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4112,6 +5974,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4139,6 +6004,23 @@ "responses": { "200": { "description": "200 response for list_auto_moderation_rules", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4172,6 +6054,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4210,6 +6095,23 @@ "responses": { "200": { "description": "200 response for create_auto_moderation_rule", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4234,6 +6136,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4269,6 +6174,23 @@ "responses": { "200": { "description": "200 response for get_auto_moderation_rule", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4293,6 +6215,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4307,7 +6232,27 @@ "operationId": "delete_auto_moderation_rule", "responses": { "204": { - "description": "204 response for delete_auto_moderation_rule" + "description": "204 response for delete_auto_moderation_rule", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4348,6 +6293,23 @@ "responses": { "200": { "description": "200 response for update_auto_moderation_rule", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4372,6 +6334,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4424,6 +6389,23 @@ "responses": { "200": { "description": "200 response for list_guild_bans", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4438,6 +6420,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4473,6 +6458,23 @@ "responses": { "200": { "description": "200 response for get_guild_ban", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4481,6 +6483,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4523,7 +6528,27 @@ }, "responses": { "204": { - "description": "204 response for ban_user_from_guild" + "description": "204 response for ban_user_from_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4539,7 +6564,27 @@ "operationId": "unban_user_from_guild", "responses": { "204": { - "description": "204 response for unban_user_from_guild" + "description": "204 response for unban_user_from_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4599,6 +6644,23 @@ "responses": { "200": { "description": "200 response for bulk_ban_users_from_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4607,6 +6669,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4634,6 +6699,23 @@ "responses": { "200": { "description": "200 response for list_guild_channels", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4661,6 +6743,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4689,6 +6774,23 @@ "responses": { "201": { "description": "201 response for create_guild_channel", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4697,6 +6799,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4753,7 +6858,27 @@ }, "responses": { "204": { - "description": "204 response for bulk_update_guild_channels" + "description": "204 response for bulk_update_guild_channels", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4782,6 +6907,23 @@ "responses": { "200": { "description": "200 response for list_guild_emojis", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4796,6 +6938,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4854,6 +6999,23 @@ "responses": { "201": { "description": "201 response for create_guild_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4862,6 +7024,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4897,6 +7062,23 @@ "responses": { "200": { "description": "200 response for get_guild_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4905,6 +7087,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -4919,7 +7104,27 @@ "operationId": "delete_guild_emoji", "responses": { "204": { - "description": "204 response for delete_guild_emoji" + "description": "204 response for delete_guild_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -4971,6 +7176,23 @@ "responses": { "200": { "description": "200 response for update_guild_emoji", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -4979,6 +7201,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5006,6 +7231,23 @@ "responses": { "200": { "description": "200 response for list_guild_integrations", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5030,6 +7272,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5064,7 +7309,27 @@ "operationId": "delete_guild_integration", "responses": { "204": { - "description": "204 response for delete_guild_integration" + "description": "204 response for delete_guild_integration", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5093,6 +7358,23 @@ "responses": { "200": { "description": "200 response for list_guild_invites", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5118,6 +7400,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5164,6 +7449,23 @@ "responses": { "200": { "description": "200 response for list_guild_members", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5175,6 +7477,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5221,6 +7526,23 @@ "responses": { "200": { "description": "200 response for update_my_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5229,6 +7551,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5278,6 +7603,23 @@ "responses": { "200": { "description": "200 response for search_guild_members", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5289,6 +7631,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5324,6 +7669,23 @@ "responses": { "200": { "description": "200 response for get_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5332,6 +7694,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5357,6 +7722,23 @@ "responses": { "201": { "description": "201 response for add_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5366,7 +7748,27 @@ } }, "204": { - "description": "204 response for add_guild_member" + "description": "204 response for add_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5382,7 +7784,27 @@ "operationId": "delete_guild_member", "responses": { "204": { - "description": "204 response for delete_guild_member" + "description": "204 response for delete_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5471,6 +7893,23 @@ "responses": { "200": { "description": "200 response for update_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5480,7 +7919,27 @@ } }, "204": { - "description": "204 response for update_guild_member" + "description": "204 response for update_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5524,7 +7983,27 @@ "operationId": "add_guild_member_role", "responses": { "204": { - "description": "204 response for add_guild_member_role" + "description": "204 response for add_guild_member_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5540,7 +8019,27 @@ "operationId": "delete_guild_member_role", "responses": { "204": { - "description": "204 response for delete_guild_member_role" + "description": "204 response for delete_guild_member_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5587,6 +8086,23 @@ "responses": { "200": { "description": "200 response for set_guild_mfa_level", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5595,6 +8111,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5622,6 +8141,23 @@ "responses": { "200": { "description": "200 response for get_guild_new_member_welcome", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5631,7 +8167,27 @@ } }, "204": { - "description": "204 response for get_guild_new_member_welcome" + "description": "204 response for get_guild_new_member_welcome", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -5660,6 +8216,23 @@ "responses": { "200": { "description": "200 response for get_guilds_onboarding", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5668,6 +8241,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5693,6 +8269,23 @@ "responses": { "200": { "description": "200 response for put_guilds_onboarding", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5701,6 +8294,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5728,6 +8324,23 @@ "responses": { "200": { "description": "200 response for get_guild_preview", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5736,6 +8349,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5800,6 +8416,23 @@ "responses": { "200": { "description": "200 response for preview_prune_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5808,6 +8441,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5874,6 +8510,23 @@ "responses": { "200": { "description": "200 response for prune_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5882,6 +8535,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5909,6 +8565,23 @@ "responses": { "200": { "description": "200 response for list_guild_voice_regions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5923,6 +8596,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -5950,6 +8626,23 @@ "responses": { "200": { "description": "200 response for list_guild_roles", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -5961,6 +8654,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6035,6 +8731,23 @@ "responses": { "200": { "description": "200 response for create_guild_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6043,6 +8756,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6090,6 +8806,23 @@ "responses": { "200": { "description": "200 response for bulk_update_guild_roles", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6101,6 +8834,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6136,6 +8872,23 @@ "responses": { "200": { "description": "200 response for get_guild_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6144,6 +8897,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6158,7 +8914,27 @@ "operationId": "delete_guild_role", "responses": { "204": { - "description": "204 response for delete_guild_role" + "description": "204 response for delete_guild_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -6234,6 +9010,23 @@ "responses": { "200": { "description": "200 response for update_guild_role", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6242,6 +9035,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6278,6 +9074,23 @@ "responses": { "200": { "description": "200 response for list_guild_scheduled_events", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6302,6 +9115,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6337,6 +9153,23 @@ "responses": { "200": { "description": "200 response for create_guild_scheduled_event", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6355,6 +9188,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6399,6 +9235,23 @@ "responses": { "200": { "description": "200 response for get_guild_scheduled_event", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6417,6 +9270,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6431,7 +9287,27 @@ "operationId": "delete_guild_scheduled_event", "responses": { "204": { - "description": "204 response for delete_guild_scheduled_event" + "description": "204 response for delete_guild_scheduled_event", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -6469,6 +9345,23 @@ "responses": { "200": { "description": "200 response for update_guild_scheduled_event", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6487,6 +9380,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6554,6 +9450,23 @@ "responses": { "200": { "description": "200 response for list_guild_scheduled_event_users", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6568,6 +9481,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6595,6 +9511,23 @@ "responses": { "200": { "description": "200 response for list_guild_soundboard_sounds", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6603,6 +9536,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6628,6 +9564,23 @@ "responses": { "201": { "description": "201 response for create_guild_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6636,6 +9589,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6671,6 +9627,23 @@ "responses": { "200": { "description": "200 response for get_guild_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6679,6 +9652,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6693,7 +9669,27 @@ "operationId": "delete_guild_soundboard_sound", "responses": { "204": { - "description": "204 response for delete_guild_soundboard_sound" + "description": "204 response for delete_guild_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -6720,6 +9716,23 @@ "responses": { "200": { "description": "200 response for update_guild_soundboard_sound", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6728,6 +9741,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6755,6 +9771,23 @@ "responses": { "200": { "description": "200 response for list_guild_stickers", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6766,6 +9799,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6819,6 +9855,23 @@ "responses": { "201": { "description": "201 response for create_guild_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6827,6 +9880,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6862,6 +9918,23 @@ "responses": { "200": { "description": "200 response for get_guild_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6870,6 +9943,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6884,7 +9960,27 @@ "operationId": "delete_guild_sticker", "responses": { "204": { - "description": "204 response for delete_guild_sticker" + "description": "204 response for delete_guild_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -6930,6 +10026,23 @@ "responses": { "200": { "description": "200 response for update_guild_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6938,6 +10051,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -6965,6 +10081,23 @@ "responses": { "200": { "description": "200 response for list_guild_templates", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -6979,6 +10112,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7021,6 +10157,23 @@ "responses": { "200": { "description": "200 response for create_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7029,6 +10182,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7065,6 +10221,23 @@ "responses": { "200": { "description": "200 response for sync_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7073,6 +10246,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7088,6 +10264,23 @@ "responses": { "200": { "description": "200 response for delete_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7096,6 +10289,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7135,6 +10331,23 @@ "responses": { "200": { "description": "200 response for update_guild_template", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7143,6 +10356,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7170,6 +10386,23 @@ "responses": { "200": { "description": "200 response for get_active_guild_threads", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7178,6 +10411,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7205,6 +10441,23 @@ "responses": { "200": { "description": "200 response for get_guild_vanity_url", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7213,6 +10466,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7240,6 +10496,23 @@ "responses": { "200": { "description": "200 response for get_self_voice_state", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7248,6 +10521,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7297,7 +10573,27 @@ }, "responses": { "204": { - "description": "204 response for update_self_voice_state" + "description": "204 response for update_self_voice_state", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -7334,6 +10630,23 @@ "responses": { "200": { "description": "200 response for get_voice_state", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7342,6 +10655,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7384,7 +10700,27 @@ }, "responses": { "204": { - "description": "204 response for update_voice_state" + "description": "204 response for update_voice_state", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -7413,6 +10749,23 @@ "responses": { "200": { "description": "200 response for get_guild_webhooks", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7437,6 +10790,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7464,6 +10820,23 @@ "responses": { "200": { "description": "200 response for get_guild_welcome_screen", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7472,6 +10845,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7497,6 +10873,23 @@ "responses": { "200": { "description": "200 response for update_guild_welcome_screen", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7505,6 +10898,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7532,6 +10928,23 @@ "responses": { "200": { "description": "200 response for get_guild_widget_settings", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7540,6 +10953,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7583,6 +10999,23 @@ "responses": { "200": { "description": "200 response for update_guild_widget_settings", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7591,6 +11024,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7618,6 +11054,23 @@ "responses": { "200": { "description": "200 response for get_guild_widget", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7626,6 +11079,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7663,6 +11119,23 @@ "responses": { "200": { "description": "200 response for get_guild_widget_png", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "image/png": { "schema": { @@ -7672,6 +11145,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7798,6 +11274,23 @@ "responses": { "200": { "description": "200 response for create_interaction_response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7807,7 +11300,27 @@ } }, "204": { - "description": "204 response for create_interaction_response" + "description": "204 response for create_interaction_response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -7854,6 +11367,23 @@ "responses": { "200": { "description": "200 response for invite_resolve", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7873,6 +11403,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7889,6 +11422,23 @@ "responses": { "200": { "description": "200 response for invite_revoke", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7908,6 +11458,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -7975,6 +11528,23 @@ "responses": { "200": { "description": "200 response for create_or_join_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -7983,6 +11553,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8043,6 +11616,23 @@ "responses": { "201": { "description": "201 response for create_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8051,6 +11641,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8078,6 +11671,23 @@ "responses": { "200": { "description": "200 response for get_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8086,6 +11696,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8143,6 +11756,23 @@ "responses": { "200": { "description": "200 response for edit_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8151,6 +11781,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8200,6 +11833,23 @@ "responses": { "200": { "description": "200 response for edit_lobby_channel_link", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8208,6 +11858,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8237,7 +11890,27 @@ "operationId": "leave_lobby", "responses": { "204": { - "description": "204 response for leave_lobby" + "description": "204 response for leave_lobby", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -8287,6 +11960,23 @@ "responses": { "200": { "description": "200 response for bulk_update_lobby_members", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8301,6 +11991,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8372,6 +12065,23 @@ "responses": { "200": { "description": "200 response for add_lobby_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8380,6 +12090,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8394,7 +12107,27 @@ "operationId": "delete_lobby_member", "responses": { "204": { - "description": "204 response for delete_lobby_member" + "description": "204 response for delete_lobby_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -8434,6 +12167,23 @@ "responses": { "200": { "description": "200 response for get_lobby_messages", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8448,6 +12198,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8486,6 +12239,23 @@ "responses": { "201": { "description": "201 response for create_lobby_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8494,6 +12264,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8514,6 +12287,23 @@ "responses": { "200": { "description": "200 response for get_my_oauth2_authorization", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8522,6 +12312,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8577,6 +12370,23 @@ "responses": { "200": { "description": "200 response for get_my_oauth2_application", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8585,6 +12395,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8602,6 +12415,23 @@ "responses": { "200": { "description": "200 response for get_public_keys", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8610,6 +12440,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8628,6 +12461,23 @@ "responses": { "200": { "description": "200 response for get_openid_connect_userinfo", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8636,6 +12486,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8691,7 +12544,27 @@ }, "responses": { "204": { - "description": "204 response for partner_sdk_unmerge_provisional_account" + "description": "204 response for partner_sdk_unmerge_provisional_account", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -8745,6 +12618,23 @@ "responses": { "200": { "description": "200 response for partner_sdk_token", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8753,6 +12643,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8771,6 +12664,23 @@ "responses": { "200": { "description": "200 response for get_soundboard_default_sounds", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8782,6 +12692,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8849,6 +12762,23 @@ "responses": { "200": { "description": "200 response for create_stage_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8857,6 +12787,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8884,6 +12817,23 @@ "responses": { "200": { "description": "200 response for get_stage_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8892,6 +12842,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8906,7 +12859,27 @@ "operationId": "delete_stage_instance", "responses": { "204": { - "description": "204 response for delete_stage_instance" + "description": "204 response for delete_stage_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -8943,6 +12916,23 @@ "responses": { "200": { "description": "200 response for update_stage_instance", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8951,6 +12941,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -8968,6 +12961,23 @@ "responses": { "200": { "description": "200 response for list_sticker_packs", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -8976,6 +12986,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9004,6 +13017,23 @@ "responses": { "200": { "description": "200 response for get_sticker_pack", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9012,6 +13042,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9039,6 +13072,23 @@ "responses": { "200": { "description": "200 response for get_sticker", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9054,6 +13104,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9071,6 +13124,23 @@ "responses": { "200": { "description": "200 response for get_my_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9079,6 +13149,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9109,6 +13182,23 @@ "responses": { "200": { "description": "200 response for update_my_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9117,6 +13207,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9144,6 +13237,23 @@ "responses": { "200": { "description": "200 response for get_application_user_role_connection", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9152,6 +13262,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9179,6 +13292,23 @@ "responses": { "200": { "description": "200 response for update_application_user_role_connection", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9187,6 +13317,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9203,7 +13336,27 @@ "operationId": "delete_application_user_role_connection", "responses": { "204": { - "description": "204 response for delete_application_user_role_connection" + "description": "204 response for delete_application_user_role_connection", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9234,6 +13387,23 @@ "responses": { "200": { "description": "200 response for create_dm", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9249,6 +13419,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9266,6 +13439,23 @@ "responses": { "200": { "description": "200 response for list_my_connections", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9280,6 +13470,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9334,6 +13527,23 @@ "responses": { "200": { "description": "200 response for list_my_guilds", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9348,6 +13558,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9379,7 +13592,27 @@ "operationId": "leave_guild", "responses": { "204": { - "description": "204 response for leave_guild" + "description": "204 response for leave_guild", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9408,6 +13641,23 @@ "responses": { "200": { "description": "200 response for get_my_guild_member", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9416,6 +13666,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9445,6 +13698,23 @@ "responses": { "200": { "description": "200 response for get_user", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9453,6 +13723,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9470,6 +13743,23 @@ "responses": { "200": { "description": "200 response for list_voice_regions", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9484,6 +13774,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9511,6 +13804,23 @@ "responses": { "200": { "description": "200 response for get_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9529,6 +13839,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9543,7 +13856,27 @@ "operationId": "delete_webhook", "responses": { "204": { - "description": "204 response for delete_webhook" + "description": "204 response for delete_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9594,6 +13927,23 @@ "responses": { "200": { "description": "200 response for update_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9612,6 +13962,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9648,6 +14001,23 @@ "responses": { "200": { "description": "200 response for get_webhook_by_token", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9666,6 +14036,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9749,6 +14122,23 @@ "responses": { "200": { "description": "200 response for execute_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9758,7 +14148,27 @@ } }, "204": { - "description": "204 response for execute_webhook" + "description": "204 response for execute_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9775,7 +14185,27 @@ "operationId": "delete_webhook_by_token", "responses": { "204": { - "description": "204 response for delete_webhook_by_token" + "description": "204 response for delete_webhook_by_token", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9817,6 +14247,23 @@ "responses": { "200": { "description": "200 response for update_webhook_by_token", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9835,6 +14282,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9897,7 +14347,27 @@ }, "responses": { "204": { - "description": "204 response for execute_github_compatible_webhook" + "description": "204 response for execute_github_compatible_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -9945,6 +14415,23 @@ "responses": { "200": { "description": "200 response for get_original_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -9953,6 +14440,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -9977,7 +14467,27 @@ ], "responses": { "204": { - "description": "204 response for delete_original_webhook_message" + "description": "204 response for delete_original_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -10080,6 +14590,23 @@ "responses": { "200": { "description": "200 response for update_original_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -10088,6 +14615,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -10142,6 +14672,23 @@ "responses": { "200": { "description": "200 response for get_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -10150,6 +14697,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -10174,7 +14724,27 @@ ], "responses": { "204": { - "description": "204 response for delete_webhook_message" + "description": "204 response for delete_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" @@ -10277,6 +14847,23 @@ "responses": { "200": { "description": "200 response for update_webhook_message", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -10285,6 +14872,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -10358,6 +14948,23 @@ "responses": { "200": { "description": "200 response for execute_slack_compatible_webhook", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -10369,6 +14976,9 @@ } } }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, "4XX": { "$ref": "#/components/responses/ClientErrorResponse" } @@ -34303,6 +38913,32 @@ } } ] + }, + "RatelimitedResponse": { + "type": "object", + "description": "Ratelimit error object returned by the Discord API", + "allOf": [ + { + "$ref": "#/components/schemas/Error" + }, + { + "type": "object", + "properties": { + "retry_after": { + "type": "number", + "description": "The number of seconds to wait before retrying your request" + }, + "global": { + "type": "boolean", + "description": "Whether you are being ratelimited by the global ratelimit or a per-endpoint ratelimit" + } + }, + "required": [ + "retry_after", + "global" + ] + } + ] } }, "securitySchemes": { @@ -34438,6 +39074,23 @@ "responses": { "ClientErrorResponse": { "description": "Client error response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, "content": { "application/json": { "schema": { @@ -34445,6 +39098,65 @@ } } } + }, + "ClientRatelimitedResponse": { + "description": "Client ratelimited response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RatelimitedResponse" + } + } + } + } + }, + "headers": { + "X-RateLimit-Limit": { + "schema": { + "type": "integer" + }, + "description": "The maximum number of requests that can be made in the current ratelimit window" + }, + "X-RateLimit-Remaining": { + "schema": { + "type": "integer" + }, + "description": "The number of requests remaining in the current ratelimit window" + }, + "X-RateLimit-Reset": { + "schema": { + "type": "number" + }, + "description": "A unix timestamp in seconds at which the current ratelimit window resets" + }, + "X-RateLimit-Reset-After": { + "schema": { + "type": "number" + }, + "description": "The duration in seconds until the current ratelimit window resets" + }, + "X-RateLimit-Bucket": { + "schema": { + "type": "string" + }, + "description": "The bucket that the request belongs to" } } }