Applies a partial update to a section, accepting the drip fields that match the course type.
Beyond title and status, a scheduled course also accepts scheduled_at and a structured course accepts reactions_count, which stores the drip delay in days. The two are mutually exclusive: setting a schedule clears the delay and vice versa. Changing either fires its own hook so drip notifications can be rescheduled.
Endpoint
Method:
PATCHPath:
/admin/courses/{course_id}/sections/{section_id}Edition: Core
Controller:
CourseAdminController@patchSectionRoute source:
fluent-community/Modules/Course/Http/course_api.php:48Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseAdminController.phpRequires the course-creator permission and management access to this course.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
PATCH Patch Course Section
Applies a partial update to a section, accepting the drip fields that match the course type.
Controller: CourseAdminController@patchSection
Route source: fluent-community/Modules/Course/Http/course_api.php:48
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Course ID extracted from the URL path.
Section ID extracted from the URL path.
Request Body
Responses
Successful response