Skip to content
Snippets Groups Projects

Add customizable ordering and new request type for timeslot queryset

Merged Richard Blechinger requested to merge ordering-timeslots into master
All threads resolved!
+ 1
0
@@ -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)
Loading