diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-03-12 16:02:24 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-03-12 16:02:24 +0400 |
commit | d1c7f8e576e31487544b57d67802843b8ef38388 (patch) | |
tree | 891a5578ef2ad9d48230432d32b9e85cf9d575fc /docs/API | |
parent | 0f386110c6e15148ff1ff5ea3451885485fcb7ff (diff) | |
parent | 00d17520314e3591caaa7ab4ca39c6227a6bdf15 (diff) | |
download | pleroma-d1c7f8e576e31487544b57d67802843b8ef38388.tar.gz pleroma-d1c7f8e576e31487544b57d67802843b8ef38388.zip |
Merge remote-tracking branch 'origin/develop' into global-status-expiration
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 |