Skip to main content

availabilitySettings

Returns all availability settings: recurring slots and blocker exceptions.

Recurring entries define when a doctor is available (e.g. "Mondays 9–5"). When a recurring slot is removed for a specific date, a blocker is created for that date and time so the calendar does not show the slot. Use this query to drive calendar display and availability logic.

availabilitySettings: [AvailabilitySettings]

Type

AvailabilitySettings object

A single availability setting: either a recurring slot (day of week + time range) or a one-off blocker that hides a recurring slot for a specific date.

  • Recurring: day is set, date is null, blocker is false.
  • Blocker: date is set, blocker is true; the slot is hidden for that date only.