Blame view
api/routes/api.php
2.22 KB
0d8c0f816 initial commit |
1 |
<?php |
0d8c0f816 initial commit |
2 3 4 5 6 7 8 9 10 11 12 13 |
use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | is assigned the "api" middleware group. Enjoy building your API! | */ |
6a40bd062 Comment out keycl... |
14 |
//Route::group(['middleware' => 'auth:api'], function () { |
0d8c0f816 initial commit |
15 |
|
25df08e6c Merged changes fr... |
16 |
Route::get('capec', 'CapecController@index'); |
0d8c0f816 initial commit |
17 18 19 20 |
Route::group(['prefix' => 'v1'], function () { Route::post('adt', 'V1\Partners\AdtController@store'); Route::post('xlsiem', 'V1\Partners\XlsiemController@store'); |
b28322f5b Added VDM endpoint |
21 |
Route::post('vdm', 'V1\Partners\VdmController@store'); |
0d8c0f816 initial commit |
22 |
|
25df08e6c Merged changes fr... |
23 |
Route::group(['prefix' => 'ceptd'], function () { |
0d8c0f816 initial commit |
24 25 26 27 |
Route::get('start', 'V1\Components\CeptdController@start'); Route::get('status', 'V1\Components\CeptdController@status'); Route::get('stop', 'V1\Components\CeptdController@stop'); }); |
25df08e6c Merged changes fr... |
28 |
Route::group(['prefix' => 'mltd'], function () { |
0d8c0f816 initial commit |
29 30 31 32 |
Route::get('start', 'V1\Components\MltdController@start'); Route::get('status', 'V1\Components\MltdController@status'); Route::get('stop/{pid}', 'V1\Components\MltdController@stop'); Route::get('{train_id}/{top}', 'V1\Components\MltdController@train'); |
7dff14cf4 Change OD, MLTD e... |
33 |
Route::get('events/count','V1\Components\MltdController@count'); |
e90472e8b Added events/grou... |
34 |
Route::get('events/group','V1\Components\MltdController@group'); |
7d8c6fcc3 Added new endpoin... |
35 |
Route::get('events/last','V1\Components\MltdController@last'); |
0d8c0f816 initial commit |
36 |
}); |
25df08e6c Merged changes fr... |
37 |
Route::group(['prefix' => 'od'], function () { |
0d8c0f816 initial commit |
38 39 40 41 |
Route::get('start', 'V1\Components\OdController@start'); Route::get('status', 'V1\Components\OdController@status'); Route::get('stop/{pid}', 'V1\Components\OdController@stop'); Route::post('analyze/{pid}', 'V1\Components\OdController@analyze'); |
7dff14cf4 Change OD, MLTD e... |
42 |
Route::get('events/count','V1\Components\OdController@count'); |
e90472e8b Added events/grou... |
43 |
Route::get('events/group','V1\Components\OdController@group'); |
7d8c6fcc3 Added new endpoin... |
44 |
Route::get('events/last','V1\Components\OdController@last'); |
0d8c0f816 initial commit |
45 46 |
}); }); |
0d8c0f816 initial commit |
47 |
|
6a40bd062 Comment out keycl... |
48 |
//}); |