diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-06 11:48:30 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-06 11:48:30 +0300 |
commit | 027714b519cca63ac943369d0bcc9534ba448a80 (patch) | |
tree | ab331c60efe243bd6eb79c95b67dc797bb165078 /docs/API | |
parent | 40765875d41f181b4ac54a772b4c61d6afc0bc34 (diff) | |
parent | 47604907c9d2379d0883d63bc7add5782cc25d63 (diff) | |
download | pleroma-027714b519cca63ac943369d0bcc9534ba448a80.tar.gz |
Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/admin_api.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index 91c76ce00..47afdfba5 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -278,6 +278,19 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret - On failure: `Not found` - On success: JSON array of instance's latest statuses +## `GET /api/pleroma/admin/statuses` + +### Retrives all latest statuses + +- Params: + - *optional* `page_size`: number of statuses to return (default is `20`) + - *optional* `local_only`: excludes remote statuses + - *optional* `godmode`: `true`/`false` – allows to see private statuses + - *optional* `with_reblogs`: `true`/`false` – allows to see reblogs (default is false) +- Response: + - On failure: `Not found` + - On success: JSON array of user's latest statuses + ## `POST /api/pleroma/admin/relay` ### Follow a Relay |