mirror of
https://github.com/nextcloud/integration_moodle.git
synced 2025-12-17 21:02:05 +01:00
20 lines
692 B
PHP
20 lines
692 B
PHP
<?php
|
|
/**
|
|
* Nextcloud - Moodle
|
|
*
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later. See the COPYING file.
|
|
*
|
|
* @author Julien Veyssier <eneiluj@posteo.net>
|
|
* @copyright Julien Veyssier 2020
|
|
*/
|
|
|
|
return [
|
|
'routes' => [
|
|
['name' => 'config#setConfig', 'url' => '/config', 'verb' => 'PUT'],
|
|
['name' => 'moodleAPI#getNotifications', 'url' => '/notifications', 'verb' => 'GET'],
|
|
['name' => 'moodleAPI#getMoodleUrl', 'url' => '/url', 'verb' => 'GET'],
|
|
['name' => 'moodleAPI#getMoodleAvatar', 'url' => '/avatar', 'verb' => 'GET'],
|
|
['name' => 'moodleAPI#getToken', 'url' => '/get-token', 'verb' => 'POST'],
|
|
]
|
|
];
|