diff --git a/program/views.py b/program/views.py index f42b56fb9b0f616b39f63f4f99c5495b57a31074..480307cefe3b5173cef7b7ab6ae106ab765d18ee 100644 --- a/program/views.py +++ b/program/views.py @@ -509,6 +509,7 @@ class APITimeSlotViewSet(viewsets.ModelViewSet): /timeslots/{pk} eturns the given timeslot (GET) /timeslots/?start={start_date}&end={end_date} returns timeslots within the time range (GET) /shows/{show_pk}/timeslots returns timeslots of the show (GET, POST) + /shows/{show_pk}/timeslots?surrounding returns the 10 nearest timeslots for the current date (GET) /shows/{show_pk}/timeslots/{pk} returns a timeslots by its ID (GET, PUT, DELETE) /shows/{show_pk}/timeslots/?start={start_date}&end={end_date} returns timeslots of the show within the time range /shows/{show_pk}/schedules/{schedule_pk}/timeslots returns all timeslots of the schedule (GET, POST)