|
|
@ -71,7 +71,6 @@ paths:
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
room_version:
|
|
|
|
room_version:
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
required: true # knocking was supported in v7
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
The version of the room where the server is trying to knock.
|
|
|
|
The version of the room where the server is trying to knock.
|
|
|
|
example: "7"
|
|
|
|
example: "7"
|
|
|
@ -122,6 +121,9 @@ paths:
|
|
|
|
- type
|
|
|
|
- type
|
|
|
|
- content
|
|
|
|
- content
|
|
|
|
- sender
|
|
|
|
- sender
|
|
|
|
|
|
|
|
required:
|
|
|
|
|
|
|
|
- room_version # knocking was added in v7
|
|
|
|
|
|
|
|
- event
|
|
|
|
examples:
|
|
|
|
examples:
|
|
|
|
application/json: {
|
|
|
|
application/json: {
|
|
|
|
"room_version": "7",
|
|
|
|
"room_version": "7",
|
|
|
|