aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@cock.li>2019-09-26 09:52:11 +0300
committerEkaterina Vaartis <vaartis@cock.li>2019-09-26 09:50:53 +0200
commitfc16bec3176bad683dfef1be472f09be1a86928b (patch)
tree9bd0b524a205d7a7e9fb882272fb0775a620d076 /docs/api
parent6abe12dceda8d0d32878208987a9631d5d546a3d (diff)
downloadpleroma-fc16bec3176bad683dfef1be472f09be1a86928b.tar.gz
Add list_from endpoint to the pleroma_api docs
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/pleroma_api.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/api/pleroma_api.md b/docs/api/pleroma_api.md
index a469ddfbf..ac5489aa3 100644
--- 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`