Endpoint
- Method:
PATCH - Path:
/admin/courses/{course_id}/sections/indexes - Edition: Core
- Controller:
CourseAdminController@resetSectionIndexes - Route source:
fluent-community/Modules/Course/Http/course_api.php:39 - Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseAdminController.php
PATCH Reindex Course Sections
PATCH
/admin/courses/{course_id}/sections/indexes
Reindex Course Sections for the FluentCommunity Courses API.
Controller: CourseAdminController@resetSectionIndexes
Route source: fluent-community/Modules/Course/Http/course_api.php:39
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 "indexes": [ "string" ]
{
}
Responses
Successful response
application/json
JSON "sections": [ { "id": 0 } ], "message": "string"
{
}