Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 72f83ed6c..72d532cde 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -74,9 +74,12 @@ return [
],
[
'name' => 'Call#leaveCall',
- 'url' => '/api/{apiVersion}/call',
+ 'url' => '/api/{apiVersion}/call/{token}',
'verb' => 'DELETE',
- 'requirements' => ['apiVersion' => 'v1'],
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ 'token' => '^[a-z0-9]{4,30}$',
+ ],
],
[