From e4c6589bcb28dca6d9dbe3352a6e8438bc8f5b7d Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Wed, 18 Feb 2026 21:28:48 +0000 Subject: [PATCH] Automated spec update (187514) --- specs/openapi.json | 204 +++++++++++++++++++++++++++++++++++++ specs/openapi_preview.json | 204 +++++++++++++++++++++++++++++++++++++ 2 files changed, 408 insertions(+) diff --git a/specs/openapi.json b/specs/openapi.json index 35c1941..3ebf7bb 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -12319,6 +12319,101 @@ ] } }, + "/lobbies/{lobby_id}/messages/{message_id}/moderation-metadata": { + "parameters": [ + { + "name": "lobby_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + }, + { + "name": "message_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + } + ], + "put": { + "description": "Update the external moderation metadata for a lobby message.", + "operationId": "update_lobby_message_external_moderation_metadata", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + }, + "multipart/form-data": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "204 response for update_lobby_message_external_moderation_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" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/oauth2/@me": { "get": { "operationId": "get_my_oauth2_authorization", @@ -12543,6 +12638,109 @@ ] } }, + "/partner-sdk/dms/{user_id_1}/{user_id_2}/messages/{message_id}/moderation-metadata": { + "parameters": [ + { + "name": "user_id_1", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + }, + { + "name": "user_id_2", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + }, + { + "name": "message_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + } + ], + "put": { + "description": "Update the external moderation metadata for a user message (DM).", + "operationId": "update_user_message_external_moderation_metadata", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + }, + "multipart/form-data": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "204 response for update_user_message_external_moderation_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" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/partner-sdk/provisional-accounts/unmerge": { "post": { "operationId": "partner_sdk_unmerge_provisional_account", @@ -28422,6 +28620,12 @@ "type": "string" } }, + "moderation_metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "flags": { "type": "integer", "format": "int32" diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 473f6ee..1f6af70 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -12659,6 +12659,101 @@ ] } }, + "/lobbies/{lobby_id}/messages/{message_id}/moderation-metadata": { + "parameters": [ + { + "name": "lobby_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + }, + { + "name": "message_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + } + ], + "put": { + "description": "Update the external moderation metadata for a lobby message.", + "operationId": "update_lobby_message_external_moderation_metadata", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + }, + "multipart/form-data": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "204 response for update_lobby_message_external_moderation_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" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/oauth2/@me": { "get": { "operationId": "get_my_oauth2_authorization", @@ -12883,6 +12978,109 @@ ] } }, + "/partner-sdk/dms/{user_id_1}/{user_id_2}/messages/{message_id}/moderation-metadata": { + "parameters": [ + { + "name": "user_id_1", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + }, + { + "name": "user_id_2", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + }, + { + "name": "message_id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "required": true + } + ], + "put": { + "description": "Update the external moderation metadata for a user message (DM).", + "operationId": "update_user_message_external_moderation_metadata", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + }, + "multipart/form-data": { + "schema": { + "type": "object", + "description": "The moderation metadata attached to the message", + "additionalProperties": { + "type": "string", + "maxLength": 2000 + }, + "maxProperties": 5 + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "204 response for update_user_message_external_moderation_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" + } + } + }, + "429": { + "$ref": "#/components/responses/ClientRatelimitedResponse" + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + } + ] + } + }, "/partner-sdk/provisional-accounts/unmerge": { "post": { "operationId": "partner_sdk_unmerge_provisional_account", @@ -29008,6 +29206,12 @@ "type": "string" } }, + "moderation_metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "flags": { "type": "integer", "format": "int32"