| 123456789101112131415161718192021222324252627282930 |
- <?php
- use Opentalent\OtAdmin\Http\ApiController;
- // Defines the routes used to trigger the admin actions
- // @see https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/BackendRouting/Index.html
- return [
- // Create a new organization's website
- 'site_create' => [
- 'path' => '/otadmin/site/create',
- 'target' => ApiController::class . '::createSiteAction',
- 'access' => 'public'
- ],
- 'site_delete' => [
- 'path' => '/otadmin/site/delete',
- 'target' => ApiController::class . '::deleteSiteAction',
- 'access' => 'public'
- ],
- 'site_undelete' => [
- 'path' => '/otadmin/site/undelete',
- 'target' => ApiController::class . '::undeleteSiteAction',
- 'access' => 'public'
- ],
- 'site_update' => [
- 'path' => '/otadmin/site/update',
- 'target' => ApiController::class . '::updateSiteConstantsAction',
- 'access' => 'public'
- ],
- ];
|