Update a course
Path parameters
-
id
string Required
Body
Required
-
name
string -
university
string -
identifier
string -
description
string -
locations
array[string] -
regimens
array[object] -
allowed_sections
array[string] -
exam_subjects
array[object]
PUT
/courses/{id}
curl \
-X PUT localhost:8080/courses/{id} \
-H "Content-Type: application/json" \
-d '{"name":"string","university":"string","identifier":"string","description":"string","locations":["string"],"regimens":[{"label":"string","seats":42}],"related_courses":["string"],"allowed_sections":["string"],"exam_subjects":[{"label":"string","percentage":42}]}'
Request example
{
"name": "string",
"university": "string",
"identifier": "string",
"description": "string",
"locations": [
"string"
],
"regimens": [
{
"label": "string",
"seats": 42
}
],
"related_courses": [
"string"
],
"allowed_sections": [
"string"
],
"exam_subjects": [
{
"label": "string",
"percentage": 42
}
]
}
Request examples
{
"name": "string",
"university": "string",
"identifier": "string",
"description": "string",
"locations": [
"string"
],
"regimens": [
{
"label": "string",
"seats": 42
}
],
"related_courses": [
"string"
],
"allowed_sections": [
"string"
],
"exam_subjects": [
{
"label": "string",
"percentage": 42
}
]
}