From 76aaf39811f3960f8a855f0f2c3ad7a2bebc8500 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 28 Dec 2021 14:21:57 -0700 Subject: [PATCH] Decorate Matrix version on appservice login --- content/application-service-api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/application-service-api.md b/content/application-service-api.md index f67f0ae0..99ae4d54 100644 --- a/content/application-service-api.md +++ b/content/application-service-api.md @@ -338,7 +338,9 @@ user ID without a password. Similarly, logging in as users needs API changes in order to allow the AS to log in without needing the user's password. This is achieved by including the `as_token` on a `/login` request, along with a login type of -`m.login.application_service`. +`m.login.application_service`: + +{{% added-in v="1.2" %}} POST /_matrix/client/%CLIENT_MAJOR_VERSION%/login Authorization: Bearer YourApplicationServiceTokenHere