mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-16 16:12:09 +03:00
35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Rest;
|
|
|
|
use Shlinkio\Shlink\Rest\Action;
|
|
|
|
return [
|
|
|
|
'routes' => [
|
|
Action\AuthenticateAction::getRouteDef(),
|
|
|
|
// Short codes
|
|
Action\ShortCode\CreateShortCodeAction::getRouteDef([
|
|
Middleware\ShortCode\CreateShortCodeContentNegotiationMiddleware::class,
|
|
]),
|
|
Action\ShortCode\SingleStepCreateShortCodeAction::getRouteDef([
|
|
Middleware\ShortCode\CreateShortCodeContentNegotiationMiddleware::class,
|
|
]),
|
|
Action\ShortCode\EditShortCodeAction::getRouteDef(),
|
|
Action\ShortCode\ResolveUrlAction::getRouteDef(),
|
|
Action\ShortCode\ListShortCodesAction::getRouteDef(),
|
|
Action\ShortCode\EditShortCodeTagsAction::getRouteDef(),
|
|
|
|
// Visits
|
|
Action\Visit\GetVisitsAction::getRouteDef(),
|
|
|
|
// Tags
|
|
Action\Tag\ListTagsAction::getRouteDef(),
|
|
Action\Tag\DeleteTagsAction::getRouteDef(),
|
|
Action\Tag\CreateTagsAction::getRouteDef(),
|
|
Action\Tag\UpdateTagAction::getRouteDef(),
|
|
],
|
|
|
|
];
|