[EPIC] Consolidate API field-names and queries as per changes in the Steering API
Before the final API release, the data model and API will be extended (See [EPIC] [AEP05] Extend Steering data model and API (aura#96 - closed)). Additionally some API extends are required in Steering to keep the experience of the o94 Website (See [EPIC] Web API to meet radio requirements (steering#97)).
API changes and additions
-
Change all API properties to CamelCase (#47) -
CBAs IDs to be implemented via Link Model in a more generic way. Avoid hard-coded media library references in the model -
Provide endpoint to query default Show and Timeslot details, in case a station fallback happens (Compare o94 Random Music workaround on the frontend). This is also known as virtual timeslots (See Virtual Timeslots: Provide mechanics and settin... (#14)). -
Timeslots are currently queried based on dates, offer to query them by count too -
Provide a combined query option for Show and a certain count of Timeslots/Notes plus all of the Hosts for Show and Timeslot. -
Allow ordering of queried timeslots (asc/desc) -
When querying an Episode ( /timeslots
), optionally include the (reduced) Show object (/show
). -
Zero results should not be returned as an error object. Zero results is a valid response for example when querying episodes of a new shows.
Edited by David Trattnig