Blame view
api/routes/api.php
1.89 KB
0d8c0f816 initial commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<?php use Illuminate\Http\Request; 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! | */ |
0d8c0f816 initial commit |
16 |
Route::group(['middleware' => 'auth:api'], function () { |
0d8c0f816 initial commit |
17 |
|
25df08e6c Merged changes fr... |
18 |
Route::get('capec', 'CapecController@index'); |
0d8c0f816 initial commit |
19 20 21 22 |
Route::group(['prefix' => 'v1'], function () { Route::post('adt', 'V1\Partners\AdtController@store'); Route::post('xlsiem', 'V1\Partners\XlsiemController@store'); |
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'); |
25df08e6c Merged changes fr... |
33 |
Route::get('events/last/{x}','V1\Components\MltdController@last'); |
0d8c0f816 initial commit |
34 |
}); |
25df08e6c Merged changes fr... |
35 |
Route::group(['prefix' => 'od'], function () { |
0d8c0f816 initial commit |
36 37 38 39 |
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'); |
25df08e6c Merged changes fr... |
40 |
Route::get('events/last/{x}','V1\Components\OdController@last'); |
0d8c0f816 initial commit |
41 42 |
}); }); |
0d8c0f816 initial commit |
43 |
|
25df08e6c Merged changes fr... |
44 |
}); |