summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/appinfo
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-21 08:27:38 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-25 17:12:27 +0200
commit263d2c89fb2a8faa0cfdee230de2177b34534c9b (patch)
tree87bc1d9e1eba76a357ac3a0549d662190a9c3e3a /apps/accessibility/appinfo
parenta23a6004a5a94f1bce548a0e41eb8cb642b136a3 (diff)
downloadnextcloud-server-263d2c89fb2a8faa0cfdee230de2177b34534c9b.tar.gz
nextcloud-server-263d2c89fb2a8faa0cfdee230de2177b34534c9b.zip
Config set and drone
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/accessibility/appinfo')
-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',
+ ],
+ ]
];