-
Improvement
-
Resolution: Done
-
Major
-
3.6.1
-
-
MOODLE_36_STABLE
-
MOODLE_37_STABLE
-
Moodle App 3.7.0
Right now the only way to get the mime type of a file resource was via getting all the files to iterate them and the the first file mime type.
In MDL-63958 we introduced some code in Moodle 3.7 to return the mimetype via the course_get_contents WS (before getting all the module contents)
Also, thanks MDL-64026, via the same course_get_contents WS we are now able to obtain the filescount, filessize and last modified time of all the resource files so we can save extra WS requests.
- is blocked by
-
MDL-63958 Store the raw mimetype (not translated) in resource_get_coursemodule_info
-
- Closed
-
-
MDL-64026 Return file summary information in core_course_get_course_contents
-
- Closed
-
-
MDL-65019 Return main file isexternalfile and repositorytype in core_course_get_course_contents
-
- Closed
-
-
MDL-65024 Cache in the modules cminfo relevant information for the get_contents WS
-
- Closed
-