|
|
|
@ -65,6 +65,12 @@ paths:
|
|
|
|
schema:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
|
|
|
|
room_version:
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
The version of the room where the server is trying to join. If not provided,
|
|
|
|
|
|
|
|
the room version is assumed to be either "1" or "2".
|
|
|
|
|
|
|
|
example: "2"
|
|
|
|
event:
|
|
|
|
event:
|
|
|
|
allOf:
|
|
|
|
allOf:
|
|
|
|
- $ref: "definitions/unsigned_pdu.yaml"
|
|
|
|
- $ref: "definitions/unsigned_pdu.yaml"
|
|
|
|
@ -143,7 +149,8 @@ paths:
|
|
|
|
- state_key
|
|
|
|
- state_key
|
|
|
|
examples:
|
|
|
|
examples:
|
|
|
|
application/json: {
|
|
|
|
application/json: {
|
|
|
|
event: {
|
|
|
|
"room_version": "2",
|
|
|
|
|
|
|
|
"event": {
|
|
|
|
"$ref": "examples/unsigned_pdu.json",
|
|
|
|
"$ref": "examples/unsigned_pdu.json",
|
|
|
|
"type": "m.room.member",
|
|
|
|
"type": "m.room.member",
|
|
|
|
"state_key": "@someone:example.org",
|
|
|
|
"state_key": "@someone:example.org",
|
|
|
|
|