Appearance
DoCurious API Reference / types / StudentRoster
Interface: StudentRoster
Defined in: types/school.types.ts:136
A student's enrollment record within a school, tracking status and class assignment.
Remarks
Managed by school admins via the roster management page or CSV import. Suspended students retain their data but lose platform access until reinstated.
Extends
Properties
challengesAssigned?
optionalchallengesAssigned:number
Defined in: types/school.types.ts:152
Number of challenges assigned to this student
challengesCompleted?
optionalchallengesCompleted:number
Defined in: types/school.types.ts:154
Number of challenges completed by this student
classId?
optionalclassId:string
Defined in: types/school.types.ts:138
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
enrolledAt
enrolledAt:
string
Defined in: types/school.types.ts:147
gradeLevel?
optionalgradeLevel:string
Defined in: types/school.types.ts:143
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
lastLoginAt?
optionallastLoginAt:string
Defined in: types/school.types.ts:150
Last time the student logged into the platform
reinstatedAt?
optionalreinstatedAt:string
Defined in: types/school.types.ts:158
schoolId
schoolId:
string
Defined in: types/school.types.ts:137
status
status:
"active"|"suspended"|"inactive"|"transferred"|"alumni"
Defined in: types/school.types.ts:146
Enrollment status -- transferred students are read-only historical records, alumni are graduated
studentId?
optionalstudentId:string
Defined in: types/school.types.ts:142
The school's own student identifier (e.g., "S-12345")
suspendedAt?
optionalsuspendedAt:string
Defined in: types/school.types.ts:156
suspendedReason?
optionalsuspendedReason:string
Defined in: types/school.types.ts:157
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified
Inherited from
user?
optionaluser:object
Defined in: types/school.types.ts:161
displayName
displayName:
string
email
email:
string
id
id:
string
userId
userId:
string
Defined in: types/school.types.ts:139