mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-24 01:58:36 +01:00
Fix typos and missing file
This commit is contained in:
parent
29bd4d45ee
commit
e1b12a753e
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"},
|
||||
"prev_content": {"membership": "invite"},
|
||||
"origin_server_ts": 1417731086795,
|
||||
"event_id": "$7365636s6r6432:example.com":
|
||||
"event_id": "$7365636s6r6432:example.com"
|
||||
},
|
||||
{
|
||||
"sender": "@alice:example.com",
|
||||
|
|
@ -265,8 +265,7 @@ paths:
|
|||
"type": "m.room.name",
|
||||
"state_key": "",
|
||||
"content": {"name": "My Room Name"},
|
||||
"event_id": "$asdkgjrsfg2314375:example.com",
|
||||
|
||||
"event_id": "$asdkgjrsfg2314375:example.com"
|
||||
}
|
||||
},
|
||||
"m.room.member": {
|
||||
|
|
@ -275,7 +274,8 @@ paths:
|
|||
"type": "m.room.member",
|
||||
"state_key": "@bob:example.com",
|
||||
"content": {"membership": "invite"},
|
||||
"event_id": "$257kasjdg315324akhg:example.com",
|
||||
"event_id": "$257kasjdg315324akhg:example.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue