0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-26 06:03:45 +01:00
dendrite/roomserver/api
Neil 738686ae68
Add /_dendrite/admin/purgeRoom/{roomID} (#2662)
This adds a new admin endpoint `/_dendrite/admin/purgeRoom/{roomID}`. It
completely erases all database entries for a given room ID.

The roomserver will start by clearing all data for that room and then
will generate an output event to notify downstream components (i.e. the
sync API and federation API) to do the same.

It does not currently clear media and it is currently not implemented
for SQLite since it relies on SQL array operations right now.

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Co-authored-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com>
2023-01-19 21:02:32 +01:00
..
alias.go Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00
alias_test.go Fix lint errors 2022-03-24 10:03:22 +00:00
api.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
api_trace.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
input.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
output.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
perform.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
query.go Cleanup stale device lists for users we don't share a room with anymore (#2857) 2022-12-12 08:20:59 +01:00
wrapper.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00