-
Notifications
You must be signed in to change notification settings - Fork 6
Batch Quarter & Year Parameters Are URL-Specific #13
Copy link
Copy link
Open
Description
When making a batch request (/:campus/classes), the quarter and year parameters are passed in the URL (as query parameters) rather than in the class object of the resources. This means that when requesting for multiple classes in different quarters or different years, a separate request is required. It'd make more sense if all of these could be grouped into one batch request.
Ideally, the batch endpoint could take resources like these:
Retaining the same possible combinations: CRN, dept, or dept + course.
I also threw campus in there for the same reason; the endpoint would therefore be /classes.
It'd be more efficient (one batch request for any data in the entire database) and would probably allow for more use-cases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
{ campus: string, CRN: number, year: number, quarter: 'summer' | 'fall' | 'winter' | 'spring' }