Remote course web service

Local plugins ::: local_remote_courses
Maintained by Charles Fulton, Andrew Zito
This local module provides a web service which returns a given user's courses based on username.

Remote course web service v3.1.0

Moodle 3.1, 3.2, 3.3, 3.4
Released: Friday, 4 August 2017, 8:53 PM

Remote course web service

Build Status

This local module provides a web service which returns a given user's courses based on username. It returns the courses sorted by access time, with the most recently-accessed course at the top. You may also configure it to return term information. The standard use case is to create deep links to courses in one Moodle installation in another Moodle installation.

Configuration

To use this service you will need to create the following:

  1. A web service on a Moodle installation
  2. A user with sufficient permissions to use the web service
  3. A token for that user

See Using web services in the Moodle documentation for information about creating and enabling web services. The user will need the following capabilities in addition to whichever protocol you enable:

  • moodle/course:view
  • moodle/course:viewhiddencourses
  • moodle/course:viewparticipants

There is a setting for extracting a term code from the course idnumber using a regular expression. For example, the regular expression /[0-9]+\.([0-9]+)/ would extract "201610" from "999999.201610".

Requirements

  • Moodle 3.1 (build 2016052300 or later)

Installation

Copy the remote_courses folder into your /local directory and visit your Admin Notification page to complete the installation.

Author

Charles Fulton (fultonc@lafayette.edu)

Version information

Version build number
2017080300
Version release name
v3.1.0
Can be updated from
v1.1.0 (2016071600), v1.2.0 (2016080200)
Can be updated to
v3.3.0 (2018091200)
Maturity
Stable version
MD5 Sum
6f6f76305078b2084ea5c4d207542844
Supported software
Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
v3.1.0

Default installation instructions for plugins of the type Local plugins

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation.