Endpoint
- Method:
POST - Path:
/admin/courses/{course_id}/sections - Edition: Core
- Controller:
CourseAdminController@createSection - Route source:
fluent-community/Modules/Course/Http/course_api.php:38 - Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseAdminController.php
POST Create Course Section
POST
/admin/courses/{course_id}/sections
Create Course Section for the FluentCommunity Courses API.
Controller: CourseAdminController@createSection
Route source: fluent-community/Modules/Course/Http/course_api.php:38
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
Request Body
application/json
JSON "title": "string"
{
}
Responses
Successful response
application/json
JSON "message": "string", "section": { "id": 0 }
{
}