This commit is contained in:
Alexander Strizhakov 2020-03-31 11:38:37 +03:00
parent 1c1b7e22af
commit 1fd40532ae
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -345,6 +345,7 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
* Params: * Params:
* `url`: url of the instance to download from * `url`: url of the instance to download from
* `name`: pack to download from that instance * `name`: pack to download from that instance
* `as`: (*optional*) name how to save pack
* Response: JSON, "ok" with 200 status if the pack was downloaded, or 500 if there were * Response: JSON, "ok" with 200 status if the pack was downloaded, or 500 if there were
errors downloading the pack errors downloading the pack
@ -357,7 +358,7 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
## `PATCH /api/pleroma/emoji/packs/:name` ## `PATCH /api/pleroma/emoji/packs/:name`
### Updates (replaces) pack metadata ### Updates (replaces) pack metadata
* Method `POST` * Method `PATCH`
* Authentication: required * Authentication: required
* Params: * Params:
* `metadata`: metadata to replace the old one * `metadata`: metadata to replace the old one