MDL-70387 files: New WS core_files_get_unused_draft_itemid

This commit is contained in:
Juan Leyva
2021-01-13 13:01:40 +01:00
parent ed2400457b
commit 7f02879ce7
4 changed files with 145 additions and 1 deletions
+7
View File
@@ -821,6 +821,13 @@ $functions = array(
'type' => 'write',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_files_get_unused_draft_itemid' => array(
'classname' => 'core_files\external\get\unused_draft',
'methodname' => 'execute',
'description' => 'Generate a new draft itemid for the current user.',
'type' => 'write',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_form_get_filetypes_browser_data' => array(
'classname' => 'core_form\external',
'methodname' => 'get_filetypes_browser_data',