More work on the API utilizing Laravel 5.5 exception rendering
Also corrects API format to maintain JSONAPI spec
This commit is contained in:
parent
f30f4b45ba
commit
54b6fb5ebd
28 changed files with 464 additions and 391 deletions
|
@ -17,3 +17,8 @@ Route::group(['prefix' => '/users'], function () {
|
|||
|
||||
Route::delete('/{user}', 'Users\UserController@delete')->name('api.admin.user.delete');
|
||||
});
|
||||
|
||||
Route::group(['prefix' => '/nodes'], function () {
|
||||
Route::get('/', 'Nodes\NodeController@index')->name('api.admin.node.list');
|
||||
Route::get('/{node}', 'Nodes\NodeController@view')->name('api.admin.node.view');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue