Create Class Course Group
Create module in class
Authorizations
AuthorizationstringRequired
Body
coverstringOptional
hex (#000000) or image link for module cover
descriptionstringOptional
description of module
minScoreintegerOptional
minimum score to be pass class
priceintegerOptional
price of module
summarystringOptional
short description of module
titlestringOptional
title of module
typestring · enumOptionalPossible values:
type of module
classroomIdintegerOptional
id of classroom
Responses
200
Response
application/json
post
/v1/class/module/createPOST /v1/class/module/create HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"cover": "text",
"description": "text",
"minScore": 1,
"price": 1,
"summary": "text",
"title": "text",
"type": "module",
"classroomId": 1
}200
Response
{
"data": {
"id": 1,
"minScore": 1,
"title": "text",
"price": 1,
"state": "release",
"updated_at": "text",
"uuid": "text",
"courses": 1,
"cover": "text",
"created_at": "text",
"slug": "text",
"summary": "text",
"type": "module",
"assignments": 1,
"authorId": 1,
"description": "text"
},
"message": "success",
"status": true
}Last updated