List of sections
Changed onReturns paginated list of sections
Request
- Base URLhttps://api.umd.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
a comma-separated list of course properties. Defaults to ASCENDING order, use a - (minus) prefix for DESCENDING order. For example, ?sort=course_id,-credits sorts the results ASCENDING by course_id and DESCENDING by credits.
For paginated responses, the page to view. 1-indexed. Defaults to 1 if omitted.
Endpoints that return a large amount of items are paginated to 30 items by default. You can use this parameter to set a page size up to 100.
7 or 8 digit course id. See the course object for more info.
Number of total seats in a section, with optional comparator, separated by a pipe. Valid comparators are eq, leq, lt, gt, geq, neq.
Number of open seats in a section, with optional comparator, separated by a pipe. Valid comparators are eq, leq, lt, gt, geq, neq.
Number of people on the waitlist for a class, with optional comparator, separated by a pipe. Valid comparators are eq, leq, lt, gt, geq, neq.
6-digit semester ID to search, with optional comparator, separated by a pipe. Valid comparators are eq, leq, lt, gt, geq, neq.
Response
Successful Operation
Example response
[
{
"course": "ENGL101",
"section_id": "ENGL101-0101",
"semester": 201501
}
]Changes
- info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterper_page - info
added the new optional
queryrequest parametersort
- info
- info
added the new optional
queryrequest parametercourse_id - info
added the new optional
queryrequest parameteropen_seats - info
added the new optional
queryrequest parameterseats - info
added the new optional
queryrequest parametersemester - info
added the new optional
queryrequest parameterwaitlist
- info