MDL-52868 mod_quiz: New Web Service mod_quiz_get_attempt_review

This commit is contained in:
Juan Leyva 2016-01-21 22:39:39 +01:00
parent 98e6869088
commit 3589b6591a
4 changed files with 269 additions and 2 deletions

View file

@ -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)
),
);