Added/updated operationIds according to today's updates in the spec

Signed-off-by: Alexey Rusakov <ktirf@users.sf.net>
This commit is contained in:
Kitsune Ral 2017-10-11 02:22:19 +09:00
parent 24afe7987c
commit 004a4d5148
2 changed files with 4 additions and 2 deletions

View file

@ -32,6 +32,7 @@ paths:
summary: Lists the user's current rooms.
description: |-
This API returns a list of the user's current rooms.
operationId: getJoinedRooms
security:
- accessToken: []
responses:
@ -54,4 +55,4 @@ paths:
]
}
tags:
- Room membership
- Room membership

View file

@ -237,7 +237,7 @@ paths:
summary: Get the m.room.member events for the room.
description:
Get the list of members for this room.
operationId: getRoomMembers
operationId: getMembersByRoom
parameters:
- in: path
type: string
@ -307,6 +307,7 @@ paths:
description:
This API returns a map of MXIDs to member info objects for members of the room. The current user must be in the room for it to work, unless it is an Application Service in which case any of the AS's users must be in the room.
This API is primarily for Application Services and should be faster to respond than ``/members`` as it can be implemented more efficiently on the server.
operationId: getJoinedMembersByRoom
parameters:
- in: path
type: string