Skip to content

Endpoint

  • Method: PUT
  • Path: /admin/courses/{course_id}/copy-section
  • Edition: Core
  • Controller: CourseAdminController@copySection
  • Route source: fluent-community/Modules/Course/Http/course_api.php:48
  • Controller source: fluent-community/Modules/Course/Http/Controllers/CourseAdminController.php

PUT Copy Course Section

PUT
/admin/courses/{course_id}/copy-section

Copy Course Section for the FluentCommunity Courses API.

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

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

Request Body

application/json
JSON
{
  
"section_id": "string",
  
"from_course_id": "string"
}

Responses

Successful response

application/json
JSON
{
  
"message": "string",
  
"section": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation