Creating a student in SkillSync does more than persist a database record. The moment the document is saved, the server calls the Codeforces API using the supplied handle to fetch the student’s current rating, rank, max rating, full contest history, and up to 10,000 recent submissions. The fully synced object is what gets returned in the response — not the bare record with default zeros.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/aakash811/Student-Progress-Tracker/llms.txt
Use this file to discover all available pages before exploring further.
Request
Body parameters
The student’s full name.
The student’s email address. Must be unique across all student records — a duplicate will result in a
400 error.The student’s phone number.
The student’s Codeforces username. Must correspond to a real account on codeforces.com so that the sync can populate rating and contest data.
Example
Response
Returns201 Created with the synced student object. Note that currRating, rank, maxRating, contestData, and submissions are populated from Codeforces — not the schema defaults.
Errors
| Status | Body | Cause |
|---|---|---|
400 Bad Request | { "error": "..." } | Validation failed (e.g., missing required field, duplicate email, Mongoose schema error). |
The Codeforces handle must exist on codeforces.com. If the handle is invalid or the Codeforces API is temporarily unavailable, the student document is still created and saved — but
currRating, maxRating, rank, contestData, and submissions may remain at their default empty values until the next scheduled sync.