Merge branch 'fix/past-slots-unavailable'

# Conflicts:
#	docs/api/appointment.md
This commit is contained in:
hamed
2026-06-15 18:28:06 +03:30
3 changed files with 123 additions and 3 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ Get all appointment slots (available and booked) for a doctor on a specific date
}
```
> Returns **all** slots grouped by work shift. `is_available: false` means the slot has an active (pending/confirmed) appointment. Session boundaries match the doctor's `WeeklySchedule` or date override config.
> Returns **all** slots grouped by work shift. `is_available: false` means the slot is either already booked (active pending/confirmed appointment) **or** its start time has already passed (for today's date). Session boundaries match the doctor's `WeeklySchedule` or date override config.
>
> Returns an **empty** `sessions` array when the date is a holiday, a closed date override, in the past, beyond the doctor's booking window, or when online booking is disabled (see `meta` in `appointment-settings.md`).