-
- Downloads
Split admin API for reported events into a detail and a list view (#8539)
Split admin API for reported events in detail und list view.
API was introduced with #8217 in synapse v.1.21.0.
It makes the list (`GET /_synapse/admin/v1/event_reports`) less complex and provides a better overview.
The details can be queried with: `GET /_synapse/admin/v1/event_reports/<report_id>`.
It is similar to room and users API.
It is a kind of regression in `GET /_synapse/admin/v1/event_reports`. `event_json` was removed. But the api was introduced one version before and it is an admin API (not under spec).
Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
Showing
- changelog.d/8539.feature 1 addition, 0 deletionschangelog.d/8539.feature
- docs/admin_api/event_reports.rst 90 additions, 54 deletionsdocs/admin_api/event_reports.rst
- synapse/rest/admin/__init__.py 5 additions, 1 deletionsynapse/rest/admin/__init__.py
- synapse/rest/admin/event_reports.py 45 additions, 1 deletionsynapse/rest/admin/event_reports.py
- synapse/storage/databases/main/room.py 87 additions, 17 deletionssynapse/storage/databases/main/room.py
- tests/rest/admin/test_event_reports.py 183 additions, 13 deletionstests/rest/admin/test_event_reports.py
changelog.d/8539.feature
0 → 100644
Please register or sign in to comment