'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
+ 'core_course_get_enrolled_users_by_cmid' => array(
+ 'classname' => 'core_course_external',
+ 'methodname' => 'get_enrolled_users_by_cmid',
+ 'classpath' => 'course/externallib.php',
+ 'description' => 'List users by course module id & filter by group id.',
+ 'type' => 'read',
+ 'ajax' => true,
+ ),
+ 'core_course_get_activity_picker_info' => array(
+ 'classname' => 'core_course_external',
+ 'methodname' => 'fetch_modules_activity_chooser',
+ 'classpath' => 'course/externallib.php',
+ 'description' => 'Fetch all the module information for the activity picker',
+ 'type' => 'read',
+ 'ajax' => true,
+ ),
'core_enrol_get_course_enrolment_methods' => array(
'classname' => 'core_enrol_external',
'methodname' => 'get_course_enrolment_methods',
'description' => 'Update a grade item and associated student grades.',
'type' => 'write',
),
+ 'core_grades_grader_gradingpanel_point_fetch' => [
+ 'classname' => 'core_grades\\grades\\grader\\gradingpanel\\point\\external\\fetch',
+ 'methodname' => 'execute',
+ 'description' => 'Fetch the data required to display the grader grading panel for simple grading, ' .
+ 'creating the grade item if required',
+ 'type' => 'write',
+ 'ajax' => true,
+ 'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
+ ],
+ 'core_grades_grader_gradingpanel_point_store' => [
+ 'classname' => 'core_grades\\grades\\grader\\gradingpanel\\point\\external\\store',
+ 'methodname' => 'execute',
+ 'description' => 'Store the data required to display the grader grading panel for simple grading',
+ 'type' => 'write',
+ 'ajax' => true,
+ 'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
+ ],
+ 'core_grades_grader_gradingpanel_scale_fetch' => [
+ 'classname' => 'core_grades\\grades\\grader\\gradingpanel\\scale\\external\\fetch',
+ 'methodname' => 'execute',
+ 'description' => 'Fetch the data required to display the grader grading panel for scale-based grading, ' .
+ 'creating the grade item if required',
+ 'type' => 'write',
+ 'ajax' => true,
+ 'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
+ ],
+ 'core_grades_grader_gradingpanel_scale_store' => [
+ 'classname' => 'core_grades\\grades\\grader\\gradingpanel\\scale\\external\\store',
+ 'methodname' => 'execute',
+ 'description' => 'Store the data required to display the grader grading panel for scale-based grading',
+ 'type' => 'write',
+ 'ajax' => true,
+ 'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
+ ],
'core_grading_get_definitions' => array(
'classname' => 'core_grading_external',
'methodname' => 'get_definitions',
'description' => 'Drag and drop categories',
'type' => 'write',
'ajax' => 'true'
- )
+ ),
+ 'core_h5p_get_trusted_h5p_file' => [
+ 'classname' => 'core_h5p\external',
+ 'methodname' => 'get_trusted_h5p_file',
+ 'classpath' => '',
+ 'description' => 'Get the H5P file cleaned for Mobile App.',
+ 'type' => 'read',
+ 'ajax' => 'true',
+ 'capabilities' => '',
+ 'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
+ ],
);
$services = array(