Fix typos and missing file
This commit is contained in:
parent
29bd4d45ee
commit
e1b12a753e
2 changed files with 16 additions and 4 deletions
12
api/client-server/v2_alpha/definitions/state_batch.json
Normal file
12
api/client-server/v2_alpha/definitions/state_batch.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "object",
|
||||||
|
"x-pattern": "$EVENT_TYPE",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "object",
|
||||||
|
"x-pattern": "$STATE_KEY",
|
||||||
|
"allOf": [{"$ref": "event.json" }]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -227,7 +227,7 @@ paths:
|
||||||
"content": {"membership": "join"},
|
"content": {"membership": "join"},
|
||||||
"prev_content": {"membership": "invite"},
|
"prev_content": {"membership": "invite"},
|
||||||
"origin_server_ts": 1417731086795,
|
"origin_server_ts": 1417731086795,
|
||||||
"event_id": "$7365636s6r6432:example.com":
|
"event_id": "$7365636s6r6432:example.com"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"sender": "@alice:example.com",
|
"sender": "@alice:example.com",
|
||||||
|
@ -265,8 +265,7 @@ paths:
|
||||||
"type": "m.room.name",
|
"type": "m.room.name",
|
||||||
"state_key": "",
|
"state_key": "",
|
||||||
"content": {"name": "My Room Name"},
|
"content": {"name": "My Room Name"},
|
||||||
"event_id": "$asdkgjrsfg2314375:example.com",
|
"event_id": "$asdkgjrsfg2314375:example.com"
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"m.room.member": {
|
"m.room.member": {
|
||||||
|
@ -275,7 +274,8 @@ paths:
|
||||||
"type": "m.room.member",
|
"type": "m.room.member",
|
||||||
"state_key": "@bob:example.com",
|
"state_key": "@bob:example.com",
|
||||||
"content": {"membership": "invite"},
|
"content": {"membership": "invite"},
|
||||||
"event_id": "$257kasjdg315324akhg:example.com",
|
"event_id": "$257kasjdg315324akhg:example.com"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue