Moves the volunteer/heatmap and volunteer/rate endpoints to the submission view.
This has the advantage that (a) we can calculate rates and heatmaps for all volunteers together, instead of only a single volunteer and (b) we can apply all usual submission filters. Notably, we can now filter by time, which will be necessary for the Buttercup commands.
For example, users will be able to get their heatmap for the last week only.
Relevant issue: Closes #195
Description:
Moves the
volunteer/heatmap
andvolunteer/rate
endpoints to thesubmission
view.This has the advantage that (a) we can calculate rates and heatmaps for all volunteers together, instead of only a single volunteer and (b) we can apply all usual submission filters. Notably, we can now filter by time, which will be necessary for the Buttercup commands. For example, users will be able to get their heatmap for the last week only.
Checklist: