courses

GET `/api/v0/main-frontend/courses/:id/language-versions` - Returns all language versions of the same course. # Example Request: ```http GET /api/v0/main-frontend/courses/fd484707-25b6-4c51-a4ff-32d8259e3e47/language-versions HTTP/1.1 Content-Type: application/json ```

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

Request

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

Path parameters

course_idstring uuid required

Course id

Response

Course language versions

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

Changes

    • ○

      added the optional property / to the response with the status

    • ○

      added the required property / to the response with the status

    • ○

      added the required property / to the response with the status