-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin api implementation #247
Conversation
Travis fails due to #246 |
Just to note some feedback from #synapse-dev:matrix.org here:
|
Agreed with @krombel here. They are however quite useful so perhaps a module like |
The problem is that extending functionality by inheriting from classes pushes I definitely think this stuff is useful to have in the python sdk (and we won't There are architectures that would make this trivial (and one in particular I'd As a temporary solution to move us towards architectures that are easily
Since this change doesn't currently touch
Everyone cool with this? |
@non-Jedi ok. Next week i will move admin api to subclass. |
Update from main
a1b1f70
to
342c9e9
Compare
Media list admin API implementation Admin whois api Admin deactivate api Admin api: quarantine_media, reset password Admin api: shutdown_room
I'd still love to have this even if you don't want to do work of putting it in its own module. @slipeer any chance you'd signoff on this one as well as the others so we can use this code when someone gets some time to make the changes I outlined? |
@non-Jedi I'm working on this module (https://github.com/slipeer/matrix-python-sdk/tree/admin_api). Need a little more hours in a day. |
Implemented admin api calls:
Based on https://github.com/matrix-org/synapse/tree/master/docs/admin_api docs
And synapse sources: https://github.com/matrix-org/synapse/blob/master/synapse/rest/client/v1/admin.py