aboutsummaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-06 18:01:12 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-04-30 15:24:02 +0300
commit5839e67eb86d6d14b21222247ce8e113c3b26637 (patch)
tree5f707f2e3fc935b614ce5a69426b58e8d402a48d /docs/API
parent4c4344b7b17a2ddb1c597b059e0a7dcc043e02b2 (diff)
downloadpleroma-5839e67eb86d6d14b21222247ce8e113c3b26637.tar.gz
return data only for updated emoji
Diffstat (limited to 'docs/API')
-rw-r--r--docs/API/pleroma_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md
index 90c43c356..a7c7731ce 100644
--- a/docs/API/pleroma_api.md
+++ b/docs/API/pleroma_api.md
@@ -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)