From 13964988f4f82aadb3ad3e30c287ab7056281910 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Thu, 9 Jan 2020 20:08:19 +0100 Subject: [PATCH] remove question regarding federation api version, as it has to be v2 --- proposals/2403-knock.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/2403-knock.md b/proposals/2403-knock.md index 10043ca0..6e3396c6 100644 --- a/proposals/2403-knock.md +++ b/proposals/2403-knock.md @@ -87,7 +87,7 @@ The user wasn't allowed to knock (e.g. they are banned). Error reply: ``` ## Server-Server API -The new endpoint for the server-server API is `PUT /_matrix/federation/v2/knock/{roomId}/{eventId}`. (`/v2/` or `/v1`? Just looked at how invite currently works) +The new endpoint for the server-server API is `PUT /_matrix/federation/v2/knock/{roomId}/{eventId}`. The path parameters are the room id you want to knock and the event id of the knock event. The post body consists of an `event` parameter, which is the knock event. A request could look as follows: