Stores both course welcome banner variants and pre-renders their Markdown descriptions to HTML.
Only the enrolled and not_enrolled views are recognised. The banner is displayed only while the course show_welcome_banner setting is on, which is saved through the course update endpoint rather than here.
Endpoint
Method:
POSTPath:
/admin/courses/{course_id}/welcome-bannerEdition: PRO
Controller:
ProAdminController@updateCourseWelcomeBannerSettingsRoute source:
fluent-community-pro/app/Http/Routes/api.php:65Controller source:
fluent-community-pro/app/Http/Controllers/ProAdminController.phpRequires a course admin for this course, or a WordPress user with
manage_options.Requires FluentCommunity Pro.
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.
POST Post Update Course Welcome Banner Settings
Stores both course welcome banner variants and pre-renders their Markdown descriptions to HTML.
Controller: ProAdminController@updateCourseWelcomeBannerSettings
Route source: fluent-community-pro/app/Http/Routes/api.php:65
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Course ID extracted from the URL path.
Request Body
Responses
Successful response