Edit Course Group
edit course group
Authorizations
AuthorizationstringRequired
Query parameters
moduleIdintegerOptional
id of course group
Body
statestring · enumOptionalPossible values:
state of course group
summarystringOptional
summary of course group
descriptionstringOptional
description of course group
minScoreintegerOptional
minimum assignment score to pass class
priceintegerOptional
price of course group
titlestringOptional
title 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
Responses
200
Response
application/json
post
/v2/module/editPOST /v2/module/edit HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 142
{
"state": "release",
"summary": "text",
"description": "text",
"minScore": 1,
"price": 1,
"title": "text",
"type": "module",
"classroomId": 1,
"cover": "text"
}200
Response
{
"data": {
"description": "text",
"minScore": 1,
"state": "release",
"assignments": 1,
"authorId": 1,
"courses": 1,
"price": 1,
"summary": "text",
"title": "text",
"updated_at": "text",
"classroomId": 1,
"cover": "text",
"editable": true,
"sell": 1,
"slug": "text",
"type": "module",
"created_at": "text",
"id": 1,
"uuid": "text"
},
"message": "success",
"status": true
}Last updated