diff --git a/routes/api.php b/routes/api.php index 5bcf418c5e..d65fe16663 100644 --- a/routes/api.php +++ b/routes/api.php @@ -716,6 +716,13 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi 'assets' ] )->name('api.locations.viewassets'); + + Route::get('{location}/accessories/assigned', + [ + Api\LocationsController::class, + 'assignedAccessories' + ] + )->name('api.locations.assigned_accessories'); });