return data only for updated emoji

This commit is contained in:
Alexander Strizhakov 2020-02-06 18:01:12 +03:00
commit 5839e67eb8
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
5 changed files with 149 additions and 115 deletions

View file

@ -357,7 +357,7 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
* if the `action` is `update`, changes emoji shortcode
(from `shortcode` to `new_shortcode` or moves the file (from the current filename to `new_filename`)
* if the `action` is `remove`, removes the emoji named `shortcode` and it's associated file
* Response: JSON, updated "files" section of the pack and 200 status, 409 if the trying to use a shortcode
* Response: JSON, emoji shortcode with filename which was added/updated/deleted and 200 status, 409 if the trying to use a shortcode
that is already taken, 400 if there was an error with the shortcode, filename or file (additional info
in the "error" part of the response JSON)