MDL-54941 webservice: Refactor file handling in WS
This commit reduces boilerplate code. It also forces WS returning files to always return the following fields: filename, filepath, mimetype, filesize, timemodified and fileurl.
Please register or sign in to comment