I am trying to implement a plugin which shows users' private files within the app. For this, I want to make use of the MM.moodleDownloadFile function. So far, I have identified that the page with all the files can be reached the following way:
MM.config.current_site.siteurl + "/user/files.php"
But is there any way to get a list of the included element? And how is the link created for every object?
I also had a look at the "core_files_get_files " webservice, but it also needs a filepath.