diff options
author | Will Hunt <will@half-shot.uk> | 2021-08-17 10:52:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 10:52:38 +0100 |
commit | a933c2c7d8ef49c3c98ef443d959f955600bfb6b (patch) | |
tree | 3d7709e1ec13fe7fa49838bb72299c782f675fc4 /changelog.d | |
parent | Manhole: wrap coroutines in `defer.ensureDeferred` automatically (#10602) (diff) | |
download | synapse-a933c2c7d8ef49c3c98ef443d959f955600bfb6b.tar.xz |
Add an admin API to check if a username is available (#10578)
This adds a new API GET /_synapse/admin/v1/username_available?username=foo to check if a username is available. It is the counterpart to https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available, except that it works even if registration is disabled.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/10578.feature | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10578.feature b/changelog.d/10578.feature new file mode 100644 index 0000000000..02397f0009 --- /dev/null +++ b/changelog.d/10578.feature @@ -0,0 +1 @@ +Add an admin API (`GET /_synapse/admin/username_available`) to check if a username is available (regardless of registration settings). \ No newline at end of file |