mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
MDL-69259 h5pactivity: Add get_user_attempts webservice
This commit is contained in:
parent
a93828a188
commit
82433c0b6a
4 changed files with 473 additions and 2 deletions
|
@ -78,7 +78,16 @@ $functions = [
|
|||
'methodname' => 'execute',
|
||||
'classpath' => '',
|
||||
'description' => 'Log that the h5pactivity was viewed.',
|
||||
'type' => 'write',
|
||||
'type' => 'write',
|
||||
'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
|
||||
],
|
||||
'mod_h5pactivity_get_user_attempts' => [
|
||||
'classname' => 'mod_h5pactivity\external\get_user_attempts',
|
||||
'methodname' => 'execute',
|
||||
'classpath' => '',
|
||||
'description' => 'Return the information needed to list all enrolled user attempts.',
|
||||
'type' => 'read',
|
||||
'capabilities' => 'mod/h5pactivity:reviewattempts',
|
||||
'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
|
||||
],
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue