API v1

Try It (headers, query, uploads)

Query params are added below; no need to append here.

Headers

KeyValueActions
Default auth & content-type added automatically where appropriate.

Query Parameters

KeyValueActions
These will be serialized into the URL query string.

Body

Builds cURL for the current method/body mode.

Response

// Response will appear here

Examples

# Create class
POST /v1/classes
{ "name": "Biology HL", "cohort": "2025" }

# Upload submission file (multipart)
POST /v1/submissions
- form-data:
  file: (binary)
  taskId: tsk_123
  studentId: stu_456

About

This placeholder mimics Swagger’s interactivity in a single file. “Mock Mode” returns sample payloads without a network request. Disable it to send real requests (subject to CORS in CodePen).