Remote course web service

General plugins (Local) ::: 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.6.0

Moodle 3.6, 3.7, 3.8, 3.9, 3.10
Released: Tuesday, June 16, 2020, 2:02 AM

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.6 (build 2018120300 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
2020061500
Version release name
v3.6.0
Can be updated from
v3.3.0 (2018091200)
Can be updated to
v3.9.0 (2021051900)
Maturity
Stable version
MD5 Sum
50652f1485a35b438b8599cf28639b5f
Supported software
Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.7
  • Latest release for Moodle 3.8
  • The more recent release v3.9.0 (2021051900) exists for Moodle 3.9
  • The more recent release v3.9.0 (2021051900) exists for Moodle 3.10

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
main
VCS tag
v3.6.0

Default installation instructions for plugins of the type General plugins (Local)

  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.