From 48f56bfbfb2344f7dd1490839030ed867bf6afe1 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 5 Jan 2016 10:52:47 +0000 Subject: [PATCH] Support 3pid invites in /createRoom --- api/client-server/create_room.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/api/client-server/create_room.yaml b/api/client-server/create_room.yaml index 6e19b1d8c..425994ea2 100644 --- a/api/client-server/create_room.yaml +++ b/api/client-server/create_room.yaml @@ -80,6 +80,25 @@ paths: server to invite everyone in the list to the newly created room. items: type: string + invite_3pid: + type: array + description: |- + A list of objects representing third party IDs to invite into + the room. + items: + type: object + properties: + id_server: + type: string + description: The hostname+port of the identity server which should be used for third party identifier lookups. + medium: + type: string + # TODO: Link to identity service spec when it eixsts + description: The kind of address being passed in the address field, for example ``email``. + address: + type: string + description: The invitee's third party identifier. + required: ["id_server", "medium", "address"] creation_content: title: CreationContent type: object