MDL-59401 mod_workshop: New WS get_reviewer_assessments
[moodle.git] / mod / workshop / db / services.php
index 94b4c19..4521134 100644 (file)
@@ -120,4 +120,11 @@ $functions = array(
         'type'          => 'read',
         'services'      => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
     ),
+    'mod_workshop_get_user_assessments' => array(
+        'classname'     => 'mod_workshop_external',
+        'methodname'    => 'get_user_assessments',
+        'description'   => 'Retrieves all the assessments reviewed by the given user.',
+        'type'          => 'read',
+        'services'      => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
+    ),
 );