Skip to main content
POST
/
courses
/
{courseId}
/
sections
Create
curl --request POST \
  --url https://api.mapademics.com/v1/courses/{courseId}/sections \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "Fall 2024 - Section A",
  "description": "<string>",
  "instructorId": "<string>",
  "syllabusHref": "<string>"
}'
{
  "id": "<string>",
  "organizationId": "<string>",
  "courseId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "instructorId": "<string>",
  "syllabusHref": "<string>",
  "skills": [
    {
      "skillId": "<string>",
      "skillName": "<string>",
      "level": 3,
      "confidence": 0.5
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

courseId
string
required

Unique identifier for the course

Body

application/json
name
string
required

Section name

Example:

"Fall 2024 - Section A"

description
string | null

Section description

instructorId
string | null

Instructor ID

syllabusHref
string<uri> | null

URL to section syllabus PDF

Response

Section created successfully

id
string
required
courseId
string
required
name
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
organizationId
string
description
string | null
instructorId
string | null
syllabusHref
string<uri> | null
skills
object[]

Extracted skills from syllabus

deletedAt
string<date-time> | null