API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · unit_progress

Unit Progress Schema

Schema-ID
unit_progress
Collection
unit_progress
Permissions
  • Lezenunit_progress_view
  • Aanmakenunit_progress_create
  • Wijzigenunit_progress_edit
  • Verwijderenunit_progress_delete
Relaties

Velden

Unit Progress Schema

unit_progress4 permissions

Schema for tracking student progress per learning unit

enrollmentIdstringvereist

ID of the student enrollment

min. 1 tekensread-only
learningUnitIdstringvereist

ID of the learning unit

min. 1 tekens
lessonIdstringvereist

ID of the parent lesson/section (denormalized)

min. 1 tekens
courseIdstringvereist

ID of the parent course (denormalized)

min. 1 tekens
userIdstringvereist

ID of the student

min. 1 tekensread-only
courseTenantIdstringoptioneel

Platform courses only (ADR 1074, Weg b): tenant holding the course content. The record itself lives in the learner tenant.

read-onlynullable
statusstringvereist

Current progress status for this unit

not_startedin_progresscompletedrequires_approval
read-only
videoProgressSecsnumberoptioneel

Furthest video position watched in seconds

≥ 0nullable
videoTotalSecsnumberoptioneel

Total video duration in seconds

≥ 0nullable
textScrollPercentnumberoptioneel

Furthest scroll depth reached in text content (0-100)

0 – 100nullable
viewedSlideIdsstring[]optioneel

Stable ids of the slides the learner has viewed (type: slides units)

nullable
timeSpentSecsnumberoptioneel

Total time spent on this unit in seconds

≥ 0nullable
lastAccessedAtdatetimeoptioneel

Last time the student accessed this unit

nullable
completedAtdatetimeoptioneel

When the unit was completed

nullable
bestScorenumberoptioneel

Best quiz/exam score across all attempts

0 – 100nullable
attemptCountnumberoptioneel

Number of quiz/exam attempts made

≥ 0nullable
fileSubmissionIdsstring[]optioneel

IDs of the uploaded file submissions

fileSubmittedAtdatetimeoptioneel

When the file was submitted

nullable
requirementsMetbooleanoptioneel

Whether all completion requirements have been fulfilled

read-onlynullable
reviewFeedbackstringoptioneel

Instructor feedback text for the file submission

nullable
reviewScorenumberoptioneel

Manual score assigned by instructor (0-100)

0 – 100nullable
reviewedBystringoptioneel

User ID of the instructor who reviewed

nullable
reviewedAtdatetimeoptioneel

When the instructor review was completed

nullable
rejectedAtdatetimeoptioneel

When the submission was rejected

nullable
rejectionReasonstringoptioneel

Reason for rejection

nullable
rejectionCountnumberoptioneel

Number of times this submission has been rejected

≥ 0nullable
aiReviewFeedbackstringoptioneel

AI-generated feedback for the file submission

nullable
aiReviewScorenumberoptioneel

AI-suggested score (0-100)

0 – 100nullable
aiReviewConfidencenumberoptioneel

AI confidence level (0.0-1.0)

0 – 1nullable
aiReviewedAtdatetimeoptioneel

When the AI review was completed

nullable
aiReviewStatusstringoptioneel

Current status of the AI review

pendingcompletedfailed
nullable
extraAttemptsGrantednumberoptioneel

Number of additional attempts granted by instructor beyond maxAttempts

≥ 0nullable
extraAttemptsGrantedBystringoptioneel

User ID of the instructor who granted extra attempts

nullable
extraAttemptsGrantedAtdatetimeoptioneel

When extra attempts were last granted

nullable
runIdstringoptioneel

Live unit: run (Durchführung) the learner is registered/waitlisted for

max. 64 tekensread-onlynullable
registrationStatusstringoptioneel

Live unit: registered = participant in every calendar event of the run; waitlist = not in the calendar, promoted in registration order; cancelled = no seat

registeredwaitlistcancellednull
read-onlynullable
registeredAtdatetimeoptioneel

Live unit: time of (first) registration — the waitlist order

read-onlynullable
registeredBystringoptioneel

Live unit: users._id of whoever registered the learner (self or course lead)

read-onlynullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/unit_progress — Lijst, gepagineerd + filterbaar
  • GET /api/v1/unit_progress/<id> — Enkele entity
  • POST /api/v1/unit_progress — Aanmaken
  • PATCH /api/v1/unit_progress/<id> — Gedeeltelijke update
  • DELETE /api/v1/unit_progress/<id> — Soft-delete
  • GET /api/v1/unit_progress/<id>/timeline — Audit + activiteiten

Zoeken