diff --git a/completion/classes/external.php b/completion/classes/external.php index 6bb4ece1a3a..3dc1af84471 100644 --- a/completion/classes/external.php +++ b/completion/classes/external.php @@ -339,6 +339,7 @@ class core_completion_external extends external_api { ) ] ), + 'Completion status details', VALUE_DEFAULT, [] ), diff --git a/course/externallib.php b/course/externallib.php index 0397a8d9ed1..0a374127f5b 100644 --- a/course/externallib.php +++ b/course/externallib.php @@ -483,6 +483,7 @@ class core_course_external extends external_api { 'dataid' => new external_value(PARAM_NOTAGS, 'cm data id', VALUE_OPTIONAL), ) ), + 'Course dates', VALUE_DEFAULT, [] ), @@ -514,7 +515,7 @@ class core_course_external extends external_api { VALUE_OPTIONAL ), ) - ), VALUE_DEFAULT, array() + ), 'Course contents', VALUE_DEFAULT, array() ), 'contentsinfo' => new external_single_structure( array( @@ -1305,7 +1306,7 @@ class core_course_external extends external_api { 'value' => new external_value(PARAM_RAW, 'the value for the option 1 (yes) or 0 (no)' ) ) - ), VALUE_DEFAULT, array() + ), 'Course duplication options', VALUE_DEFAULT, array() ), ) ); @@ -1532,7 +1533,7 @@ class core_course_external extends external_api { 'value' => new external_value(PARAM_RAW, 'the value for the option 1 (yes) or 0 (no)' ) ) - ), VALUE_DEFAULT, array() + ), 'Course import options', VALUE_DEFAULT, array() ), ) );