nextcloud-gpodder/appinfo/routes.php

22 lines
1.0 KiB
PHP
Raw Normal View History

<?php
/**
* Create your routes in here. The name is the lowercase name of the controller
* without the controller part, the stuff after the hash is the method.
* e.g. page#index -> OCA\GPodderSync\Controller\PageController->index()
*
* The controller class has to be registered in the application.php file since
* it's instantiated in there
*/
return [
'routes' => [
['name' => 'episode_action#create', 'url' => '/episode_action/create', 'verb' => 'POST'],
['name' => 'episode_action#list', 'url' => '/episode_action', 'verb' => 'GET'],
['name' => 'subscription_change#list', 'url' => '/subscriptions', 'verb' => 'GET'],
['name' => 'subscription_change#create', 'url' => '/subscription_change/create', 'verb' => 'POST'],
2022-07-17 10:33:43 +00:00
['name' => 'personal_settings#metrics', 'url' => '/personal_settings/metrics', 'verb' => 'GET'],
['name' => 'personal_settings#podcastData', 'url' => '/personal_settings/podcast_data', 'verb' => 'GET'],
2022-09-17 19:03:14 +00:00
['name' => 'personal_settings#imageProxy', 'url' => '/personal_settings/image_proxy', 'verb' => 'GET'],
]
];