Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Box.net APIv1 migration.

Box.net APIv1 migration

From MoodleDocs
Revision as of 07:43, 1 November 2013 by Frédéric Massart (talk | contribs)

As of the 14th of December 2013, the API that Moodle uses to interact with Box.net (repository, portfolio) is reaching its end of life. Box.net now recommends using their API version 2. There are a few implications related to the migration to their new API:

After upgrade to 2.6

Repository

After the upgrade, and without doing anything, all the files that were referenced from Box.net will still be accessible until the 14th of December. But it will not be possible to import new files until you configure the repository for the API version 2.

Portfolio

You just need to configure the portfolio settings for the API version 2.

Requirement for HTTPS

As compared to the version 1, the API version 2 requires your website to use HTTPS for the authentication process.

End of alias/shortcuts

With the initial version of the API, we could use a direct link to a file to use a reference in Moodle. But after the migration it is not possible any more, the repository will not support references any more.

To be done before the 14th of December 2013

We have provided a tool that will convert all the references you had in Moodle to real files (true copies). This tool can be found by browsing the navigation block to 'Plugins > Repositories > Box.net APIv1 migration'. There is also a CLI script 'admin/tool/boxnetapiv1migration/cli/migrate.php'. Please be aware that this tool could take several hours to run depending on the number of references and their size.