feat: endpoint notifikasi unread count (7 hari)

This commit is contained in:
Novy San87
2026-08-06 18:34:26 +07:00
parent d3825df488
commit 8f866737a0
2 changed files with 25 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ Route::middleware('auth:sanctum')->prefix('parent')->group(function () {
// Notifikasi & perangkat
Route::get('/notifications', [ParentNotificationController::class, 'index'])->name('api.parent.notifications');
Route::get('/notifications/unread', [ParentNotificationController::class, 'unreadCount'])->name('api.parent.notifications.unread');
Route::get('/school-informations', [ParentSchoolInformationController::class, 'index'])->name('api.parent.school-informations');
Route::get('/academic-calendar', [ParentSchoolInformationController::class, 'calendar'])->name('api.parent.academic-calendar');
Route::post('/devices', [ParentNotificationController::class, 'registerDevice'])->name('api.parent.devices');