/rooms/{roomId}/members: specify access_token requirement

as the behaviour of which members the users see is user-specific
and therefore requires authentication.

Signed-off-by: Florian Jacob <projects+git AT florianjacob )DOT( de>
pull/1244/head
Florian Jacob 7 years ago
parent bb39bea44d
commit cc54a4f8cb

@ -288,6 +288,8 @@ paths:
description: The room to get the member events for. description: The room to get the member events for.
required: true required: true
x-example: "!636q39766251:example.com" x-example: "!636q39766251:example.com"
security:
- accessToken: []
responses: responses:
200: 200:
description: |- description: |-

@ -35,6 +35,8 @@ Unreleased changes
(`#1139 <https://github.com/matrix-org/matrix-doc/pull/1139>`_). (`#1139 <https://github.com/matrix-org/matrix-doc/pull/1139>`_).
- Clarify that ``/account/whoami`` should consider application services - Clarify that ``/account/whoami`` should consider application services
(`#1152 <https://github.com/matrix-org/matrix-doc/pull/1152>`_). (`#1152 <https://github.com/matrix-org/matrix-doc/pull/1152>`_).
- Mark ``GET /rooms/{roomId}/members`` as requiring authentication
(`#1245 <https://github.com/matrix-org/matrix-doc/pull/1244>`_).
- Changes to the API which will be backwards-compatible for clients: - Changes to the API which will be backwards-compatible for clients:

Loading…
Cancel
Save