0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-03 09:58:20 +02:00
synapse/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 Move admin api impl to its own package 2019-05-01 15:44:30 +01:00
test_admin.py Convert federation client to async/await. (#7975) 2020-07-30 08:01:33 -04:00
test_device.py Add field total to device list in admin API (#8644) 2020-10-26 14:07:51 +00:00
test_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
test_media.py Add an admin api to delete local media. (#8519) 2020-10-26 17:02:28 +00:00
test_room.py Consolidate purge table lists to prevent desyncronisation (#8713) 2020-11-04 11:26:05 +00:00
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