diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-27 16:49:16 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-30 10:38:52 +0100 |
commit | d907221b601029b1db4420bc2dd7a811d937326e (patch) | |
tree | 3dd4433b8bdd8b37f2b419555ab8166ce65282bc /appinfo | |
parent | 2891f29afcd83220aa4c0d4a00930dbad4aaa7af (diff) |
Add an endpoint to validate a PIN for a given conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index b3a793732..97fe70b98 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -354,6 +354,16 @@ return [ ], ], [ + 'name' => 'Room#getParticipantByDialInPin', + 'url' => '/api/{apiVersion}/room/{token}/pin/{pin}', + 'verb' => 'GET', + 'requirements' => [ + 'apiVersion' => 'v2', + 'token' => '^[a-z0-9]{4,30}$', + 'pin' => '^\d{7,32}$', + ], + ], + [ 'name' => 'Room#setNotificationLevel', 'url' => '/api/{apiVersion}/room/{token}/notify', 'verb' => 'POST', |