aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@cock.li>2019-09-13 21:00:28 +0300
committerEkaterina Vaartis <vaartis@cock.li>2019-09-19 00:16:33 +0300
commit86795d5ac2604e08654b872927678d3e05a68e85 (patch)
tree3d6501c291d00112229c0997c8fcf68fb54765ad /docs/api
parent43022c347f9001d9cb8de976dd521a1e5f1c1318 (diff)
downloadpleroma-86795d5ac2604e08654b872927678d3e05a68e85.tar.gz
Document emoji pack listing in the api docs
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/pleroma_api.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/api/pleroma_api.md b/docs/api/pleroma_api.md
index faf6e3acd..a469ddfbf 100644
--- a/docs/api/pleroma_api.md
+++ b/docs/api/pleroma_api.md
@@ -366,6 +366,13 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
* `recipients`: A list of ids of users that should receive posts to this conversation. This will replace the current list of recipients, so submit the full list. The owner of owner of the conversation will always be part of the set of recipients, though.
* Response: JSON, statuses (200 - healthy, 503 unhealthy)
+## `GET /api/pleroma/emoji/packs`
+### Lists the custom emoji packs on the server
+* Method `GET`
+* Authentication: not required
+* Params: None
+* Response: JSON, "ok" and 200 status and the JSON hashmap of "pack name" to "pack contents"
+
## `PUT /api/pleroma/emoji/packs/:name`
### Creates an empty custom emoji pack
* Method `PUT`