mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Add an API endpoint to download files
This commit is contained in:
parent
194853d860
commit
bbb9145744
|
@ -558,6 +558,13 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
]
|
||||
)->name('api.assets.files');
|
||||
|
||||
Route::get('{asset_id}/file/{file_id}',
|
||||
[
|
||||
Api\AssetFilesController::class,
|
||||
'show'
|
||||
]
|
||||
)->name('api.assets.files');
|
||||
|
||||
});
|
||||
|
||||
Route::resource('hardware',
|
||||
|
|
Loading…
Reference in a new issue