Webservice manage sections

Local plugins ::: local_wsmanagesections
Maintained by corvus albus
Webservice Manage Sections allows you to manage the section structure of a moodle course via REST API. You can create, delete and move sections. Furthermore you can get the sectionsettings (name, summary, visibility, section format options, ... ) and update them.

Webservice manage sections v0.9.6.2

Moodle 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9
Released: Khamis, 6 Ogos 2020, 5:13 AM

Moodle WebService Manage Sections (wsmanagesections)

This local plugin allows you to manage the section structure of a moodle course via REST API. Functions are build analog to the core_course function.

"Webservice manage sections" gives you the following functions: * local_wsmanagesections_create_sections: create sections at a defined position, * local_wsmanagesections_delete_sections: delete sections with given sectionnumber or -id, * local_wsmanagesections_move_section: move a section to a definded position, * local_wsmanagesections_get_sections: get the settings of given sections (name,visibility, format options, ...), * local_wsmanagesections_update_sections: update the settings of given sections (name,visibility, format options, ...).

Configuration

No configuration needed, just install the plugin. Keep in mind to add the functions to the rest-service.

Usage

Use functions over Rest API. Have a look at python sample code at https://github.com/corvus-albus/corvus-albus-moodle-local_wsmanagesections-script-examples.

Requirements

  • Moodle 3.3 or later

Installation

Copy the wsmanagesections folder into your /local directory. Add the functions to your rest-service.

Author

Corvus Albus

Version information

Version build number
2020080500
Version release name
v0.9.6.2
Maturity
Stable version
MD5 Sum
47d76231dc7f7ae66f82cd7d9623e4ff
Supported software
Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
v0.9.6.2

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.