From 5639a84d90a3c2467bd2566dc54b7ae2e2534d08 Mon Sep 17 00:00:00 2001 From: NebelKreis Date: Tue, 19 Nov 2024 14:16:58 +0100 Subject: [PATCH] Feature: Added API route for asset label generation --- routes/api.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/routes/api.php b/routes/api.php index 0581a04682..e183cd1228 100644 --- a/routes/api.php +++ b/routes/api.php @@ -1282,4 +1282,14 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi ], 404); }); // end fallback routes + /** + * Generate label routes + */ + Route::post('hardware/labels', [ + Api\AssetsController::class, + 'getLabels' + ])->name('api.assets.labels'); + // end generate label routes + + }); // end API routes