forked-synapse/synapse/rest/admin
Dirk Klimpel c3119d1536
Add an admin API for users' media statistics (#8700)
Add `GET /_synapse/admin/v1/statistics/users/media` to get statisics about local media usage by users.
Related to #6094
It is the first API for statistics.
Goal is to avoid/reduce usage of sql queries like [Wiki analyzing Synapse](https://github.com/matrix-org/synapse/wiki/SQL-for-analyzing-Synapse-PostgreSQL-database-stats)

Signed-off-by: Dirk Klimpel dirk@klimpel.org
2020-11-05 18:59:12 +00:00
..
__init__.py Add an admin API for users' media statistics (#8700) 2020-11-05 18:59:12 +00:00
_base.py Use admin_patterns for all admin APIs. (#8331) 2020-09-17 07:04:15 -04:00
devices.py Add field total to device list in admin API (#8644) 2020-10-26 14:07:51 +00:00
event_reports.py Split admin API for reported events into a detail and a list view (#8539) 2020-10-26 18:16:37 +00:00
groups.py Move admin endpoints into separate files (#6308) 2019-11-20 11:49:11 +00:00
media.py Add an admin api to delete local media. (#8519) 2020-10-26 17:02:28 +00:00
purge_room_servlet.py Use admin_patterns for all admin APIs. (#8331) 2020-09-17 07:04:15 -04:00
rooms.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
server_notice_servlet.py Use admin_patterns for all admin APIs. (#8331) 2020-09-17 07:04:15 -04:00
statistics.py Add an admin API for users' media statistics (#8700) 2020-11-05 18:59:12 +00:00
users.py Add displayname to Shared-Secret Registration for admins (#8722) 2020-11-05 13:55:45 +00:00