Endpoint for single component
This commit is contained in:
@@ -4,5 +4,6 @@ Route::api(['version' => 'v1', 'prefix' => 'api'], function()
|
||||
{
|
||||
|
||||
Route::get('components', 'ApiController@getComponents');
|
||||
Route::get('components/{id}', 'ApiController@getComponent');
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user