diff options
author | babolivier <babolivier@users.noreply.github.com> | 2022-02-08 13:26:46 +0000 |
---|---|---|
committer | babolivier <babolivier@users.noreply.github.com> | 2022-02-08 13:26:46 +0000 |
commit | 9061d49ebbefffeee2de5178461086224f178a24 (patch) | |
tree | b20ba4051e5894c6bca4d513d0d8ace864bf8b8b /latest/admin_api | |
parent | deploy: 1aa2231e271f1b0b08757fc6f94c7c69c2993b25 (diff) | |
download | synapse-9061d49ebbefffeee2de5178461086224f178a24.tar.xz |
deploy: 0b561a0ea1384db214c274f45b160c538d2ab65d
Diffstat (limited to 'latest/admin_api')
-rw-r--r-- | latest/admin_api/account_validity.html | 2 | ||||
-rw-r--r-- | latest/admin_api/delete_group.html | 4 | ||||
-rw-r--r-- | latest/admin_api/event_reports.html | 6 | ||||
-rw-r--r-- | latest/admin_api/media_admin_api.html | 35 | ||||
-rw-r--r-- | latest/admin_api/purge_history_api.html | 6 | ||||
-rw-r--r-- | latest/admin_api/room_membership.html | 4 | ||||
-rw-r--r-- | latest/admin_api/rooms.html | 25 | ||||
-rw-r--r-- | latest/admin_api/statistics.html | 4 | ||||
-rw-r--r-- | latest/admin_api/user_admin_api.html | 58 | ||||
-rw-r--r-- | latest/admin_api/version_api.html | 2 |
10 files changed, 31 insertions, 115 deletions
diff --git a/latest/admin_api/account_validity.html b/latest/admin_api/account_validity.html index f095486380..53b5debb90 100644 --- a/latest/admin_api/account_validity.html +++ b/latest/admin_api/account_validity.html @@ -186,6 +186,8 @@ <p>This API allows a server administrator to manage the validity of an account. To use it, you must enable the account validity feature (under <code>account_validity</code>) in Synapse's configuration.</p> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <h2 id="renew-account"><a class="header" href="#renew-account">Renew account</a></h2> <p>This API extends the validity of an account by as much time as configured in the <code>period</code> parameter from the <code>account_validity</code> configuration.</p> diff --git a/latest/admin_api/delete_group.html b/latest/admin_api/delete_group.html index afb7e1f8ee..39bc09232f 100644 --- a/latest/admin_api/delete_group.html +++ b/latest/admin_api/delete_group.html @@ -186,11 +186,11 @@ <p>This API lets a server admin delete a local group. Doing so will kick all users out of the group so that their clients will correctly handle the group being deleted.</p> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>The API is:</p> <pre><code>POST /_synapse/admin/v1/delete_group/<group_id> </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> </main> diff --git a/latest/admin_api/event_reports.html b/latest/admin_api/event_reports.html index a90b1e8122..9e23060f0a 100644 --- a/latest/admin_api/event_reports.html +++ b/latest/admin_api/event_reports.html @@ -184,11 +184,11 @@ <h1 id="show-reported-events"><a class="header" href="#show-reported-events">Show reported events</a></h1> <p>This API returns information about reported events.</p> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>The api is:</p> <pre><code>GET /_synapse/admin/v1/event_reports?from=0&limit=10 </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>It returns a JSON body like the following:</p> <pre><code class="language-json">{ "event_reports": [ @@ -265,8 +265,6 @@ have a canonical alias set.</li> <p>The api is:</p> <pre><code>GET /_synapse/admin/v1/event_reports/<report_id> </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>It returns a JSON body like the following:</p> <pre><code class="language-json">{ "event_id": "$bNUFCwGzWca1meCGkjp-zwslF-GfVcXukvRLI1_FaVY", diff --git a/latest/admin_api/media_admin_api.html b/latest/admin_api/media_admin_api.html index c3d9eb9442..910c4a491f 100644 --- a/latest/admin_api/media_admin_api.html +++ b/latest/admin_api/media_admin_api.html @@ -182,43 +182,16 @@ <nav class="pagetoc"></nav> </div> - <h1 id="contents"><a class="header" href="#contents">Contents</a></h1> -<ul> -<li><a href="#querying-media">Querying media</a> -<ul> -<li><a href="#list-all-media-in-a-room">List all media in a room</a></li> -<li><a href="#list-all-media-uploaded-by-a-user">List all media uploaded by a user</a></li> -</ul> -</li> -<li><a href="#quarantine-media">Quarantine media</a> -<ul> -<li><a href="#quarantining-media-by-id">Quarantining media by ID</a></li> -<li><a href="#remove-media-from-quarantine-by-id">Remove media from quarantine by ID</a></li> -<li><a href="#quarantining-media-in-a-room">Quarantining media in a room</a></li> -<li><a href="#quarantining-all-media-of-a-user">Quarantining all media of a user</a></li> -<li><a href="#protecting-media-from-being-quarantined">Protecting media from being quarantined</a></li> -<li><a href="#unprotecting-media-from-being-quarantined">Unprotecting media from being quarantined</a></li> -</ul> -</li> -<li><a href="#delete-local-media">Delete local media</a> -<ul> -<li><a href="#delete-a-specific-local-media">Delete a specific local media</a></li> -<li><a href="#delete-local-media-by-date-or-size">Delete local media by date or size</a></li> -<li><a href="#delete-media-uploaded-by-a-user">Delete media uploaded by a user</a></li> -</ul> -</li> -<li><a href="#purge-remote-media-api">Purge Remote Media API</a></li> -</ul> -<h1 id="querying-media"><a class="header" href="#querying-media">Querying media</a></h1> + <h1 id="querying-media"><a class="header" href="#querying-media">Querying media</a></h1> <p>These APIs allow extracting media information from the homeserver.</p> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <h2 id="list-all-media-in-a-room"><a class="header" href="#list-all-media-in-a-room">List all media in a room</a></h2> <p>This API gets a list of known media in a room. However, it only shows media from unencrypted events or rooms.</p> <p>The API is:</p> <pre><code>GET /_synapse/admin/v1/room/<room_id>/media </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>The API returns a JSON body like the following:</p> <pre><code class="language-json">{ "local": [ @@ -418,8 +391,6 @@ All cached media that was last accessed before this timestamp will be removed.</ <ul> <li><code>deleted</code>: integer - The number of media items successfully deleted</li> </ul> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>If the user re-requests purged remote media, synapse will re-request the media from the originating server.</p> diff --git a/latest/admin_api/purge_history_api.html b/latest/admin_api/purge_history_api.html index a14d06c54f..623850fae3 100644 --- a/latest/admin_api/purge_history_api.html +++ b/latest/admin_api/purge_history_api.html @@ -190,11 +190,11 @@ several minutes or longer. During this period users will not be able to paginate further back in the room from the point being purged from.</p> <p>Note that Synapse requires at least one message in each room, so it will never delete the last message in a room.</p> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>The API is:</p> <pre><code>POST /_synapse/admin/v1/purge_history/<room_id>[/<event_id>] </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>By default, events sent by local users are not deleted, as they may represent the only copies of this content in existence. (Events sent by remote users are deleted.)</p> @@ -220,8 +220,6 @@ a purge id:</p> <p>It is possible to poll for updates on recent purges with a second API;</p> <pre><code>GET /_synapse/admin/v1/purge_history_status/<purge_id> </code></pre> -<p>Again, you will need to authenticate by providing an <code>access_token</code> for a -server admin.</p> <p>This API returns a JSON body like the following:</p> <pre><code class="language-json">{ "status": "active" diff --git a/latest/admin_api/room_membership.html b/latest/admin_api/room_membership.html index 69c7b1c368..0b7f5a2d86 100644 --- a/latest/admin_api/room_membership.html +++ b/latest/admin_api/room_membership.html @@ -187,6 +187,8 @@ to a room with a given <code>room_id_or_alias</code>. You can only modify the membership of local users. The server administrator must be in the room and have permission to invite users.</p> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <h2 id="parameters"><a class="header" href="#parameters">Parameters</a></h2> <p>The following parameters are available:</p> <ul> @@ -201,8 +203,6 @@ invite users.</p> "user_id": "@user:server.com" } </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>Response:</p> <pre><code class="language-json">{ "room_id": "!636q39766251:server.com" diff --git a/latest/admin_api/rooms.html b/latest/admin_api/rooms.html index ff2db80fc4..7c50e2e1a6 100644 --- a/latest/admin_api/rooms.html +++ b/latest/admin_api/rooms.html @@ -182,29 +182,12 @@ <nav class="pagetoc"></nav> </div> - <h1 id="contents"><a class="header" href="#contents">Contents</a></h1> -<ul> -<li><a href="#list-room-api">List Room API</a></li> -<li><a href="#room-details-api">Room Details API</a></li> -<li><a href="#room-members-api">Room Members API</a></li> -<li><a href="#room-state-api">Room State API</a></li> -<li><a href="#block-room-api">Block Room API</a></li> -<li><a href="#delete-room-api">Delete Room API</a> -<ul> -<li><a href="#version-1-old-version">Version 1 (old version)</a></li> -<li><a href="#version-2-new-version">Version 2 (new version)</a></li> -<li><a href="#status-of-deleting-rooms">Status of deleting rooms</a></li> -<li><a href="#undoing-room-shutdowns">Undoing room shutdowns</a></li> -</ul> -</li> -<li><a href="#make-room-admin-api">Make Room Admin API</a></li> -<li><a href="#forward-extremities-admin-api">Forward Extremities Admin API</a></li> -<li><a href="#event-context-api">Event Context API</a></li> -</ul> -<h1 id="list-room-api"><a class="header" href="#list-room-api">List Room API</a></h1> + <h1 id="list-room-api"><a class="header" href="#list-room-api">List Room API</a></h1> <p>The List Room admin API allows server admins to get a list of rooms on their server. There are various parameters available that allow for filtering and sorting the returned list. This API supports pagination.</p> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p><strong>Parameters</strong></p> <p>The following query parameters are available:</p> <ul> @@ -617,8 +600,6 @@ Depending on the amount of history being purged, a call to the API may take several minutes or longer.</p> <p>The local server will only have the power to move local user and room aliases to the new room. Users on other servers will be unaffected.</p> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <h2 id="version-1-old-version"><a class="header" href="#version-1-old-version">Version 1 (old version)</a></h2> <p>This version works synchronously. That means you only get the response once the server has finished the action, which may take a long time. If you request the same action diff --git a/latest/admin_api/statistics.html b/latest/admin_api/statistics.html index f7c04b48f7..d723672b4e 100644 --- a/latest/admin_api/statistics.html +++ b/latest/admin_api/statistics.html @@ -185,11 +185,11 @@ <h1 id="users-media-usage-statistics"><a class="header" href="#users-media-usage-statistics">Users' media usage statistics</a></h1> <p>Returns information about all local media usage of users. Gives the possibility to filter them by time and user.</p> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>The API is:</p> <pre><code>GET /_synapse/admin/v1/statistics/users/media </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> -for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "users": [ diff --git a/latest/admin_api/user_admin_api.html b/latest/admin_api/user_admin_api.html index 5e10a62d64..bb59adca6f 100644 --- a/latest/admin_api/user_admin_api.html +++ b/latest/admin_api/user_admin_api.html @@ -183,13 +183,13 @@ </div> <h1 id="user-admin-api"><a class="header" href="#user-admin-api">User Admin API</a></h1> +<p>To use it, you will need to authenticate by providing an <code>access_token</code> +for a server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p> <h2 id="query-user-account"><a class="header" href="#query-user-account">Query User Account</a></h2> <p>This API returns information about a specific user account.</p> <p>The api is:</p> <pre><code>GET /_synapse/admin/v2/users/<user_id> </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>It returns a JSON body like the following:</p> <pre><code class="language-jsonc">{ "name": "@user:example.com", @@ -270,8 +270,6 @@ specific <code>user_id</code>.</p> "user_type": null } </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>Returns HTTP status code:</p> <ul> <li><code>201</code> - When a new user object was created.</li> @@ -322,8 +320,6 @@ users do not login via single-sign-on, a new <code>password</code> must be provi By default, the response is ordered by ascending user ID.</p> <pre><code>GET /_synapse/admin/v2/users?from=0&limit=10&guests=false </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "users": [ @@ -447,8 +443,6 @@ This allows user type specific behaviour. There are also types <code>support</co </code></pre> <p>See also: <a href="https://matrix.org/docs/spec/client_server/r0.6.1#get-matrix-client-r0-admin-whois-userid">Client Server API Whois</a>.</p> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>It returns a JSON body like the following:</p> <pre><code class="language-json">{ "user_id": "<user_id>", @@ -490,8 +484,6 @@ were sent, but hidden from users joining the room afterwards.</p> "erase": true } </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>The erase parameter is optional and defaults to <code>false</code>. An empty body may be passed for backwards compatibility.</p> <p>The following actions are performed when deactivating an user:</p> @@ -506,6 +498,14 @@ An empty body may be passed for backwards compatibility.</p> <li>Remove the user from the user directory</li> <li>Reject all pending invites</li> <li>Remove all account validity information related to the user</li> +<li>Remove the arbitrary data store known as <em>account data</em>. For example, this includes: +<ul> +<li>list of ignored users;</li> +<li>push rules;</li> +<li>secret storage keys; and</li> +<li>cross-signing keys.</li> +</ul> +</li> </ul> <p>The following additional actions are performed during deactivation if <code>erase</code> is set to <code>true</code>:</p> @@ -519,7 +519,6 @@ is set to <code>true</code>:</p> <li>Remove mappings of SSO IDs</li> <li><a href="#delete-media-uploaded-by-a-user">Delete media uploaded</a> by user (included avatar images)</li> <li>Delete sent and received messages</li> -<li>Delete E2E cross-signing keys</li> <li>Remove the user's creation (registration) timestamp</li> <li><a href="#override-ratelimiting-for-users">Remove rate limit overrides</a></li> <li>Remove from monthly active users</li> @@ -535,16 +534,12 @@ is set to <code>true</code>:</p> "logout_devices": true } </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>The parameter <code>new_password</code> is required. The parameter <code>logout_devices</code> is optional and defaults to <code>true</code>.</p> <h2 id="get-whether-a-user-is-a-server-administrator-or-not"><a class="header" href="#get-whether-a-user-is-a-server-administrator-or-not">Get whether a user is a server administrator or not</a></h2> <p>The api is:</p> <pre><code>GET /_synapse/admin/v1/users/<user_id>/admin </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "admin": true @@ -560,15 +555,11 @@ server admin: <a href="../usage/administration/admin_api">Admin API</a></p> "admin": true } </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <h2 id="list-room-memberships-of-a-user"><a class="header" href="#list-room-memberships-of-a-user">List room memberships of a user</a></h2> <p>Gets a list of all <code>room_id</code> that a specific <code>user_id</code> is member.</p> <p>The API is:</p> <pre><code>GET /_synapse/admin/v1/users/<user_id>/joined_rooms </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json"> { "joined_rooms": [ @@ -670,8 +661,6 @@ The newest media is on top. You can change the order with parameters <p>The API is:</p> <pre><code>GET /_synapse/admin/v1/users/<user_id>/media </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "media": [ @@ -783,8 +772,6 @@ The newest media is deleted first. You can change the order with parameters <p>The API is:</p> <pre><code>DELETE /_synapse/admin/v1/users/<user_id>/media </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "deleted_media": [ @@ -833,8 +820,6 @@ same.</p> <p>The API is:</p> <pre><code>GET /_synapse/admin/v2/users/<user_id>/devices </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "devices": [ @@ -895,8 +880,6 @@ any access token associated with them.</p> ], } </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>An empty JSON dict is returned.</p> <p><strong>Parameters</strong></p> <p>The following parameters should be set in the URL:</p> @@ -912,8 +895,6 @@ server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>The API is:</p> <pre><code>GET /_synapse/admin/v2/users/<user_id>/devices/<device_id> </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "device_id": "<device_id>", @@ -950,8 +931,6 @@ devices was last seen. (May be a few minutes out of date, for efficiency reasons "display_name": "My other phone" } </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>An empty JSON dict is returned.</p> <p><strong>Parameters</strong></p> <p>The following parameters should be set in the URL:</p> @@ -972,8 +951,6 @@ and invalidates any access token associated with it.</p> {} </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>An empty JSON dict is returned.</p> <p><strong>Parameters</strong></p> <p>The following parameters should be set in the URL:</p> @@ -986,8 +963,6 @@ server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>The API is:</p> <pre><code>GET /_synapse/admin/v1/users/<user_id>/pushers </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "pushers": [ @@ -1086,8 +1061,6 @@ A shadow-banned user will be unable to contact anyone on the server.</p> <p>To un-shadow-ban a user the API is:</p> <pre><code>DELETE /_synapse/admin/v1/users/<user_id>/shadow_ban </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>An empty JSON dict is returned in both cases.</p> <p><strong>Parameters</strong></p> <p>The following parameters should be set in the URL:</p> @@ -1102,8 +1075,6 @@ There are specific APIs to set, get and delete a ratelimit.</p> <p>The API is:</p> <pre><code>GET /_synapse/admin/v1/users/<user_id>/override_ratelimit </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "messages_per_second": 0, @@ -1131,8 +1102,6 @@ being limited.</li> <p>The API is:</p> <pre><code>POST /_synapse/admin/v1/users/<user_id>/override_ratelimit </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>A response body like the following is returned:</p> <pre><code class="language-json">{ "messages_per_second": 0, @@ -1165,8 +1134,6 @@ being limited.</li> <p>The API is:</p> <pre><code>DELETE /_synapse/admin/v1/users/<user_id>/override_ratelimit </code></pre> -<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>An empty JSON dict is returned.</p> <pre><code class="language-json">{} </code></pre> @@ -1185,9 +1152,8 @@ for more information.</p> <p>The API is:</p> <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 -server admin: <a href="../usage/administration/admin_api">Admin API</a></p> +<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> </main> diff --git a/latest/admin_api/version_api.html b/latest/admin_api/version_api.html index 6a16fc1547..d297e03d33 100644 --- a/latest/admin_api/version_api.html +++ b/latest/admin_api/version_api.html @@ -193,7 +193,7 @@ contains Synapse version information).</p> <p>It returns a JSON body like the following:</p> <pre><code class="language-json">{ "server_version": "0.99.2rc1 (b=develop, abcdef123)", - "python_version": "3.6.8" + "python_version": "3.7.8" } </code></pre> |