Edit Assignment
edit assignment detail
Authorizations
AuthorizationstringRequired
Query parameters
topicSlugintegerRequired
slug of topic / assignment
Body
descriptionstringOptional
assignment description
kindstring · enumOptionalPossible values:
topic kind, must be assignment
typestring · enumOptionalPossible values:
type of assignment
attachmentsstring[]Optional
list of assignment attachments url. Can be document, video, etc.
classroomIdintegerOptional
id of classroom
deadlinestringOptionalExample:
string date with format YYYY-MM-DD HH:ii:ss
2024-01-30 23:59:59externalIdstringOptional
id of form (if type is form) / id of studio (if type is studio)
moduleIdintegerOptional
id of module
titlestringOptional
assignment title
Responses
200
Response
application/json
post
/v2/assignment/base/editPOST /v2/assignment/base/edit?topicSlug=1 HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 178
{
"description": "text",
"kind": "assignment",
"type": "studio",
"attachments": [
"text"
],
"classroomId": 1,
"deadline": "2024-01-30 23:59:59",
"externalId": "text",
"moduleId": 1,
"title": "text"
}200
Response
{
"status": true,
"data": {
"deadline": "2024-01-30 23:59:59",
"description": "text",
"kind": "assignment",
"title": "text",
"type": "studio",
"attachments": [
"text"
],
"classroomId": 1,
"externalId": "text",
"moduleId": 1
},
"message": "success"
}Last updated