Endpoint
- Method:
POST - Path:
/courses/{course_id}/enroll - Edition: Core
- Controller:
CourseController@enrollCourse - Route source:
fluent-community/Modules/Course/Http/course_api.php:12 - Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseController.php
POST Enroll Course
POST
/courses/{course_id}/enroll
Enroll Course for the FluentCommunity Courses API.
Controller: CourseController@enrollCourse
Route source: fluent-community/Modules/Course/Http/course_api.php:12
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Parameters
Path Parameters
course_id*
Course ID extracted from the URL path.
Type
Requiredinteger
Responses
Successful response
application/json
JSON "message": "string", "track": "string"
{
}