Design and implement API endpoints "/program/*"
[EPIC] Display virtual timeslots / Music Fallba... (aura#176 - closed)
Parent:Currently we have these endpoints for presenting data on the website:
/program/{year}/{month}/{day}
/program/week
Instead we decided for three /program/*
endpoints. The description of the endpoints are described in #120 (closed).
For all of them it is possible to pass a date-range as query parameters.
Proposal
We outlined some rough ideas in todays meeting:
- The main schema element may be called something like
ProgramEntry
. - Existing objects are nested (e.g.
ProgramEntry.timeslotPartial.{ 'id': 1, ... }
) and may be only rendered partially. - Important IDs of nested objects may also be appearing on the top-level (e.g.
ProgramEntry.timeslotId
), allowing us to omit certain objects. - Here we use the term
ProgramEntry.episode
instead ofnote
. - Check other decisions in today's protocol; open design questions will be discussed when the appear.
The implementation is the basis for these follow up tickets: