Fill out the required fields in all the examples
This commit is contained in:
parent
9c1c541a38
commit
45ec8269e6
3 changed files with 15 additions and 2 deletions
|
@ -4,6 +4,13 @@
|
|||
"origin": "example.com",
|
||||
"event_id": "$a4ecee13e2accdadf56c1025:example.com",
|
||||
"origin_server_ts": 1404838188000,
|
||||
"depth": 12,
|
||||
"auth_events": [
|
||||
[
|
||||
"$af232176:example.org",
|
||||
{"sha256": "abase64encodedsha256hashshouldbe43byteslong"}
|
||||
]
|
||||
],
|
||||
"type": "m.room.message",
|
||||
"prev_events": [
|
||||
[
|
||||
|
|
|
@ -53,9 +53,11 @@ paths:
|
|||
example: {
|
||||
"$ref": "examples/pdu.json",
|
||||
"type": "m.room.member",
|
||||
"state_key": "@someone:example.org",
|
||||
"content": {
|
||||
"membership": "invite"
|
||||
}
|
||||
},
|
||||
"unsigned": {}
|
||||
}
|
||||
responses:
|
||||
200:
|
||||
|
@ -77,8 +79,10 @@ paths:
|
|||
{
|
||||
"$ref": "examples/pdu.json",
|
||||
"type": "m.room.member",
|
||||
"state_key": "@someone:example.org",
|
||||
"content": {
|
||||
"membership": "invite"
|
||||
}
|
||||
},
|
||||
"unsigned": {}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -125,6 +125,7 @@ paths:
|
|||
application/json: {
|
||||
"$ref": "examples/unsigned_pdu.json",
|
||||
"type": "m.room.member",
|
||||
"state_key": "@someone:example.org",
|
||||
"content": {
|
||||
"membership": "join"
|
||||
}
|
||||
|
@ -228,6 +229,7 @@ paths:
|
|||
example: {
|
||||
"$ref": "examples/pdu.json",
|
||||
"type": "m.room.member",
|
||||
"state_key": "@someone:example.org",
|
||||
"content": {
|
||||
"membership": "join"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue