Moodle Plugins directory: Plugins fetcher | Moodle.org
Plugins fetcher
General plugins (Local) ::: local_pluginsfetcher
Maintained by Adrian Perez Rodriguez, FFHS (Fernfachhochschule Schweiz), Sascha Vogel, Christoph Karlen
This plugin retrieves information about installed plugins.
Latest release:
31 sites
6 downloads
6 fans
Current versions available: 6
Moodle plugins Fetcher Plugin
This plugin install a new webservice local_pluginsfetcher_get_information
which can be use to retrieve information about installed plugins.
Important information:
Please uninstall the actual plugin and reinstall with the newest version. Before the pre-build webservice could be used by default from All users if the user had the moodle/webservice:createtoken capability.Main features
There are two optional parameters which can be combined to fetch only given data:
key | value | description |
---|---|---|
type | string | Only given plugin types will be fetched |
contribonly | int | Only additional plugins will be fetched |
Installation
- Copy this plugin to the
local
directory of your Moodle instance:git clone https://github.com/adpe/moodle-local_pluginsfetcher.git local/pluginsfetcher
- Visit the notifications page to complete the install process
For more information, visit MoodleDocs for installing contributed modules and plugins.
Configuration
- Enable the pre-built service under Site administration / Server / Web services / External services with click on
Edit
- Add the user to be used under
Authorised users
- Create a
token
for this servicePlugins fetcher
and user under Site administration / Server / Web services / Manage tokens. It's important that the user has the capabilitymoodle/site:config
.
Usage
Use e.g. Postman, CURL or simply a Browser to call https://[yourmoodle]/webservice/rest/server.php?wstoken=[yourtoken]&wsfunction=local_pluginsfetcher_get_information&moodlewsrestformat=json and get a json list of your plugins.
Useful links
Contributors
Adrian Perez Rodriguez (Lead maintainer)
FFHS (Fernfachhochschule Schweiz)
Sascha Vogel
Christoph Karlen
Please login to view contributors details and/or to contact them
You should see a new web service "local_pluginsfetcher_get_information" under https://[yourmoodle]/admin/webservice/documentation.php.
You can use e.g. Postman, CURL or simply a Browser to call https://[yourmoodle]/webservice/rest/server.php?wstoken=[yourtoken]&wsfunction=local_pluginsfetcher_get_information&moodlewsrestformat=json and get a json list of your plugins.
We use that for get an overview of plugins and versions on all our moodle platforms.