diff options
author | Joas Schilling <coding@schilljs.com> | 2018-07-31 13:33:48 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-09-27 17:21:21 +0300 |
commit | bc29961a79d50d3746aa97b6019716e063aadc69 (patch) | |
tree | 7b161728a32d7233d895d0690a6b5a3f7526d297 /appinfo/routes.php | |
parent | 2fe99e14967cec083c098318dab54283be51954f (diff) |
Allow to invite email addresses
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 2422e13f0..4155bac65 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -218,6 +218,15 @@ return [ ], ], [ + 'name' => 'Room#inviteEmailToRoom', + 'url' => '/api/{apiVersion}/room/{token}/participants/guests', + 'verb' => 'POST', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], + [ 'name' => 'Room#removeParticipantFromRoom', 'url' => '/api/{apiVersion}/room/{token}/participants', 'verb' => 'DELETE', |