Merge pull request #247 from matrix-org/erikj/create_room_3pid_invite
Support 3pid invites in /createRoom
This commit is contained in:
commit
70a6bef580
1 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue