aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-12-14 16:54:35 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-01-04 16:45:52 +0100
commit5c987a0ff4530cd0951920fcbfaf97411aeec17a (patch)
treecec3ffdd3282cfe2a84f6f2d9251c72bc3922ed8 /apps/files/appinfo/routes.php
parent887c9e05de88f81ed6f0cb88bd185c05b1a22076 (diff)
downloadnextcloud-server-5c987a0ff4530cd0951920fcbfaf97411aeec17a.tar.gz
nextcloud-server-5c987a0ff4530cd0951920fcbfaf97411aeec17a.zip
Port settings to Modal
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/appinfo/routes.php')
-rw-r--r--apps/files/appinfo/routes.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index 29859d78b0d..0fc494d1173 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -91,6 +91,16 @@ $application->registerRoutes(
'verb' => 'GET'
],
[
+ 'name' => 'API#setConfig',
+ 'url' => '/api/v1/config/{key}',
+ 'verb' => 'POST'
+ ],
+ [
+ 'name' => 'API#getConfigs',
+ 'url' => '/api/v1/configs',
+ 'verb' => 'GET'
+ ],
+ [
'name' => 'API#updateFileSorting',
'url' => '/api/v1/sorting',
'verb' => 'POST'