mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 13:12:30 +00:00
deploy: 69699a9bd1
This commit is contained in:
1 parent
da05bbd779
commit
dd6056eb58
15 files changed
+63
-149
No files matched your search
@@ -401,6 +401,11 @@ which guarantees a stable ordering. Valid values are:</p>
|
||||
<p><code>dir</code> - Direction of media order. Either <code>f</code> for forwards or <code>b</code> for backwards.
|
||||
Setting this value to <code>b</code> will reverse the above sort order. Defaults to <code>f</code>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>not_user_type</code> - Exclude certain user types, such as bot users, from the request.
|
||||
Can be provided multiple times. Possible values are <code>bot</code>, <code>support</code> or "empty string".
|
||||
"empty string" here means to exclude users without a type.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Caution. The database only has indexes on the columns <code>name</code> and <code>creation_ts</code>.
|
||||
This means that if a different sort order is used (<code>is_guest</code>, <code>admin</code>,
|
||||
@@ -1180,7 +1185,7 @@ being limited.</li>
|
||||
<li><code>user_id</code> - The fully qualified MXID: for example, <code>@user:server.com</code>. The user must
|
||||
be local.</li>
|
||||
</ul>
|
||||
<h3 id="check-username-availability"><a class="header" href="#check-username-availability">Check username availability</a></h3>
|
||||
<h2 id="check-username-availability"><a class="header" href="#check-username-availability">Check username availability</a></h2>
|
||||
<p>Checks to see if a username is available, and valid, for the server. See <a href="https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available">the client-server
|
||||
API</a>
|
||||
for more information.</p>
|
||||
@@ -1191,7 +1196,7 @@ for more information.</p>
|
||||
</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>
|
||||
<h3 id="find-a-user-based-on-their-id-in-an-auth-provider"><a class="header" href="#find-a-user-based-on-their-id-in-an-auth-provider">Find a user based on their ID in an auth provider</a></h3>
|
||||
<h2 id="find-a-user-based-on-their-id-in-an-auth-provider"><a class="header" href="#find-a-user-based-on-their-id-in-an-auth-provider">Find a user based on their ID in an auth provider</a></h2>
|
||||
<p>The API is:</p>
|
||||
<pre><code>GET /_synapse/admin/v1/auth_providers/$provider/users/$external_id
|
||||
</code></pre>
|
||||
@@ -1215,7 +1220,7 @@ for more information.</p>
|
||||
}
|
||||
</code></pre>
|
||||
<p><em>Added in Synapse 1.68.0.</em></p>
|
||||
<h3 id="find-a-user-based-on-their-third-party-id-threepid-or-3pid"><a class="header" href="#find-a-user-based-on-their-third-party-id-threepid-or-3pid">Find a user based on their Third Party ID (ThreePID or 3PID)</a></h3>
|
||||
<h2 id="find-a-user-based-on-their-third-party-id-threepid-or-3pid"><a class="header" href="#find-a-user-based-on-their-third-party-id-threepid-or-3pid">Find a user based on their Third Party ID (ThreePID or 3PID)</a></h2>
|
||||
<p>The API is:</p>
|
||||
<pre><code>GET /_synapse/admin/v1/threepid/$medium/users/$address
|
||||
</code></pre>
|
||||
|
||||
Reference in new issue
Block a user