courses

View sections for a course

Returns info about one or more courses

get/courses/{course_ids}/sections

Path parameters

course_idsstring[] required

One or more comma separated course ids, in format DEPTNNN with up to 2 trailing characters.

Query parameters

semesterstring

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

coursestring

The associated course id

section_idstring

A unique section identifier, always the course_id with a four-digit section number appended to it.

semesternumber

Numeric representation of the semester, in format YYYYMM

numberstring

The other half of section_id

seatsstring

The number of seats for the section.

open_seatsstring

The number of open seats for the section.

waitliststring

The number of people on the waitlist.

instructorsstring[]

An array of professor names for the section

Example response

[
  {
    "course": "ENGL101",
    "section_id": "ENGL101-0101",
    "semester": 201501
  }
]

Changes

Changed in 4 of the 12 revisions of this API.25

    • api operation id getCourseSectionsById removed and replaced with getSectionsForCourse

      api-operation-id-removed

    • added the new optional query request parameter semester

      new-optional-request-parameter

  • b4919cd9fb0d12See the full diff
    • the items/semester response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog