API for returning incidents on a component, including incident_count
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
|
||||
Route::get('components', 'ApiController@getComponents');
|
||||
Route::get('components/{id}', 'ApiController@getComponent');
|
||||
Route::get('components/{id}/incidents', 'ApiController@getComponentIncidents');
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user