]> source.dussan.org Git - nextcloud-server.git/commitdiff
add documentation
authorMorris Jobke <morris.jobke@gmail.com>
Tue, 27 Aug 2013 14:07:25 +0000 (16:07 +0200)
committerMorris Jobke <morris.jobke@gmail.com>
Tue, 27 Aug 2013 14:07:25 +0000 (16:07 +0200)
lib/ocs/cloud.php

index b64200d0916a913dcba5c6dd18d09117740a3823..2dd99319057792de24bdfd7e4f0660682d994ad7 100644 (file)
@@ -46,6 +46,19 @@ class OC_OCS_Cloud {
        
        /**
         * gets user info
+        *
+        * exposes the quota of an user:
+        * <data>
+        *   <quota>
+        *      <free>1234</free>
+        *      <used>4321</used>
+        *      <total>5555</total>
+        *      <ralative>0.78</ralative>
+        *   </quota>
+        * </data>
+        *
+        * @param $parameters object should contain parameter 'userid' which identifies
+        *                           the user from whom the information will be returned
         */
        public static function getUser($parameters) {
                // Check if they are viewing information on themselves