This commit is contained in:
hackerESQ
2025-01-27 20:26:09 -06:00
parent ea22c27710
commit 83d5ad213b
4 changed files with 158 additions and 3 deletions
+2
View File
@@ -20,6 +20,8 @@ Route::middleware(['auth:sanctum'])->name('api.')->group(function () {
// holding
Route::get('/holding', [HoldingController::class, 'index'])->name('holding.index');
Route::get('/holding/{portfolio}/{symbol}', [HoldingController::class, 'show'])->name('holding.show')->scopeBindings();
Route::put('/holding/{portfolio}/{symbol}', [HoldingController::class, 'update'])->name('holding.update')->scopeBindings();
// market data
Route::get('/market-data/{symbol}', [MarketDataController::class, 'show'])->name('market-data.show');