remove question regarding federation api version, as it has to be v2

This commit is contained in:
Sorunome 2020-01-09 20:08:19 +01:00
parent 1ef7c17b93
commit 13964988f4
No known key found for this signature in database
GPG key ID: 63E31F7B5993A9C4

View file

@ -87,7 +87,7 @@ The user wasn't allowed to knock (e.g. they are banned). Error reply:
``` ```
## Server-Server API ## 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 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: body consists of an `event` parameter, which is the knock event. A request could look as follows: