jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
98 stars 85 forks source link

Retrieve submissions through webservices #136

Closed nikosdimitrakas closed 1 year ago

nikosdimitrakas commented 1 year ago

Looking at the available web services I see that mod_vpl_open only asks for the Activity id (course_module) and the response is a list of files without any metadata about the student. Could you fix something so that I can either specify the student id as an argument or so that the response can give me all submitted files per student. You can compare with how assign and quiz work, where it is possible to specify the userid (for example in mod_quiz_get_user_attempts) or where the userid is included in the response (for example mod_assign_get_submissions)

jcrodriguez-dis commented 1 year ago

Dear nikosdimitrakas, your enhancement request has been fulfilled in the new V4.0.0 release.

Best regards, Juan Carlos.

nikosdimitrakas commented 1 year ago

Thanks. It works great.