Edit Course Group

edit course group

post
/v2/module/edit

edit course group

Authorizations
AuthorizationstringRequired
Query parameters
moduleIdintegerOptional

id of course group

Body
statestring · enumOptional

state of course group

Possible values:
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 · enumOptional

type of course group

Possible values:
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/edit
POST /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