mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-52868 mod_quiz: New Web Service mod_quiz_get_attempt_review
This commit is contained in:
parent
98e6869088
commit
3589b6591a
4 changed files with 269 additions and 2 deletions
|
@ -119,4 +119,13 @@ $functions = array(
|
|||
'capabilities' => 'mod/quiz:attempt',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
),
|
||||
|
||||
'mod_quiz_get_attempt_review' => array(
|
||||
'classname' => 'mod_quiz_external',
|
||||
'methodname' => 'get_attempt_review',
|
||||
'description' => 'Returns review information for the given finished attempt, can be used by users or teachers.',
|
||||
'type' => 'read',
|
||||
'capabilities' => 'mod/quiz:reviewmyattempts',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue