Skip to content

Commit

Permalink
Turn matrix-org#1337 into YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Mar 23, 2019
1 parent 9bc85b7 commit 03b897a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions api/client-server/rooms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 03b897a

Please sign in to comment.