This commit is contained in:
clokep 2021-11-09 21:11:29 +00:00
parent c43404ecd6
commit 7eabe3c911
4 changed files with 4 additions and 4 deletions

View file

@ -1110,7 +1110,7 @@ for more information.</p>
<p>This endpoint will work even if registration is disabled on the server, unlike
<code>/_matrix/client/r0/register/available</code>.</p>
<p>The API is:</p>
<pre><code>POST /_synapse/admin/v1/username_availabile?username=$localpart
<pre><code>GET /_synapse/admin/v1/username_available?username=$localpart
</code></pre>
<p>The request and response format is the same as the <a href="https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available">/_matrix/client/r0/register/available</a> API.</p>
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a

View file

@ -11579,7 +11579,7 @@ for more information.</p>
<p>This endpoint will work even if registration is disabled on the server, unlike
<code>/_matrix/client/r0/register/available</code>.</p>
<p>The API is:</p>
<pre><code>POST /_synapse/admin/v1/username_availabile?username=$localpart
<pre><code>GET /_synapse/admin/v1/username_available?username=$localpart
</code></pre>
<p>The request and response format is the same as the <a href="https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available">/_matrix/client/r0/register/available</a> API.</p>
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long