Merge pull request #247 from matrix-org/erikj/create_room_3pid_invite

Support 3pid invites in /createRoom
pull/977/head
Erik Johnston 9 years ago
commit 70a6bef580

@ -80,6 +80,25 @@ paths:
server to invite everyone in the list to the newly created room. server to invite everyone in the list to the newly created room.
items: items:
type: string 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: creation_content:
title: CreationContent title: CreationContent
type: object type: object

Loading…
Cancel
Save