Get the nodeinfo address from the well-known
[akkoma] / docs / api / pleroma_api.md
index a7e7fbe253d54d9bba02e90644ac8ab379659fc8..a469ddfbf3551f01a43d4c8601e845adccaedaff 100644 (file)
@@ -366,13 +366,12 @@ 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)
 
-
-## `POST /api/pleroma/emoji/reload`
-### Reload the instance's custom emoji
-* Method `POST`
-* Authentication: required
+## `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
+* 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
@@ -425,9 +424,9 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
   errors downloading the pack
 
 ## `GET /api/pleroma/emoji/packs/:name/download_shared`
-### Requests the instance to download the pack from another instance
+### Requests a local pack from the instance
 * Method `GET`
-* Authentication: not requires
+* Authentication: not required
 * Params: None
 * Response: the archive of the pack with a 200 status code, 403 if the pack is not set as shared,
   404 if the pack does not exist