diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-02-28 16:18:09 -0600 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-02-28 16:18:09 -0600 |
commit | bdd603e9f38eba80d67c63803d07afbc5e1c72b5 (patch) | |
tree | 5dee580b6af180d08bf9849fe6ff7eb1035a9bfc /docs/API/admin_api.md | |
parent | c28de939129f48c02fcc34de7ee1411978f65e2b (diff) | |
parent | d075bdc9e9b0d12b12939223e0603a7afe5af2c5 (diff) | |
download | pleroma-bdd603e9f38eba80d67c63803d07afbc5e1c72b5.tar.gz pleroma-bdd603e9f38eba80d67c63803d07afbc5e1c72b5.zip |
Merge branch 'develop' into update/pleroma-fe-20200228
Diffstat (limited to 'docs/API/admin_api.md')
-rw-r--r-- | docs/API/admin_api.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index 3882763cd..91c76ce00 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -260,10 +260,24 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret - `nickname` or `id` - *optional* `page_size`: number of statuses to return (default is `20`) - *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 +## `GET /api/pleroma/admin/instances/:instance/statuses` + +### Retrive instance's latest statuses + +- Params: + - `instance`: instance name + - *optional* `page_size`: number of statuses to return (default is `20`) + - *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 instance's latest statuses + ## `POST /api/pleroma/admin/relay` ### Follow a Relay |