Update sync API defn to reflect SPEC-254 changes
State now corresponds to the start of the timeline, not the end.
This commit is contained in:
parent
ea364a108b
commit
3f0262081c
1 changed files with 6 additions and 4 deletions
|
@ -119,7 +119,11 @@ paths:
|
||||||
title: State
|
title: State
|
||||||
type: object
|
type: object
|
||||||
description: |-
|
description: |-
|
||||||
The state updates for the room.
|
Updates to the state, between the time indicated by
|
||||||
|
the ``since`` parameter, and the start of the
|
||||||
|
``timeline`` (or all state up to the start of the
|
||||||
|
``timeline``, if ``since`` is not given, or
|
||||||
|
``full_state`` is true).
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "definitions/room_event_batch.json"
|
- $ref: "definitions/room_event_batch.json"
|
||||||
timeline:
|
timeline:
|
||||||
|
@ -193,8 +197,7 @@ paths:
|
||||||
title: State
|
title: State
|
||||||
type: object
|
type: object
|
||||||
description: |-
|
description: |-
|
||||||
The state updates for the room up to the point when
|
The state updates for the room up to the start of the timeline.
|
||||||
the user left.
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "definitions/room_event_batch.json"
|
- $ref: "definitions/room_event_batch.json"
|
||||||
timeline:
|
timeline:
|
||||||
|
@ -260,7 +263,6 @@ paths:
|
||||||
"state": {
|
"state": {
|
||||||
"events": [
|
"events": [
|
||||||
"$66697273743031:example.com",
|
"$66697273743031:example.com",
|
||||||
"$7365636s6r6432:example.com"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"timeline": {
|
"timeline": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue