Define the order for events returned by /context API

This commit is contained in:
Richard van der Hoff 2016-02-19 16:52:03 +00:00
parent bf7ca36cf6
commit bc83677d98

View file

@ -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"