diff options
author | eugenijm <eugenijm@protonmail.com> | 2020-03-02 16:47:30 +0300 |
---|---|---|
committer | eugenijm <eugenijm@protonmail.com> | 2020-03-02 16:47:31 +0300 |
commit | 7af431c150cf4dc2c283b6a90fdaa7eafd860170 (patch) | |
tree | e249d9fc45e19a206f52173a4c35e76482da6e10 /docs/API | |
parent | 45b08ca1665920564c9daf35a96e93dff031a649 (diff) | |
download | pleroma-7af431c150cf4dc2c283b6a90fdaa7eafd860170.tar.gz |
Exclude reblogs from `GET /api/pleroma/admin/statuses` by default
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 |