diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2020-08-21 13:15:37 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-08-25 09:47:07 +0300 |
commit | 8013641489eb3b82bc805b6566151855d54ad71f (patch) | |
tree | 9e2706546fa0447cfca94abb844fcab922eda7bc /appinfo | |
parent | 9ed27b35642076bc3ecb73061712485b36dce1a5 (diff) |
stop all bridges when disabling admin setting
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'appinfo')
-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 f4b531a10..9d2cc4160 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -394,6 +394,15 @@ return [ 'token' => '^[a-z0-9]{4,30}$', ], ], + [ + 'name' => 'Bridge#stopAllBridges', + 'url' => '/api/{apiVersion}/bridge', + 'verb' => 'DELETE', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], /** |