courses

GET /api/v0/main-frontend/courses/${course.id}/thresholds - get all thresholds for all modules in a course.

Changed on
get/api/v0/main-frontend/courses/{course_id}/thresholds

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

course_idstring uuid required

Course id

Response

Course thresholds

configured_duration_secondsinteger nullable

The explicitly configured threshold in seconds, or None when the module has no threshold row and [Self::default_duration_seconds] applies.

course_module_idstring uuid required
default_duration_secondsinteger required

The threshold applied when none is configured.

minimum_duration_secondsinteger required

The smallest threshold a teacher may save for this module: 0 for small (exempt) modules, otherwise [MINIMUM_CHEATER_THRESHOLD_SECONDS].

Changes