summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-14 14:17:12 +0200
committerJoas Schilling <coding@schilljs.com>2020-10-30 10:38:07 +0100
commitf76a2add671f812ea778936aa149b2e4072acc6e (patch)
tree3ed88b55cdcf4cfdbd7adf0b1ebe313e51ba99f3 /appinfo
parent845c53faefebc8702d81c4435fc301f220177f1a (diff)
Add a shared secret
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 49651fe46..32bd84570 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -495,9 +495,17 @@ return [
],
/**
- * UserSettings
+ * Settings
*/
[
+ 'name' => 'Settings#setSIPSettings',
+ 'url' => '/api/{apiVersion}/settings/sip',
+ 'verb' => 'POST',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ ],
+ ],
+ [
'name' => 'Settings#setUserSetting',
'url' => '/api/{apiVersion}/settings/user',
'verb' => 'POST',