MDL-59253 mod_workshop: New WS mod_workshop_get_grades_report
[moodle.git] / mod / workshop / db / services.php
index 0e76683..e9bf366 100644 (file)
@@ -148,4 +148,11 @@ $functions = array(
         'type'          => 'write',
         'services'      => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
     ),
+    'mod_workshop_get_grades_report' => array(
+        'classname'     => 'mod_workshop_external',
+        'methodname'    => 'get_grades_report',
+        'description'   => 'Retrieves the assessment grades report.',
+        'type'          => 'read',
+        'services'      => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
+    ),
 );