Sync Webservice

General plugins (Local) ::: local_sync_service
Maintained by Daniel Schröter
Moodle plugin for extending the Moodle Web Service API for remote course module creation and course file synchronisation.
Latest release:
33 sites
184 downloads
6 fans
Current versions available: 1

This plugin for Moodle (type: local) adds serveral functions to the Moodle Web Service API. Those fuctions allow users and external services to remotely create and move new course modules. Furthermore an external service (called "Course Sync Extension Service") containing the newly added functions and other core web service functions, which are helpful to use the added functions, is added.

The plugin is developed to work with the desktop application MoodleSync, used for file synchronization between a local directory and the learning platform Moodle.

Following functions are added:

Function Description Note
local_course_add_new_course_module_url Add course module URL Since version 2.0.0: added parameter "visible" and "availability" (->time).
local_course_add_new_course_module_resource Add course module Resource File needs to be uploaded with "/webservice/upload.php" web service call. Since version 2.0.0: added parameter "visible" and "availability" (->time).
local_course_add_new_course_module_directory Add course modul Folder Files need to be uploaded with "/webservice/upload.php" web service call.
local_course_add_files_to_directory Add files to an existing folder Files need to be uploaded with "/webservice/upload.php" web service call.
local_course_move_module_to_specific_position Move a module to a dedicated position
local_course_add_new_section Create and position a new course section Since version 2.0.0

Usage:
* Tested on Moodle versions 3.11.4, 4.0.2 and 4.1.2.
* Usage of the "REST (returning JSON)"- web service protocol.
* To install the plugin, you may use the in-build plugin installation interface. Or you can unzip the archive and copy the folder "sync_service" into the directory "\server\moodle\local". Afterwards restart Moodle, log-in as an admin and follow the installation process.
* To use the added fuctions, either enable and use the added external service (file upload and file download must be allowed) or create a new external service.

Screenshots

Screenshot #0

Contributors

Daniel Schröter (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
Please login to post comments