Skip to content

Endpoint

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

POST Post Duplicate Lesson

POST
/admin/courses/{course_id}/lessons/{lesson_id}/duplicate

Post Duplicate Lesson for the FluentCommunity Courses API.

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

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