api
api
courses

Add Member

Kurs-xodim kursga a'zo qo'shadi (o'quvchi/o'qituvchi/ota-ona/xodim…).

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

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

Path parameters

course_idstring required

Request body

full_namestring required
phonestring nullable
emailstring nullable
status'request' | 'student' | 'teacher' | 'supportTeacher' | 'parent' | 'staff' | 'spam'

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

group_idstring nullable
user_idinteger nullable
parent_ofstring 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.