Endpoint
- Method:
PUT - Path:
/courses/{course_id}/lessons/{lesson_id}/completion - Edition: Core
- Controller:
CourseController@updateCompletionLesson - Route source:
fluent-community/Modules/Course/Http/course_api.php:13 - Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseController.php
PUT Update Lesson Completion
PUT
/courses/{course_id}/lessons/{lesson_id}/completion
Update Lesson Completion for the FluentCommunity Courses API.
Controller: CourseController@updateCompletionLesson
Route source: fluent-community/Modules/Course/Http/course_api.php:13
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
lesson_id*
Lesson ID extracted from the URL path.
Type
Requiredinteger
Request Body
application/json
JSON "state": "string"
{
}
Responses
Successful response
application/json
JSON "message": "string", "track": "string", "is_completed": true
{
}