From 05d2bc4c95d38f4913078f1221c7805228b0eebf Mon Sep 17 00:00:00 2001 From: Kim Brose <2803622+HarHarLinks@users.noreply.github.com> Date: Mon, 19 Dec 2022 23:47:00 +0100 Subject: [PATCH] move login API definitions to the right heading (#1382) * move login API definitions to the right heading regressed from https://github.com/matrix-org/matrix-spec-proposals/pull/3324 * Create 1382.clarification --- .../client_server/newsfragments/1382.clarification | 1 + content/client-server-api/_index.md | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 changelogs/client_server/newsfragments/1382.clarification diff --git a/changelogs/client_server/newsfragments/1382.clarification b/changelogs/client_server/newsfragments/1382.clarification new file mode 100644 index 00000000..6f08f207 --- /dev/null +++ b/changelogs/client_server/newsfragments/1382.clarification @@ -0,0 +1 @@ +Move login API definitions to the right heading. Contributed by @HarHarLinks. diff --git a/content/client-server-api/_index.md b/content/client-server-api/_index.md index 8c2c0322..fe111f18 100644 --- a/content/client-server-api/_index.md +++ b/content/client-server-api/_index.md @@ -1145,6 +1145,12 @@ client supports it, the client should redirect the user to the is complete, the client will need to submit a `/login` request matching `m.login.token`. +{{% http-api spec="client-server" api="login" %}} + +{{% http-api spec="client-server" api="refresh" %}} + +{{% http-api spec="client-server" api="logout" %}} + #### Appservice Login {{% added-in v="1.2" %}} @@ -1182,12 +1188,6 @@ If the access token does correspond to an appservice, but the user id does not lie within its namespace then the homeserver will respond with an errcode of `M_EXCLUSIVE`. -{{% http-api spec="client-server" api="login" %}} - -{{% http-api spec="client-server" api="refresh" %}} - -{{% http-api spec="client-server" api="logout" %}} - #### Login Fallback If a client does not recognize any or all login flows it can use the @@ -2646,4 +2646,4 @@ systems. {{< cs-module name="spaces" >}} {{< cs-module name="event_replacements" >}} {{< cs-module name="threading" >}} -{{< cs-module name="reference_relations" >}} \ No newline at end of file +{{< cs-module name="reference_relations" >}}