diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-08-01 14:12:59 +0100 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-08-01 14:12:59 +0100 |
commit | 75dbed22080850b850e2e4befafc6ced557bdba9 (patch) | |
tree | 5e56ede2c2c9bd3a0ec44040715dc76136fd5df1 /ocs | |
parent | e315384b4ddc207c1b3f142df4a57e8004a88966 (diff) | |
download | nextcloud-server-75dbed22080850b850e2e4befafc6ced557bdba9.tar.gz nextcloud-server-75dbed22080850b850e2e4befafc6ced557bdba9.zip |
Fix the api routes
Diffstat (limited to 'ocs')
-rw-r--r-- | ocs/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ocs/routes.php b/ocs/routes.php index ac23e29af8a..696b17ca23b 100644 --- a/ocs/routes.php +++ b/ocs/routes.php @@ -19,8 +19,8 @@ OC_API::register('post', '/privatedata/setattribute/{app}/{key}', array('OC_OCS_ OC_API::register('post', '/privatedata/deleteattribute/{app}/{key}', array('OC_OCS_Privatedata', 'delete'), 'ocs'); // Cloud OC_API::register('get', '/cloud/system/webapps', array('OC_OCS_Cloud', 'getSystemWebApps'), 'ocs'); -OC_API::register('get', '/cloud/user/{user}', array('OC_OCS_Cloud', 'getUserQuota'), 'ocs'); -OC_API::register('post', '/cloud/user/{user}', array('OC_OCS_Cloud', 'setUserQuota'), 'ocs'); +OC_API::register('get', '/cloud/user/{user}/quota', array('OC_OCS_Cloud', 'getUserQuota'), 'ocs'); +OC_API::register('post', '/cloud/user/{user}/quota', array('OC_OCS_Cloud', 'setUserQuota'), 'ocs'); OC_API::register('get', '/cloud/user/{user}/publickey', array('OC_OCS_Cloud', 'getUserPublicKey'), 'ocs'); OC_API::register('get', '/cloud/user/{user}/privatekey', array('OC_OCS_Cloud', 'getUserPrivateKey'), 'ocs'); |