From e0a36617b7dcadc1b43b5f69913ccda5c3e272e0 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 11 Dec 2018 13:50:26 +0900 Subject: [PATCH] Turn #1337 into YAML --- api/client-server/rooms.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/api/client-server/rooms.yaml b/api/client-server/rooms.yaml index cc1f2bf7e1d..513f40448fc 100644 --- a/api/client-server/rooms.yaml +++ b/api/client-server/rooms.yaml @@ -288,6 +288,26 @@ paths: description: The room to get the member events for. required: true x-example: "!636q39766251:example.com" + - in: query + type: string + name: at + description: |- + The token defining the timeline position as-of which to return + the list of members. This token can be obtained from a batch token + returned for each room by the sync API, or from + a ``start``/``end`` token returned by a ``/messages`` request. + - in: query + type: string + name: membership + enum: ["join", "invite", "leave"] + description: |- + Only return users with the specified membership + - in: query + type: string + name: not_membership + enum: ["join", "invite", "leave"] + description: |- + Only return users with membership state other than specified security: - accessToken: [] responses: