0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-12 04:52:26 +01:00
synapse/tests/rest/admin
Travis Ralston b60bb28bbc
Add an admin API to get the current room state (#9168)
This could arguably replace the existing admin API for `/members`, however that is out of scope of this change.

This sort of endpoint is ideal for moderation use cases as well as other applications, such as needing to retrieve various bits of information about a room to perform a task (like syncing power levels between two places). This endpoint exposes nothing more than an admin would be able to access with a `select *` query on their database.
2021-02-02 11:16:29 +00:00
..
__init__.py Move admin api impl to its own package 2019-05-01 15:44:30 +01:00
test_admin.py Add an admin API endpoint to protect media. (#9086) 2021-01-15 11:18:09 -05:00
test_device.py Remove spurious "SynapseRequest" result from `make_request" 2020-12-15 22:35:40 +00:00
test_event_reports.py Removes unnecessary declarations in the tests for the admin API. (#9063) 2021-01-11 11:15:54 -05:00
test_media.py Removes unnecessary declarations in the tests for the admin API. (#9063) 2021-01-11 11:15:54 -05:00
test_room.py Add an admin API to get the current room state (#9168) 2021-02-02 11:16:29 +00:00
test_statistics.py Removes unnecessary declarations in the tests for the admin API. (#9063) 2021-01-11 11:15:54 -05:00
test_user.py Add an admin API for shadow-banning users. (#9209) 2021-01-25 14:49:39 -05:00