From e0948602c6863387960ebb0c355579eb4480e94e Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Thu, 29 Jun 2023 22:24:38 -0600 Subject: [PATCH 1/2] docs/admin_api: fix header level on 'Users' page Signed-off-by: Sumner Evans --- docs/admin_api/user_admin_api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/admin_api/user_admin_api.md b/docs/admin_api/user_admin_api.md index 229942b3112f..555f5f7dfdcd 100644 --- a/docs/admin_api/user_admin_api.md +++ b/docs/admin_api/user_admin_api.md @@ -1180,7 +1180,7 @@ The following parameters should be set in the URL: - `user_id` - The fully qualified MXID: for example, `@user:server.com`. The user must be local. -### Check username availability +## Check username availability Checks to see if a username is available, and valid, for the server. See [the client-server API](https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available) @@ -1198,7 +1198,7 @@ GET /_synapse/admin/v1/username_available?username=$localpart The request and response format is the same as the [/_matrix/client/r0/register/available](https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available) API. -### Find a user based on their ID in an auth provider +## Find a user based on their ID in an auth provider The API is: @@ -1237,7 +1237,7 @@ Returns a `404` HTTP status code if no user was found, with a response body like _Added in Synapse 1.68.0._ -### Find a user based on their Third Party ID (ThreePID or 3PID) +## Find a user based on their Third Party ID (ThreePID or 3PID) The API is: From 89b12b3259a6cf7ed776f46c075d7059c69c2339 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Thu, 29 Jun 2023 22:28:47 -0600 Subject: [PATCH 2/2] changelog: add entry for #15852 Signed-off-by: Sumner Evans --- changelog.d/15852.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/15852.doc diff --git a/changelog.d/15852.doc b/changelog.d/15852.doc new file mode 100644 index 000000000000..060b55d106de --- /dev/null +++ b/changelog.d/15852.doc @@ -0,0 +1 @@ +Fixed header levels on the Admin API "Users" documentation page. Contributed by @sumnerevans at @beeper.