users

GET `/api/v0/main-frontend/users/my-courses` - Gets all the courses the user has either started or gotten a permission to.

Changed on
get/api/v0/main-frontend/users/my-courses

Request

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

Response

Courses for authenticated user

ai_policy'NotSet' | 'NoAi' | 'PlanningOnly' | 'Limited' | 'FullUse' | 'Required' required

The AI policy a teacher has selected for a course. Drives which variant of the student-facing AI usage notice is shown; NotSet (the default) keeps the generic default message.

ask_marketing_consentboolean required
base_module_completion_requires_n_submodule_completionsinteger required
can_add_chatbotboolean required
chapter_locking_enabledboolean required
cheater_detection_enabledboolean required
closed_additional_messagestring nullable
closed_atstring date-time nullable
closed_course_successor_idstring uuid nullable
content_search_languagestring nullable
copied_fromstring uuid nullable
course_language_group_idstring uuid required
course_material_ai_instructionsboolean nullable
created_atstring date-time required
deleted_atstring date-time nullable
descriptionstring nullable
flagged_answers_skip_manual_review_and_allow_retryboolean required
flagged_answers_thresholdinteger nullable
idstring uuid required
is_draftboolean required
is_joinable_by_code_onlyboolean required
is_test_modeboolean required
is_unlistedboolean required
join_codestring nullable
language_codestring required
namestring required
organization_idstring uuid required
slugstring required
updated_atstring date-time required
can_hideboolean required

Whether the course can be hidden from the "My courses" list. False for courses the user has not enrolled in or has a role in.

Changes

    • ▲

      the response's property type changed from object to no type for status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ○

      added subschema #2 to the response property allOf list for the response status

    • ○

      added the optional property / to the response with the status

    • ○

      added the required property / to the response with the status