Skip to content

Endpoint

  • Method: PATCH
  • Path: /admin/courses/{course_id}/lessons/{lesson_id}
  • Edition: Core
  • Controller: CourseAdminController@patchLesson
  • Route source: fluent-community/Modules/Course/Http/course_api.php:52
  • Controller source: fluent-community/Modules/Course/Http/Controllers/CourseAdminController.php

PATCH Patch Course Lesson

PATCH
/admin/courses/{course_id}/lessons/{lesson_id}

Patch Course Lesson for the FluentCommunity Courses API.

Controller: CourseAdminController@patchLesson
Route source: fluent-community/Modules/Course/Http/course_api.php:52

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

Responses

Successful response

application/json
JSON
{
  
"message": "string",
  
"lesson": {
  
  
"id": 0
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation