-
Notifications
You must be signed in to change notification settings - Fork 9
/
web.php
35 lines (28 loc) · 1.27 KB
/
web.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
// Protected API routes
$router->group([
'prefix' => 'api',
], function ($router) {
// Dashboard Routes...
$router->get('/stats', 'DashboardStatsController@index');
// Workload Routes...
$router->get('/workload', 'WorkloadController@index');
// Master Supervisor Routes...
$router->get('/masters', 'MasterSupervisorController@index');
// Monitoring Routes...
$router->get('/monitoring', 'MonitoringController@index');
$router->post('/monitoring', 'MonitoringController@store');
$router->get('/monitoring/{tag}', 'MonitoringController@paginate');
$router->delete('/monitoring/{tag}', 'MonitoringController@destroy');
// Job Metric Routes...
$router->get('/metrics/jobs', 'JobMetricsController@index');
$router->get('/metrics/jobs/{id}', 'JobMetricsController@show');
// Queue Metric Routes...
$router->get('/metrics/queues', 'QueueMetricsController@index');
$router->get('/metrics/queues/{id}', 'QueueMetricsController@show');
// Job Routes...
$router->get('/jobs/recent', 'RecentJobsController@index');
$router->get('/jobs/failed', 'FailedJobsController@index');
$router->get('/jobs/failed/{id}', 'FailedJobsController@show');
$router->post('/jobs/retry/{id}', 'RetryController@store');
});