summaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-09-21 16:25:17 +0000
committerlain <lain@soykaf.club>2020-09-21 16:25:17 +0000
commitb36b6259d8fcd677cfe3c5dc97d25bdc45c226f5 (patch)
tree90037e1c97e0160cd46945a8f8f778d56454e441 /docs/API
parent994ce250c2c2a53eaca4b62c26fd4cb7667d6581 (diff)
parented3bc53fa137ec4652606cad1df5783c47afb830 (diff)
downloadpleroma-b36b6259d8fcd677cfe3c5dc97d25bdc45c226f5.tar.gz
pleroma-b36b6259d8fcd677cfe3c5dc97d25bdc45c226f5.zip
Merge branch 'issue/2099' into 'develop'
[#2099] Import/export mutes [BE] See merge request pleroma/pleroma!2965
Diffstat (limited to 'docs/API')
-rw-r--r--docs/API/pleroma_api.md16
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`