From f7b24ce24e5a9a8a234fca201a14a6a85fa7835b Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 15 May 2024 17:07:25 +0100 Subject: [PATCH 1/2] For request path for option in documentation This commit fixes the request path in the `federation_whitelist_endpoint_enabled` config option. The path was changed towards the tail end of development in https://github.com/element-hq/synapse/pull/16848. --- docs/usage/configuration/config_documentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md index f4edbdcc3e6..e04fdfdfb0f 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md @@ -1236,7 +1236,7 @@ federation_domain_whitelist: Enables an endpoint for fetching the federation whitelist config. -The request method and path is `GET /_synapse/client/config/federation_whitelist`, and the +The request method and path is `GET /_synapse/client/v1/config/federation_whitelist`, and the response format is: ```json From 38d9082687b5fca2f2a50de42f2e59c7a08028d9 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 15 May 2024 17:09:09 +0100 Subject: [PATCH 2/2] Re-use changelog from #16848 --- changelog.d/17199.feature | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/17199.feature diff --git a/changelog.d/17199.feature b/changelog.d/17199.feature new file mode 100644 index 00000000000..60d63f1bff5 --- /dev/null +++ b/changelog.d/17199.feature @@ -0,0 +1 @@ +Add a feature that allows clients to query the configured federation whitelist. Disabled by default. \ No newline at end of file