MatrixSynapse/tests/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
test_admin.py
test_device.py
test_event_reports.py
test_media.py
test_room.py
test_statistics.py Add an admin API for users' media statistics (#8700) 2020-11-05 18:59:12 +00:00
test_user.py Add `displayname` to Shared-Secret Registration for admins (#8722) 2020-11-05 13:55:45 +00:00