diff options
author | Joas Schilling <coding@schilljs.com> | 2018-10-01 16:02:11 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-10-08 16:26:45 +0300 |
commit | e3d985da600404442973fcf1cb4cd04534cec023 (patch) | |
tree | 90820905a32fafdf3a0858d478b60d6b720ff3a8 /appinfo/routes.php | |
parent | ee894cc5cd93bf14c15904daec212dfeee378ac8 (diff) |
Add an endpoint to set the notification level
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 4155bac65..196a4326a 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -307,6 +307,15 @@ return [ 'token' => '^[a-z0-9]{4,30}$', ], ], + [ + 'name' => 'Room#setNotificationLevel', + 'url' => '/api/{apiVersion}/room/{token}/notify', + 'verb' => 'POST', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], /** |