MM-54640 Add API to get multiple emojis by name at once (#24651)

* MM-54640 Add API to get multiple emojis by name at once

* Fix status code when too many names are requested

* Address feedback

* Update unit tests

* Fix styling

* Fix more styling

* Fix mismatched i18n id
Этот коммит содержится в:
Harrison Healey
2023-10-17 12:03:28 -04:00
коммит произвёл GitHub
родитель 77cc356d46
Коммит 3d0fd16666
8 изменённых файлов: 241 добавлений и 35 удалений

Просмотреть файл

@@ -1796,6 +1796,10 @@
"id": "api.emoji.get_image.read.app_error",
"translation": "Unable to read image file for emoji."
},
{
"id": "api.emoji.get_multiple_by_name_too_many.request_error",
"translation": "Unable to get that many emojis by name. Only {{.MaxNames}} emojis can be requested at once."
},
{
"id": "api.emoji.storage.app_error",
"translation": "File storage not configured properly. Please configure for either S3 or local server file storage."