Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Media usage breakdown via admin api #6094

Open
neilisfragile opened this issue Sep 24, 2019 · 1 comment
Open

Media usage breakdown via admin api #6094

neilisfragile opened this issue Sep 24, 2019 · 1 comment
Labels
A-Admin-API z-p2 (Deprecated Label)

Comments

@neilisfragile
Copy link
Contributor

neilisfragile commented Sep 24, 2019

An API to return:-

If media is duplicated across multiple rooms or users, effectively double count.

@neilisfragile neilisfragile added z-p2 (Deprecated Label) A-Admin-API labels Sep 24, 2019
@richvdh richvdh changed the title Media usage break down via admin api Media usage breakdown via admin api Sep 24, 2019
@richvdh
Copy link
Member

richvdh commented Sep 24, 2019

related / dup #6093 ?

anoadragon453 pushed a commit that referenced this issue Nov 5, 2020
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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Admin-API z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

2 participants