api
api
courses

Add Lesson

post/api/v1/courses/{course_id}/lessons

Request

  • Base URL: https://www.faroz.uz (the document declares no server; this is the origin it was published from)
  • URL: https://www.faroz.uz/api/v1/courses/{course_id}/lessons
  • Auth: HTTP bearer

Path parameters

course_idstring required

Request body

titlestring required
descriptionstring nullable
exercise_idsstring[]
is_publicboolean
homework_enabledboolean
homework_descriptionstring nullable

Response

Successful Response

idstring required
titlestring required
descriptionstring nullable
categoriesstring[]
genresstring[]
tagsstring[]
is_activeboolean
student_countinteger
banner_urlstring nullable
author_idinteger nullable
subjectstring nullable
levelstring nullable
age_mininteger
age_maxinteger
ratingnumber
price_typestring
priceinteger
created_atstring required
enrollment_status'request' | 'student' | 'teacher' | 'supportTeacher' | 'parent' | 'staff' | 'spam'

Kurs o'quvchisining roli/holati (COURSES_API.md §3).

can_manageboolean
is_course_adminboolean
has_accessboolean

Changes

No recorded changes to this operation across all 1 revision of this API.