Skip to content
Snippets Groups Projects

Refactor endpoint /program/year/month/day

Merged Chris Pastl requested to merge refactor-playout-endpoint-210 into main
1 file
+ 11
0
Compare changes
  • Side-by-side
  • Inline
+ 11
0
@@ -143,6 +143,17 @@ def gap_entry(*, gap_start: datetime, gap_end: datetime) -> dict:
}
@extend_schema_view(
create=extend_schema(summary="List schedule for a specific date."),
list=extend_schema(
summary="List schedule for a specific date.",
description=(
"Returns a list of the schedule for a specific date."
"Expects parameters `year` (int), `month` (int), and `day` (int) as url components."
"e.g. /program/2024/01/31/"
),
),
)
class APIDayScheduleViewSet(
mixins.ListModelMixin,
viewsets.GenericViewSet,
Loading