Merge pull request #2069 from matrix-org/bwindels/messages-chunk-order

Clarify the order events in chunk are returned in for /messages
This commit is contained in:
Travis Ralston 2019-06-04 10:59:45 -06:00 committed by GitHub
commit 9dd171a718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -103,7 +103,10 @@ paths:
chunk:
type: array
description: |-
A list of room events.
A list of room events. The order depends on the ``dir`` parameter.
For ``dir=b`` events will be in reverse-chronological order,
for ``dir=f`` in chronological order, so that events start
at the ``from`` point.
items:
type: object
title: RoomEvent

View file

@ -0,0 +1 @@
Clarify the order events in chunk are returned in for ``/messages``.