This commit is contained in:
erikjohnston
2024-05-21 09:57:37 +00:00
parent dd734df1f8
commit 3f7a31bdd7
5 changed files with 8 additions and 4 deletions
@@ -1209,7 +1209,7 @@ the same whitelist.</p>
<hr />
<h3 id="federation_whitelist_endpoint_enabled"><a class="header" href="#federation_whitelist_endpoint_enabled"><code>federation_whitelist_endpoint_enabled</code></a></h3>
<p>Enables an endpoint for fetching the federation whitelist config.</p>
<p>The request method and path is <code>GET /_synapse/client/config/federation_whitelist</code>, and the
<p>The request method and path is <code>GET /_synapse/client/v1/config/federation_whitelist</code>, and the
response format is:</p>
<pre><code class="language-json">{
&quot;whitelist_enabled&quot;: true, // Whether the federation whitelist is being enforced