Base node route implementation
This commit is contained in:
parent
75b8753533
commit
f24b238e30
3 changed files with 91 additions and 3 deletions
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue