[ 'rest' => [ 'path' => '/rest', 'middleware' => [ Middleware\CheckAuthenticationMiddleware::class, Middleware\LocaleMiddleware::class, Middleware\CrossDomainMiddleware::class, ], 'priority' => 5, ], ], ];