mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-02 20:43:42 +01:00
remove question regarding federation api version, as it has to be v2
This commit is contained in:
parent
1ef7c17b93
commit
13964988f4
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue