Skip to content

Endpoint

  • Method: POST
  • Path: /courses/{course_id}/lessons/{lesson_id}/video-watched
  • Edition: Core
  • Controller: CourseController@markLessonVideoWatched
  • Route source: fluent-community/Modules/Course/Http/course_api.php:16
  • Controller source: fluent-community/Modules/Course/Http/Controllers/CourseController.php

POST Post Mark Lesson Video Watched

POST
/courses/{course_id}/lessons/{lesson_id}/video-watched

Post Mark Lesson Video Watched for the FluentCommunity Courses API.

Controller: CourseController@markLessonVideoWatched
Route source: fluent-community/Modules/Course/Http/course_api.php:16

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
integer
Required
lesson_id*

Lesson ID extracted from the URL path.

Type
integer
Required

Request Body

application/json
JSON
{
  
"watched_percent": "string"
}

Responses

Successful response

application/json
JSON
{
  
"message": "string",
  
"is_gated": true,
  
"watched": true
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation