Create Course Group
create course group
Authorizations
AuthorizationstringRequired
Body
descriptionstringOptional
description of course group
priceintegerOptional
price of course group
statestring · enumOptionalPossible values:
state of course group
typestring · enumOptionalPossible values:
type of course group
classroomIdintegerOptional
used if the course group is only in 1 classroom
coverstringOptional
cover url / color code (#000000) of course group
minScoreintegerOptional
minimum assignment score to pass class
summarystringOptional
summary of course group
titlestringOptional
title of course group
Responses
200
Response
application/json
post
/v1/module/createPOST /v1/module/create HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 142
{
"description": "text",
"price": 1,
"state": "release",
"type": "module",
"classroomId": 1,
"cover": "text",
"minScore": 1,
"summary": "text",
"title": "text"
}200
Response
{
"data": {
"summary": "text",
"authorId": 1,
"cover": "text",
"id": 1,
"state": "release",
"courses": 1,
"editable": true,
"sell": 1,
"slug": "text",
"title": "text",
"updated_at": "text",
"uuid": "text",
"assignments": 1,
"description": "text",
"minScore": 1,
"price": 1,
"type": "module",
"classroomId": 1,
"created_at": "text"
},
"message": "success",
"status": true
}Last updated