Box.net APIv1 migration: Difference between revisions
Line 16: | Line 16: | ||
You just need to configure the portfolio settings for the API version 2. | You just need to configure the portfolio settings for the API version 2. | ||
To configure, do as follow: | |||
* Get the ''client ID'' and ''secret'' from your App at [https://app.box.com/developers/services Box.net] | |||
* Navigate to the repository settings: Administration block > Site administration > Plugins > Portfolios > Box.net | |||
* Enter the ''client ID'' and ''secret'' | |||
==Requirement for HTTPS== | ==Requirement for HTTPS== |
Revision as of 08:01, 5 November 2013
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.
To configure, do as follow:
- Get the client ID and secret from your App at Box.net
- Navigate to the repository settings: Administration block > Site administration > Plugins > Repositories > Box.net
- Enter the client ID and secret
Portfolio
You just need to configure the portfolio settings for the API version 2.
To configure, do as follow:
- Get the client ID and secret from your App at Box.net
- Navigate to the repository settings: Administration block > Site administration > Plugins > Portfolios > Box.net
- Enter the client ID and secret
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). A link to this tool can be found on the settings page of the repository. Please be aware that this tool could take several hours to run depending on the number of references and their size.