api
api
courses

Enroll

Joriy foydalanuvchi kurs guruhiga qo'shiladi: a'zolik SO'ROVI (status=request; kurs admini tasdiqlagach o'quvchiga aylanadi). Ochiq darslar (is_public) uchun a'zolik shart emas.

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

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

Path parameters

course_idstring required

Request body

group_idstring nullable

Response

Successful Response

idstring required
full_namestring required
emailstring nullable
phonestring nullable
avatar_urlstring nullable
mastery_percentinteger
has_debtboolean
status'request' | 'student' | 'teacher' | 'supportTeacher' | 'parent' | 'staff' | 'spam'

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

subscription'active' | 'trial' | 'debtor' | 'expired'

Kurs o'quvchisining obuna (reja) holati (COURSES_API.md §3).

group_idstring nullable
is_course_adminboolean
parent_ofstring nullable
rankinteger nullable
phone_verification_statusstring nullable
enrolled_atstring required

Changes

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