logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 01a7e20c32394ae0edf66773419caf3402690ce8
parent: 8df3a63ce984d72b88edd962c0bb17bb60545070
Author: kaniini <ariadne@dereferenced.org>
Date:   Fri, 27 Sep 2019 03:46:53 +0000

Merge branch 'list-packs-docs' into 'develop'

Add list_from endpoint to the pleroma_api docs

See merge request pleroma/pleroma!1720

Diffstat:

Mdocs/api/pleroma_api.md9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/docs/api/pleroma_api.md b/docs/api/pleroma_api.md @@ -423,6 +423,15 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa * Response: JSON, "ok" and 200 status if the pack was downloaded, or 500 if there were errors downloading the pack +## `POST /api/pleroma/emoji/packs/list_from` +### Requests the instance to list the packs from another instance +* Method `POST` +* Authentication: required +* Params: + * `instance_address`: the address of the instance to download from +* Response: JSON with the pack list, same as if the request was made to that instance's + list endpoint directly + 200 status + ## `GET /api/pleroma/emoji/packs/:name/download_shared` ### Requests a local pack from the instance * Method `GET`