MDL-30072 - Notes, Webservices - adding Webservices for notes
This commit is contained in:
@@ -673,6 +673,33 @@ $functions = array(
|
||||
'capabilities'=> 'moodle/notes:manage',
|
||||
),
|
||||
|
||||
'core_notes_delete_notes' => array(
|
||||
'classname' => 'core_notes_external',
|
||||
'methodname' => 'delete_notes',
|
||||
'classpath' => 'notes/externallib.php',
|
||||
'description' => 'Delete notes',
|
||||
'type' => 'write',
|
||||
'capabilities'=> 'moodle/notes:manage',
|
||||
),
|
||||
|
||||
'core_notes_get_notes' => array(
|
||||
'classname' => 'core_notes_external',
|
||||
'methodname' => 'get_notes',
|
||||
'classpath' => 'notes/externallib.php',
|
||||
'description' => 'Get notes',
|
||||
'type' => 'read',
|
||||
'capabilities'=> 'moodle/notes:view',
|
||||
),
|
||||
|
||||
'core_notes_update_notes' => array(
|
||||
'classname' => 'core_notes_external',
|
||||
'methodname' => 'update_notes',
|
||||
'classpath' => 'notes/externallib.php',
|
||||
'description' => 'Update notes',
|
||||
'type' => 'write',
|
||||
'capabilities'=> 'moodle/notes:manage',
|
||||
),
|
||||
|
||||
// === webservice related functions ===
|
||||
|
||||
'moodle_webservice_get_siteinfo' => array(
|
||||
|
||||
Reference in New Issue
Block a user