'classname' => 'core_course_external',
'methodname' => 'get_enrolled_users_by_cmid',
'classpath' => 'course/externallib.php',
- 'description' => 'List users bycourse module id.',
+ '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,
),
'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(