Wrap the "rooms" list inside an object so that we can add keys for pagination later
This commit is contained in:
parent
218cf94ead
commit
4cb3f78d2b
1 changed files with 87 additions and 82 deletions
|
@ -72,6 +72,9 @@ paths:
|
|||
The batch token to supply in the ``since`` param of the next
|
||||
``/sync`` request.
|
||||
rooms:
|
||||
type: object
|
||||
properties:
|
||||
roomlist:
|
||||
type: array
|
||||
description: |-
|
||||
A list of rooms that the client needs to update.
|
||||
|
@ -145,7 +148,8 @@ paths:
|
|||
}
|
||||
]
|
||||
},
|
||||
"rooms": [{
|
||||
"rooms": {
|
||||
"roomlist": [{
|
||||
"room_id": "!726s6s6q:example.com",
|
||||
"event_map": {
|
||||
"$66697273743031:example.com": {
|
||||
|
@ -195,3 +199,4 @@ paths:
|
|||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue