0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 06:43:46 +01:00
synapse/docs/admin_api
Richard van der Hoff e48c7aac4d Add transactional API to history purge
Make the purge request return quickly, and allow scripts to poll for updates.
2018-03-12 16:22:55 +00:00
..
media_admin_api.md Add admin api documentation for list media endpoint 2018-01-31 08:15:59 -07:00
purge_history_api.rst Add transactional API to history purge 2018-03-12 16:22:55 +00:00
purge_remote_media.rst fix doc for purge_media_cache 2017-01-20 12:15:50 +00:00
README.rst Add some basic admin API docs 2016-07-28 14:56:09 +01:00
user_admin_api.rst Document some of the admin APIs (#2143) 2017-04-21 11:55:07 +01:00

Admin APIs
==========

This directory includes documentation for the various synapse specific admin
APIs available.

Only users that are server admins can use these APIs. A user can be marked as a
server admin by updating the database directly, e.g.:

``UPDATE users SET admin = 1 WHERE name = '@foo:bar.com'``

Restarting may be required for the changes to register.