Update a course

PUT /courses/{id}

Path parameters

  • id string Required
application/json

Body Required

Responses

  • Course updated successfully

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
    }
  ]
}