summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/accessibility/appinfo/routes.php')
-rw-r--r--apps/accessibility/appinfo/routes.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/accessibility/appinfo/routes.php b/apps/accessibility/appinfo/routes.php
index af4ef53601b..ebb845e06a3 100644
--- a/apps/accessibility/appinfo/routes.php
+++ b/apps/accessibility/appinfo/routes.php
@@ -25,4 +25,16 @@ return [
'routes' => [
['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}.css', 'verb' => 'GET'],
],
+ 'ocs' => [
+ [
+ 'name' => 'Config#getConfig',
+ 'url' => '/api/v1/config',
+ 'verb' => 'GET',
+ ],
+ [
+ 'name' => 'Config#setConfig',
+ 'url' => '/api/v1/config/{key}',
+ 'verb' => 'POST',
+ ],
+ ]
];