coreLauncherCreateWithHttpInfo method
POST: Launch a new edX platform Params: user_id: The ID of the requesting user (required) key: The Deep LMS subdomain (required) name: The edX platform name ("optional") org: The edX organization ("optional") lms_url: LMS URL ("optional") cms_url: CMS URL ("optional") portal_url: Portal URL ("optional")
Note: This method returns the HTTP Response.
Parameters:
- LauncherViewPostRequest launcherViewPostRequest (required):
Implementation
Future<Response> coreLauncherCreateWithHttpInfo(LauncherViewPostRequest launcherViewPostRequest,) async {
// ignore: prefer_const_declarations
final path = r'/api/core/launcher/';
// ignore: prefer_final_locals
Object? postBody = launcherViewPostRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}