mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-22 23:23:42 -06:00
37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Rest;
|
|
|
|
return [
|
|
|
|
'routes' => [
|
|
Action\AuthenticateAction::getRouteDef(),
|
|
Action\HealthAction::getRouteDef(),
|
|
|
|
// Short codes
|
|
Action\ShortUrl\CreateShortUrlAction::getRouteDef([
|
|
Middleware\ShortUrl\CreateShortUrlContentNegotiationMiddleware::class,
|
|
]),
|
|
Action\ShortUrl\SingleStepCreateShortUrlAction::getRouteDef([
|
|
Middleware\ShortUrl\CreateShortUrlContentNegotiationMiddleware::class,
|
|
]),
|
|
Action\ShortUrl\EditShortUrlAction::getRouteDef(),
|
|
Action\ShortUrl\DeleteShortUrlAction::getRouteDef(),
|
|
Action\ShortUrl\ResolveShortUrlAction::getRouteDef(),
|
|
Action\ShortUrl\ListShortUrlsAction::getRouteDef(),
|
|
Action\ShortUrl\EditShortUrlTagsAction::getRouteDef(),
|
|
|
|
// Visits
|
|
Action\Visit\GetVisitsAction::getRouteDef(),
|
|
|
|
// Tags
|
|
Action\Tag\ListTagsAction::getRouteDef(),
|
|
Action\Tag\DeleteTagsAction::getRouteDef(),
|
|
Action\Tag\CreateTagsAction::getRouteDef(),
|
|
Action\Tag\UpdateTagAction::getRouteDef(),
|
|
],
|
|
|
|
];
|