All routes: moved from /api/v1/scheduling/… to /api/v1/scheduling/{workspaceId}/… and need a bearer token
with workspace:schedules:view (reads) or workspace:schedules:manage (changes) in that workspace. Action:
add the workspace ID to every path and give your users a role with those permissions.
Slots are now built on programs and media: POST /slots takes channelId, type, startTime and either
programId or a program (title, description, mediaId). The end time is computed from the media's duration.
title, description, genre, posterUrl and endTime are no longer accepted on a slot. Action: create or
choose a program and send its media. Read the title from program.title.
Program guide responses: data is an array of channel rows for GET /epg, and a single row for
GET /epg/{id}, with channelId, channelName, channelSid and slots. GET /epg no longer returns a date
wrapper or a hint. Action: read the array in data.
PUT /slots/{id} changes only status and startTime.
The genre and search filters of GET /slots were removed with those fields. Action: filter on your side.