Edit Class Course Group
Edit module in class
Authorizations
AuthorizationstringRequired
Query parameters
moduleIdintegerOptional
id of module
Body
classroomIdintegerOptional
id of classroom
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
Responses
200
Response
application/json
post
/v1/class/module/editPOST /v1/class/module/edit HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"classroomId": 1,
"cover": "text",
"description": "text",
"minScore": 1,
"price": 1,
"summary": "text",
"title": "text",
"type": "module"
}200
Response
{
"data": {
"authorId": 1,
"title": "text",
"type": "module",
"uuid": "text",
"cover": "text",
"minScore": 1,
"slug": "text",
"assignments": 1,
"price": 1,
"state": "release",
"courses": 1,
"created_at": "text",
"description": "text",
"id": 1,
"summary": "text",
"updated_at": "text"
},
"message": "success",
"status": true
}Last updated