diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-06-18 18:50:03 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-06-18 18:50:03 +0300 |
commit | 4975ed86bcca330373a68c9e6c6798a6b2167b14 (patch) | |
tree | a8f6f28109b31c70fca32413901c544e85cb1102 /docs/API/pleroma_api.md | |
parent | 3becdafd335f95d9320d287ecf9a55ea1b1765cd (diff) | |
download | pleroma-4975ed86bcca330373a68c9e6c6798a6b2167b14.tar.gz pleroma-4975ed86bcca330373a68c9e6c6798a6b2167b14.zip |
emoji pagination for pack show action
Diffstat (limited to 'docs/API/pleroma_api.md')
-rw-r--r-- | docs/API/pleroma_api.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md index 70d4755b7..d8d3ba85f 100644 --- a/docs/API/pleroma_api.md +++ b/docs/API/pleroma_api.md @@ -450,17 +450,25 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa * Response: JSON, list with updated files for updated pack (hashmap -> shortcode => filename) with status 200, either error status with error message. ## `GET /api/pleroma/emoji/packs` + ### Lists local custom emoji packs + * Method `GET` * Authentication: not required -* Params: None +* Params: + * `page`: page number for packs (default 1) + * `page_size`: page size for packs (default 50) * Response: JSON, "ok" and 200 status and the JSON hashmap of pack name to pack contents ## `GET /api/pleroma/emoji/packs/:name` + ### Get pack.json for the pack + * Method `GET` * Authentication: not required -* Params: None +* Params: + * `page`: page number for files (default 1) + * `page_size`: page size for files (default 50) * Response: JSON, pack json with `files` and `pack` keys with 200 status or 404 if the pack does not exist ## `GET /api/pleroma/emoji/packs/:name/archive` |