Add guest push notifications and queue alerts
This commit is contained in:
@@ -75,6 +75,10 @@ Route::prefix('v1')->name('api.v1.')->group(function () {
|
||||
Route::post('/events/{token}/notifications/{notification}/dismiss', [EventPublicController::class, 'dismissNotification'])
|
||||
->whereNumber('notification')
|
||||
->name('events.notifications.dismiss');
|
||||
Route::post('/events/{token}/push-subscriptions', [EventPublicController::class, 'registerPushSubscription'])
|
||||
->name('events.push-subscriptions.store');
|
||||
Route::delete('/events/{token}/push-subscriptions', [EventPublicController::class, 'destroyPushSubscription'])
|
||||
->name('events.push-subscriptions.destroy');
|
||||
Route::get('/events/{token}/achievements', [EventPublicController::class, 'achievements'])->name('events.achievements');
|
||||
Route::get('/events/{token}/emotions', [EventPublicController::class, 'emotions'])->name('events.emotions');
|
||||
Route::get('/events/{token}/tasks', [EventPublicController::class, 'tasks'])->name('events.tasks');
|
||||
|
||||
Reference in New Issue
Block a user