mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Base node route implementation
This commit is contained in:
@@ -62,3 +62,16 @@ Route::group(['prefix' => '/servers'], function () {
|
||||
Route::group(['prefix' => '/locations'], function () {
|
||||
Route::get('/', 'LocationController@index');
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Node Controller Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Endpoint: /api/admin/nodes
|
||||
|
|
||||
*/
|
||||
Route::group(['prefix' => '/nodes'], function () {
|
||||
Route::get('/', 'NodeController@index');
|
||||
Route::get('/{id}', 'NodeController@view');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user