aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2019-10-11 19:12:29 +0300
committerMaxim Filippov <colixer@gmail.com>2019-10-11 19:12:29 +0300
commitcc6875b582df49d2cb780e0940b85d5b04fe0e74 (patch)
tree70703b6c81e3bded68b6e583d3ef381f4b8e5570 /docs
parent44afe4c8870d14ae2cd22ff5cfa04555cf5907bd (diff)
downloadpleroma-cc6875b582df49d2cb780e0940b85d5b04fe0e74.tar.gz
Add `GET /api/pleroma/admin/relay` endpoint - lists all followed relays
Diffstat (limited to 'docs')
-rw-r--r--docs/API/admin_api.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md
index ee9e68cb1..1c5c8afa4 100644
--- a/docs/API/admin_api.md
+++ b/docs/API/admin_api.md
@@ -222,6 +222,14 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- Response:
- On success: URL of the unfollowed relay
+## `GET /api/pleroma/admin/relay`
+
+### List Relays
+
+- Params: none
+- Response:
+ - On success: JSON array of relays
+
## `/api/pleroma/admin/users/invite_token`
### Create an account registration invite token