mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-77802 core_xapi: create core_xapi_get_states webservice
The xAPI get states webservice is needed for mobile APPs to check if any new state has been stored from another device.
This commit is contained in:
parent
fba0658777
commit
625f9646a7
7 changed files with 724 additions and 1 deletions
|
@ -2794,6 +2794,13 @@ $functions = array(
|
|||
'capabilities' => '',
|
||||
'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
|
||||
],
|
||||
'core_xapi_get_states' => [
|
||||
'classname' => 'core_xapi\external\get_states',
|
||||
'description' => 'Get all state ID from an activityId.',
|
||||
'type' => 'read',
|
||||
'ajax' => true,
|
||||
'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
|
||||
],
|
||||
'core_xapi_delete_state' => [
|
||||
'classname' => 'core_xapi\external\delete_state',
|
||||
'classpath' => '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue