2016-07-19 18:07:59 +03:00
|
|
|
<?php
|
2017-10-12 11:13:20 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
use Shlinkio\Shlink\Rest\Action;
|
2016-07-19 18:07:59 +03:00
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
'routes' => [
|
2018-05-01 19:28:37 +03:00
|
|
|
Action\AuthenticateAction::getRouteDef(),
|
2017-07-07 14:12:45 +03:00
|
|
|
|
|
|
|
// Short codes
|
2018-05-03 13:19:51 +03:00
|
|
|
Action\CreateShortCodeAction::getRouteDef(),
|
2018-05-03 14:21:43 +03:00
|
|
|
Action\ShortCode\SingleStepCreateShortCodeAction::getRouteDef(),
|
2018-05-01 19:28:37 +03:00
|
|
|
Action\EditShortCodeAction::getRouteDef(),
|
|
|
|
Action\ResolveUrlAction::getRouteDef(),
|
2018-05-03 13:19:51 +03:00
|
|
|
Action\ListShortCodesAction::getRouteDef(),
|
|
|
|
Action\EditShortCodeTagsAction::getRouteDef(),
|
2017-07-07 14:12:45 +03:00
|
|
|
|
|
|
|
// Visits
|
2018-05-01 19:28:37 +03:00
|
|
|
Action\GetVisitsAction::getRouteDef(),
|
2017-07-07 14:12:45 +03:00
|
|
|
|
|
|
|
// Tags
|
2018-05-01 19:28:37 +03:00
|
|
|
Action\Tag\ListTagsAction::getRouteDef(),
|
|
|
|
Action\Tag\DeleteTagsAction::getRouteDef(),
|
|
|
|
Action\Tag\CreateTagsAction::getRouteDef(),
|
|
|
|
Action\Tag\UpdateTagAction::getRouteDef(),
|
2016-07-19 18:07:59 +03:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|