Merge remote-tracking branch 'origin/master' into erikj/create_room_is_direct

This commit is contained in:
David Baker 2016-10-03 15:17:55 +01:00
commit ae1c576648
9 changed files with 110 additions and 40 deletions

View file

@ -28,4 +28,8 @@ properties:
items:
type: string
type: array
contains_url:
type: boolean
description: If ``true``, includes only events with a url key in their content. If
``false``, excludes those events.
type: object

View file

@ -75,6 +75,13 @@ paths:
description: |-
The maximum number of events to return. Default: 10.
x-example: "3"
- in: query
type: string
name: filter
description: |-
A JSON RoomEventFilter to filter returned events with.
x-example: |-
{"contains_url":true}
responses:
200:
description: A list of messages with a new token to request more.