added upload queue notifications

This commit is contained in:
Codex Agent
2025-12-21 12:37:20 +01:00
parent 1e6027f438
commit 6ee40745ca
13 changed files with 566 additions and 114 deletions

View File

@@ -108,6 +108,13 @@ Route::prefix('v1')->name('api.v1.')->group(function () {
->middleware('signed')
->name('photo-shares.asset');
Route::post('/events/{token}/upload', [EventPublicController::class, 'upload'])->name('events.upload');
Route::get('/events/{token}/pending-photos', [EventPublicController::class, 'pendingUploads'])
->name('events.pending-photos');
Route::get('/events/{token}/pending-photos/{photo}/{variant}', [EventPublicController::class, 'pendingPhotoAsset'])
->whereNumber('photo')
->where('variant', 'thumbnail|full')
->middleware('signed')
->name('events.pending-photos.asset');
Route::get('/branding/asset/{path}', [EventPublicController::class, 'brandingAsset'])
->where('path', '.*')
->middleware('signed')