aboutsummaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2013-01-16 20:43:46 +0000
committerTom Needham <needham.thomas@gmail.com>2013-01-16 20:43:46 +0000
commit0956cae39ea8380d42d03857a18fdab0a07ebe8c (patch)
treea9320fc361f29e848c9a39d8ae76adef98dc67b8 /ocs
parent1d57a2e2a9d5e392bb1061479543cd1dec860c4b (diff)
downloadnextcloud-server-0956cae39ea8380d42d03857a18fdab0a07ebe8c.tar.gz
nextcloud-server-0956cae39ea8380d42d03857a18fdab0a07ebe8c.zip
Add new /cloud/capabilities route and remove unused methods
Diffstat (limited to 'ocs')
-rw-r--r--ocs/routes.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ocs/routes.php b/ocs/routes.php
index d6ee589df6f..5e4758fb705 100644
--- a/ocs/routes.php
+++ b/ocs/routes.php
@@ -17,4 +17,5 @@ OC_API::register('get', '/privatedata/getattribute/{app}', array('OC_OCS_Private
OC_API::register('get', '/privatedata/getattribute/{app}/{key}', array('OC_OCS_Privatedata', 'get'), 'ocs', OC_API::USER_AUTH);
OC_API::register('post', '/privatedata/setattribute/{app}/{key}', array('OC_OCS_Privatedata', 'set'), 'ocs', OC_API::USER_AUTH);
OC_API::register('post', '/privatedata/deleteattribute/{app}/{key}', array('OC_OCS_Privatedata', 'delete'), 'ocs', OC_API::USER_AUTH);
-
+// cloud
+OC_API::register('get', '/cloud/capabilities', array('OC_OCS_Cloud', 'getCapabilities'), 'ocs', OC_API::USER_AUTH); \ No newline at end of file