diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-09-23 11:56:22 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-09-23 11:56:22 -0500 |
commit | f3a1f9c3bbb7321876a09b3846b5e10ecf4af94f (patch) | |
tree | bcfd29188a841470cdeca478b1c5a3bbd4cc930a /docs/API/pleroma_api.md | |
parent | 34d7e864db8f9cc7fb73ce2fef8466ce8e09ed85 (diff) | |
parent | e02101e15c425416975f756aca7f3b058006668d (diff) | |
download | pleroma-f3a1f9c3bbb7321876a09b3846b5e10ecf4af94f.tar.gz |
Merge branch 'develop' into feature/bulk-confirmation
Diffstat (limited to 'docs/API/pleroma_api.md')
-rw-r--r-- | docs/API/pleroma_api.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md index 4e97d26c0..94b6a4fda 100644 --- a/docs/API/pleroma_api.md +++ b/docs/API/pleroma_api.md @@ -44,6 +44,22 @@ 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 block +* 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 mute +* Response: HTTP 200 on success, 500 on error + ## `/api/pleroma/captcha` ### Get a new captcha * Method: `GET` |