Automated spec update (187514)

This commit is contained in:
Nelly (automation bot) 2026-02-18 21:28:48 +00:00
parent 3e758dc418
commit e4c6589bcb
2 changed files with 408 additions and 0 deletions

View file

@ -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"

View file

@ -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"