matrix-media-repo icon indicating copy to clipboard operation
matrix-media-repo copied to clipboard

Admin API to see data usage for room IDs

Open rxl881 opened this issue 5 years ago • 1 comments

Similar to https://github.com/turt2live/matrix-media-repo/blob/master/docs/admin.md#data-usage-for-serversusers, it would be good to be able to get data usage per room, in addition to the existing per user criteria.

rxl881 avatar Aug 01 '19 16:08 rxl881

This is a lot harder to do than it seems: Ideally the API lists all rooms, however that's not well exposed by Synapse. Additionally, the use of a shared secret means the media repo doesn't know an access token to call the admin API with.

turt2live avatar Sep 05 '19 03:09 turt2live