-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
4.5.1
-
None
-
MOODLE_405_STABLE
In our Moodle installation we have a number of optional plugins (100+) that we need to check will be supported whenever we begin our upgrade process to a newer version of Moodle.
While only a once/perhaps twice a year activity, having to check that each optional plugin will actually work with the version of Moodle can be quite time consuming and laborious - namely, browsing to https://moodle.org/plugins/[plugin_name]/versions/ for each plugin and then verifying that the version will run okay.
Being able to automate this check would be helpful.
Given that the plugins database API allows for returning only plugins created by a maintainer - for a user with a given logged in session, being able to query for and expose some of the information that is available on the plugins database site would be highly useful, for example, the current versions section that exists contains useful information such as the version of Moodle that the plugin is suitable for, and if returned as part of a JSON payload, could be queried further at the client end.
My guess as to how this would work, would be a call to the API passing in either a single plugin name, or an array of plugin names - and the return would be a JSON string containing the pertinent information.
The documentation at https://moodledev.io/general/community/plugincontribution/pluginsdirectory/api provided the inspiration for this suggestion.
Thanks for any consideration.