diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-01-21 19:17:37 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-01-27 07:45:06 +0300 |
commit | d4158e8bf01af3f998a0295668bada9821c4fdc7 (patch) | |
tree | 14ffcda4b8f6ba39f97cade1372c66895df2c3dc /docs/development | |
parent | 6806c03e8543c57ef85393eafdc6117d9776049f (diff) | |
download | pleroma-d4158e8bf01af3f998a0295668bada9821c4fdc7.tar.gz |
added total
to the instance 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 5b75a7b01..04a181401 100644 --- a/docs/development/API/admin_api.md +++ b/docs/development/API/admin_api.md @@ -311,7 +311,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 instance's latest statuses + - On success: JSON, where: + - `total`: total count of the statuses for the instance + - `activities`: list of the statuses for the instance + +```json +{ + "total" : 1, + "activities": [ + // activities list + ] +} +``` ## `GET /api/pleroma/admin/statuses` |