Edit Course

edit course

post
/v2/module/topic/edit

edit course

Authorizations
AuthorizationstringRequired
Query parameters
slugstringOptional

slug of course

Body
contentstringOptional

content of course

kindstring · enumOptional

kind of course

Possible values:
typestring · enumOptional

type of course

Possible values:
classroomIdintegerOptional

used if the course is only in 1 classroom

descriptionstringOptional

description of course

moduleIdintegerOptional

course group id of course

slugstringOptional

slug of course

statestring · enumOptional

state of course

Possible values:
titlestringOptional

title of course

Responses
200

Response

application/json
post
/v2/module/topic/edit
POST /v2/module/topic/edit HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 147

{
  "content": "text",
  "kind": "course",
  "type": "editor",
  "classroomId": 1,
  "description": "text",
  "moduleId": 1,
  "slug": "text",
  "state": "release",
  "title": "text"
}
200

Response

{
  "data": {
    "description": "text",
    "authorId": 1,
    "classroomId": 1,
    "content": "text",
    "index": 1,
    "type": "editor",
    "uuid": "text",
    "contentId": 1,
    "editable": true,
    "id": 1,
    "title": "text",
    "created_at": "text",
    "kind": "course",
    "moduleId": 1,
    "slug": "text",
    "state": "release",
    "updated_at": "text"
  },
  "message": "success",
  "status": true
}

Last updated