api
api
courses

Subscribe

Pulli kursga obuna: narx hamyondan yechiladi (komissiyadan keyin muallifga), foydalanuvchi darhol kurs o'quvchisi bo'ladi.

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

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}/subscribe
  • Auth: HTTP bearer

Path parameters

course_idstring required

Request body

period'week' | 'month' | 'month3' | 'month6' | 'full' required
group_idstring 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.