Skip to content

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
integer
Required

Request Body

application/json
JSON
{
  
"indexes": [
  
  
"string"
  
]
}

Responses

Successful response

application/json
JSON
{
  
"sections": [
  
  
{
  
  
  
"id": 0
  
  
}
  
],
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation