mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-02 17:54:09 +01:00
Try & make example closer to valid
This commit is contained in:
parent
41781e95b2
commit
595b75f299
|
|
@ -65,17 +65,29 @@ paths:
|
||||||
application/json: |-
|
application/json: |-
|
||||||
{
|
{
|
||||||
"next_token": "abcdef",
|
"next_token": "abcdef",
|
||||||
"notifications": {
|
"notifications": [
|
||||||
"actions": [
|
{
|
||||||
"notify"
|
"actions": [
|
||||||
],
|
"notify"
|
||||||
"profile_tag": null,
|
],
|
||||||
"read": true,
|
"profile_tag": null,
|
||||||
"room_id": "!abcdefg:example.com",
|
"read": true,
|
||||||
"ts": "1475508881945",
|
"room_id": "!abcdefg:example.com",
|
||||||
"event": {
|
"ts": "1475508881945",
|
||||||
|
"event": {
|
||||||
|
"sender": "@alice:example.com",
|
||||||
|
"type": "m.room.message",
|
||||||
|
"age": 124524,
|
||||||
|
"txn_id": "1234",
|
||||||
|
"content": {
|
||||||
|
"body": "I am a fish",
|
||||||
|
"msgtype": "m.text"
|
||||||
|
},
|
||||||
|
"origin_server_ts": 1417731086797,
|
||||||
|
"event_id": "$74686972643033:example.com"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue