Edit Class Course
Edit course in class
Authorizations
AuthorizationstringRequired
Query parameters
topicIdintegerOptional
id of topic / course
Body
statestring · enumOptionalPossible values:
state of course
titlestringOptional
title of course
typestring · enumOptionalPossible values:
content type
classroomIdintegerOptional
id of classroom
contentstringOptional
html content
descriptionstringOptional
description of course
moduleIdintegerOptional
id of module
Responses
200
Response
application/json
post
/v1/class/topic/editPOST /v1/class/topic/edit HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 117
{
"state": "release",
"title": "text",
"type": "editor",
"classroomId": 1,
"content": "text",
"description": "text",
"moduleId": 1
}200
Response
{
"data": {
"classroomId": 1,
"updated_at": "text",
"moduleId": 1,
"title": "text",
"description": "text",
"id": 1,
"created_at": "text",
"editable": true,
"slug": "text",
"type": "editor",
"uuid": "text",
"content": "text",
"contentId": 1,
"kind": "course",
"state": "release",
"authorId": 1,
"index": 1
},
"message": "success",
"status": true
}Last updated