diff options
author | eugenijm <eugenijm@protonmail.com> | 2020-01-09 22:18:55 +0300 |
---|---|---|
committer | eugenijm <eugenijm@protonmail.com> | 2020-02-24 21:46:37 +0300 |
commit | 7ad5c51f23102e89c491a2ef731e108873a09d71 (patch) | |
tree | edfad3b8ea92b2037ef737a97acaa87d2ee00a34 /docs | |
parent | d240ce41b55a557366746fb7e313d3810bd8fe16 (diff) | |
download | pleroma-7ad5c51f23102e89c491a2ef731e108873a09d71.tar.gz |
Admin API: `GET /api/pleroma/admin/stats` to get status count by visibility scope
Diffstat (limited to 'docs')
-rw-r--r-- | docs/API/admin_api.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index 47acd240e..3882763cd 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -939,3 +939,20 @@ Loads json generated from `config/descriptions.exs`. - Params: - `nicknames` - Response: Array of user nicknames + +## `GET /api/pleroma/admin/stats` + +### Stats + +- Response: + +```json +{ + "status_visibility": { + "direct": 739, + "private": 9, + "public": 17, + "unlisted": 14 + } +} +``` |