mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-02 09:44:10 +01:00
Merge pull request #277 from matrix-org/rav/define_order_for_event_context
Define the order for events returned by /context API
This commit is contained in:
commit
8e0cf9c7ac
|
|
@ -65,7 +65,7 @@ paths:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
A list of room events that happened just before the
|
A list of room events that happened just before the
|
||||||
requested event.
|
requested event, in reverse-chronological order.
|
||||||
items:
|
items:
|
||||||
allOf:
|
allOf:
|
||||||
- "$ref": "../../event-schemas/schema/core-event-schema/room_event.yaml"
|
- "$ref": "../../event-schemas/schema/core-event-schema/room_event.yaml"
|
||||||
|
|
@ -78,7 +78,7 @@ paths:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
A list of room events that happened just after the
|
A list of room events that happened just after the
|
||||||
requested event.
|
requested event, in chronological order.
|
||||||
items:
|
items:
|
||||||
allOf:
|
allOf:
|
||||||
- "$ref": "../../event-schemas/schema/core-event-schema/room_event.yaml"
|
- "$ref": "../../event-schemas/schema/core-event-schema/room_event.yaml"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue