GET /types/{typeId}/slots so the settings editor can list slots

FeatureMediaService
Shipped
August 7, 2026 at 6:33 AM UTC
Author
Kamo
Commit
b653cfe

The settings UI has always fetched this path, but only POST/PUT/DELETE were mapped, so the Availability Slots tab got a 405 and rendered empty. Unlike /slots/available this returns every active slot on the type without filtering by advance-booking notice or child-org restrictions — an admin needs to see the slots they configured, including ones nobody can currently book. Restrictions ride along in each slot's childOrgRestrictions, so this also replaces the /slots/restrictions read the UI was attempting.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing