summary refs log tree commit diff
path: root/assets/openapi.json
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-17 02:42:57 +0100
committerRory& <root@rory.gay>2026-03-17 02:42:57 +0100
commitef9c51fed16fe2c2a5a3ea201c094df3a86eaa8e (patch)
tree6692f5998e416dfcff9f03acf4b1052789a33c60 /assets/openapi.json
parentSchemas for stickers (diff)
downloadserver-ts-ef9c51fed16fe2c2a5a3ea201c094df3a86eaa8e.tar.xz
Schemas for emojis
Diffstat (limited to 'assets/openapi.json')
-rw-r--r--assets/openapi.json46
1 files changed, 45 insertions, 1 deletions
diff --git a/assets/openapi.json b/assets/openapi.json

index c1df0643..3145285a 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -7267,6 +7267,50 @@ "video_ssrc" ] }, + "EmojisResponse": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EmojiResponse" + } + }, + "EmojiResponse": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "user": { + "$ref": "#/components/schemas/PartialUser" + }, + "require_colons": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + } + }, + "required": [ + "id", + "name" + ] + }, "CreateReportSchema": { "type": "object", "properties": { @@ -21643,7 +21687,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmojiArray" + "$ref": "#/components/schemas/EmojisResponse" } } }