From bc83677d98d31fd2d1a5544591bd2bdb5f2eccbe Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 19 Feb 2016 16:52:03 +0000 Subject: [PATCH] Define the order for events returned by /context API --- api/client-server/event_context.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/client-server/event_context.yaml b/api/client-server/event_context.yaml index d3139c9d..2957a3e3 100644 --- a/api/client-server/event_context.yaml +++ b/api/client-server/event_context.yaml @@ -65,7 +65,7 @@ paths: type: array description: |- A list of room events that happened just before the - requested event. + requested event, in reverse-chronological order. items: allOf: - "$ref": "../../event-schemas/schema/core-event-schema/room_event.yaml" @@ -78,7 +78,7 @@ paths: type: array description: |- A list of room events that happened just after the - requested event. + requested event, in chronological order. items: allOf: - "$ref": "../../event-schemas/schema/core-event-schema/room_event.yaml"