mirror of
https://github.com/moodle/moodle.git
synced 2025-01-20 15:08:32 +01:00
145900708c
This commit reduces boilerplate code. It also forces WS returning files to always return the following fields: filename, filepath, mimetype, filesize, timemodified and fileurl.
11 lines
502 B
Plaintext
11 lines
502 B
Plaintext
This files describes API changes in /course/*,
|
|
information provided here is intended especially for developers.
|
|
|
|
=== 3.2 ===
|
|
|
|
* External function core_course_external::get_course_contents now returns the section's number in the course (new section field).
|
|
* External functions that were returning file information now return the following file fields:
|
|
filename, filepath, mimetype, filesize, timemodified and fileurl.
|
|
Those fields are now marked as VALUE_OPTIONAL for backwards compatibility.
|
|
|