Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: repository. repository

From MoodleDocs

The repository enables users to copy files from into Moodle.

New feature
in Moodle 2.3!
When a file from the repository is re-used elsewhere on Moodle, a teacher has the option to make a copy (a new, unconnected version) or to create a shortcut/alias. See Working with files for more details.

Enabling the repository

The repository may be enabled by a site administrator in Settings > Site administration > Modules > Repositories > Manage repositories.

Obtaining an API key

Create a account at

Visit Click on Start developing, then Create new application, fill out the form and 'Save service' to get your API key. For all the settings, Moodle doesn't care what you put in.


There is just one capability, View repository, which is allowed for the default authenticated user role.