MDL-74955 reportbuilder: external method for listing custom reports.

This commit is contained in:
Paul Holden
2022-10-03 13:57:36 +01:00
parent 77018b7359
commit 28cf1fa8a1
7 changed files with 357 additions and 1 deletions
+6
View File
@@ -2812,6 +2812,12 @@ $functions = array(
'type' => 'read',
'ajax' => true,
],
'core_reportbuilder_list_reports' => [
'classname' => 'core_reportbuilder\external\reports\listing',
'description' => 'List custom reports for current user',
'type' => 'read',
'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
],
'core_reportbuilder_view_report' => [
'classname' => 'core_reportbuilder\external\reports\view',
'description' => 'Trigger custom report viewed',