diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-06 21:42:51 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-06 21:42:51 +0300 |
commit | 5ae56aafb2edc737f7e9fb36e00377815f028ce6 (patch) | |
tree | ef7afffd7c9e3a01aa42211a4f989ff5210a1f06 /docs/API | |
parent | 047a60c46e11b68abfe710a895f4a9c134b951e8 (diff) | |
download | pleroma-5ae56aafb2edc737f7e9fb36e00377815f028ce6.tar.gz |
added import mutes
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/pleroma_api.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md index 4e97d26c0..22f3ad7d6 100644 --- a/docs/API/pleroma_api.md +++ b/docs/API/pleroma_api.md @@ -44,6 +44,23 @@ Request parameters can be passed via [query strings](https://en.wikipedia.org/wi * Response: HTTP 200 on success, 500 on error * Note: Users that can't be followed are silently skipped. +## `/api/pleroma/blocks_import` +### Imports your blocks. +* Method: `POST` +* Authentication: required +* Params: + * `list`: STRING or FILE containing a whitespace-separated list of accounts to follow +* Response: HTTP 200 on success, 500 on error + +## `/api/pleroma/mutes_import` +### Imports your mutes. +* Method: `POST` +* Authentication: required +* Params: + * `list`: STRING or FILE containing a whitespace-separated list of accounts to follow +* Response: HTTP 200 on success, 500 on error + + ## `/api/pleroma/captcha` ### Get a new captcha * Method: `GET` |