diff options
author | kaniini <ariadne@dereferenced.org> | 2019-07-23 23:59:21 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-07-23 23:59:21 +0000 |
commit | 9c6357324ea073ff1ac9c3307714da7e8bb2b8ac (patch) | |
tree | 4bd1e0164af854a06e5894ad318eaf2c9f6a3c6c /docs/api | |
parent | 2ae510ee819e86c7841917a85e2adbb7183fe8e4 (diff) | |
parent | f46805bb40bf29cd67acb33b6b65ed1e4e28d3e1 (diff) | |
download | pleroma-9c6357324ea073ff1ac9c3307714da7e8bb2b8ac.tar.gz |
Merge branch 'feature/admin-api-user-statuses' into 'develop'
Admin API: Endpoint for fetching latest user's statuses
See merge request pleroma/pleroma!1413
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 5ac3535c4..ca9303227 100644 --- a/docs/api/admin_api.md +++ b/docs/api/admin_api.md @@ -187,6 +187,19 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret - On failure: `Not found` - On success: JSON of the user +## `/api/pleroma/admin/users/:nickname_or_id/statuses` + +### Retrive user's latest statuses + +- Method: `GET` +- Params: + - `nickname` or `id` + - *optional* `page_size`: number of statuses to return (default is `20`) + - *optional* `godmode`: `true`/`false` – allows to see private statuses +- Response: + - On failure: `Not found` + - On success: JSON array of user's latest statuses + ## `/api/pleroma/admin/relay` ### Follow a Relay |