From b0c342fc3d52813b84ca0680c1f3b50f43e9ddc4 Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Wed, 14 Jan 2026 23:30:57 +0000 Subject: [PATCH] Automated spec update (176727) --- specs/openapi.json | 252 +++++++++++++++++++++++++++++++++++++ specs/openapi_preview.json | 252 +++++++++++++++++++++++++++++++++++++ 2 files changed, 504 insertions(+) diff --git a/specs/openapi.json b/specs/openapi.json index f6ecfeb..0b3e730 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -11133,6 +11133,178 @@ ] } }, + "/invites/{code}/target-users": { + "parameters": [ + { + "name": "code", + "in": "path", + "schema": { + "type": "string", + "maxLength": 152133 + }, + "required": true + } + ], + "get": { + "description": "Get the target users for an invite.", + "operationId": "get_invite_target_users", + "responses": { + "200": { + "description": "200 response for get_invite_target_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": { + "text/csv": { + "schema": { + "type": "string", + "description": "CSV file containing target users for the invite.", + "contentEncoding": "binary" + } + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + }, + "put": { + "description": "Update the target users for an existing invite.", + "operationId": "update_invite_target_users", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "target_users_file": { + "type": "string", + "contentEncoding": "binary" + } + }, + "required": [ + "target_users_file" + ] + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "204 response for update_invite_target_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" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, + "/invites/{code}/target-users/job-status": { + "parameters": [ + { + "name": "code", + "in": "path", + "schema": { + "type": "string", + "maxLength": 152133 + }, + "required": true + } + ], + "get": { + "description": "Get the target users job status for an invite.", + "operationId": "get_invite_target_users_job_status", + "responses": { + "200": { + "description": "200 response for get_invite_target_users_job_status", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "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/TargetUsersJobStatusResponse" + } + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/lobbies": { "put": { "operationId": "create_or_join_lobby", @@ -24535,6 +24707,15 @@ }, "is_nickname_changeable": { "type": "boolean" + }, + "roles": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/GuildRoleResponse" + } } }, "required": [ @@ -34591,6 +34772,77 @@ "value" ] }, + "TargetUsersJobStatusResponse": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/TargetUsersJobStatusTypes", + "description": "The status of the job processing the target users." + }, + "total_users": { + "$ref": "#/components/schemas/UInt32Type", + "description": "The total number of users in the provided list." + }, + "processed_users": { + "$ref": "#/components/schemas/UInt32Type", + "description": "The number of users processed so far." + }, + "created_at": { + "type": [ + "string", + "null" + ], + "description": "The timestamp when the job was created.", + "format": "date-time" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "description": "The timestamp when the job was successfully completed.", + "format": "date-time" + }, + "error_message": { + "type": [ + "string", + "null" + ], + "description": "The error message if the job failed." + } + }, + "required": [ + "status", + "total_users", + "processed_users" + ] + }, + "TargetUsersJobStatusTypes": { + "type": "integer", + "oneOf": [ + { + "title": "UNSPECIFIED", + "description": "The default value.", + "const": 0 + }, + { + "title": "PROCESSING", + "description": "The job is still being processed.", + "const": 1 + }, + { + "title": "COMPLETED", + "description": "The job has been completed successfully.", + "const": 2 + }, + { + "title": "FAILED", + "description": "The job has failed, see error_message field for more details.", + "const": 3 + } + ], + "format": "int32" + }, "TeamMemberResponse": { "type": "object", "properties": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 5880280..ee4ade9 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -11473,6 +11473,178 @@ ] } }, + "/invites/{code}/target-users": { + "parameters": [ + { + "name": "code", + "in": "path", + "schema": { + "type": "string", + "maxLength": 152133 + }, + "required": true + } + ], + "get": { + "description": "Get the target users for an invite.", + "operationId": "get_invite_target_users", + "responses": { + "200": { + "description": "200 response for get_invite_target_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": { + "text/csv": { + "schema": { + "type": "string", + "description": "CSV file containing target users for the invite.", + "contentEncoding": "binary" + } + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + }, + "put": { + "description": "Update the target users for an existing invite.", + "operationId": "update_invite_target_users", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "target_users_file": { + "type": "string", + "contentEncoding": "binary" + } + }, + "required": [ + "target_users_file" + ] + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "204 response for update_invite_target_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" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, + "/invites/{code}/target-users/job-status": { + "parameters": [ + { + "name": "code", + "in": "path", + "schema": { + "type": "string", + "maxLength": 152133 + }, + "required": true + } + ], + "get": { + "description": "Get the target users job status for an invite.", + "operationId": "get_invite_target_users_job_status", + "responses": { + "200": { + "description": "200 response for get_invite_target_users_job_status", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "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/TargetUsersJobStatusResponse" + } + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/lobbies": { "put": { "operationId": "create_or_join_lobby", @@ -24975,6 +25147,15 @@ }, "is_nickname_changeable": { "type": "boolean" + }, + "roles": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/GuildRoleResponse" + } } }, "required": [ @@ -35903,6 +36084,77 @@ "value" ] }, + "TargetUsersJobStatusResponse": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/TargetUsersJobStatusTypes", + "description": "The status of the job processing the target users." + }, + "total_users": { + "$ref": "#/components/schemas/UInt32Type", + "description": "The total number of users in the provided list." + }, + "processed_users": { + "$ref": "#/components/schemas/UInt32Type", + "description": "The number of users processed so far." + }, + "created_at": { + "type": [ + "string", + "null" + ], + "description": "The timestamp when the job was created.", + "format": "date-time" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "description": "The timestamp when the job was successfully completed.", + "format": "date-time" + }, + "error_message": { + "type": [ + "string", + "null" + ], + "description": "The error message if the job failed." + } + }, + "required": [ + "status", + "total_users", + "processed_users" + ] + }, + "TargetUsersJobStatusTypes": { + "type": "integer", + "oneOf": [ + { + "title": "UNSPECIFIED", + "description": "The default value.", + "const": 0 + }, + { + "title": "PROCESSING", + "description": "The job is still being processed.", + "const": 1 + }, + { + "title": "COMPLETED", + "description": "The job has been completed successfully.", + "const": 2 + }, + { + "title": "FAILED", + "description": "The job has failed, see error_message field for more details.", + "const": 3 + } + ], + "format": "int32" + }, "TeamMemberResponse": { "type": "object", "properties": {