feat: add emoji rename endpoint (#714)

* feat: add rename endpoint with rename-only update

Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com>

* fix: enforce detached emoji edit restrictions

Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com>

* fix: always enforce emoji edit permissions

Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com>

---------

Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com>
This commit is contained in:
Gabriel
2026-05-09 00:23:57 +02:00
committed by GitHub
parent d46c7f7f3c
commit 23ad135983
9 changed files with 306 additions and 4 deletions

View File

@@ -539,6 +539,22 @@ Emoji created, the event object has the same schema as the Emoji object in the A
}
```
### EmojiUpdate
Emoji has been updated.
```json
{
"type": "EmojiUpdate",
"id": "{emoji_id}",
"data": {
"name"?: "{emoji_name}"
}
}
```
- `data` field contains a partial Emoji object.
### EmojiDelete
Emoji has been deleted.