diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-01-21 18:51:21 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-01-27 07:45:02 +0300 |
commit | 6806c03e8543c57ef85393eafdc6117d9776049f (patch) | |
tree | c6028508d82e59f70645df687bae411446e2fca8 /docs/development | |
parent | d7af0294e6a3a690524e0a08a35c9c6dafbb9f79 (diff) | |
download | pleroma-6806c03e8543c57ef85393eafdc6117d9776049f.tar.gz |
added total
to the user statuses adminAPI endpoint
Diffstat (limited to 'docs/development')
-rw-r--r-- | docs/development/API/admin_api.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/development/API/admin_api.md b/docs/development/API/admin_api.md index 5253dc668..5b75a7b01 100644 --- a/docs/development/API/admin_api.md +++ b/docs/development/API/admin_api.md @@ -287,7 +287,18 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret - *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 + - On success: JSON, where: + - `total`: total count of the statuses for the user + - `activities`: list of the statuses for the user + +```json +{ + "total" : 1, + "activities": [ + // activities list + ] +} +``` ## `GET /api/pleroma/admin/instances/:instance/statuses` |