Skip to content

Endpoint

  • Method: POST
  • Path: /admin/courses/{course_id}/students
  • Edition: Core
  • Controller: CourseAdminController@addStudent
  • Route source: fluent-community/Modules/Course/Http/course_api.php:26
  • Controller source: fluent-community/Modules/Course/Http/Controllers/CourseAdminController.php

POST Add Course Student

POST
/admin/courses/{course_id}/students

Add Course Student for the FluentCommunity Courses API.

Controller: CourseAdminController@addStudent
Route source: fluent-community/Modules/Course/Http/course_api.php:26

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
{
  
"user_id": "string"
}

Responses

Successful response

application/json
JSON
{
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation