API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · unit_progress

Unit Progress Schema

ID du schéma
unit_progress
Collection
unit_progress
Autorisations
  • Lireunit_progress_view
  • Créerunit_progress_create
  • Modifierunit_progress_edit
  • Supprimerunit_progress_delete
Relations

Champs

Unit Progress Schema

unit_progress4 autorisations

Schema for tracking student progress per learning unit

enrollmentIdstringobligatoire

ID of the student enrollment

min. 1 caractèreslecture seule
learningUnitIdstringobligatoire

ID of the learning unit

min. 1 caractères
lessonIdstringobligatoire

ID of the parent lesson/section (denormalized)

min. 1 caractères
courseIdstringobligatoire

ID of the parent course (denormalized)

min. 1 caractères
userIdstringobligatoire

ID of the student

min. 1 caractèreslecture seule
courseTenantIdstringfacultatif

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

lecture seulenullable
statusstringobligatoire

Current progress status for this unit

not_startedin_progresscompletedrequires_approval
lecture seule
videoProgressSecsnumberfacultatif

Furthest video position watched in seconds

≥ 0nullable
videoTotalSecsnumberfacultatif

Total video duration in seconds

≥ 0nullable
textScrollPercentnumberfacultatif

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

0 – 100nullable
viewedSlideIdsstring[]facultatif

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

nullable
timeSpentSecsnumberfacultatif

Total time spent on this unit in seconds

≥ 0nullable
lastAccessedAtdatetimefacultatif

Last time the student accessed this unit

nullable
completedAtdatetimefacultatif

When the unit was completed

nullable
bestScorenumberfacultatif

Best quiz/exam score across all attempts

0 – 100nullable
attemptCountnumberfacultatif

Number of quiz/exam attempts made

≥ 0nullable
fileSubmissionIdsstring[]facultatif

IDs of the uploaded file submissions

fileSubmittedAtdatetimefacultatif

When the file was submitted

nullable
requirementsMetbooleanfacultatif

Whether all completion requirements have been fulfilled

lecture seulenullable
reviewFeedbackstringfacultatif

Instructor feedback text for the file submission

nullable
reviewScorenumberfacultatif

Manual score assigned by instructor (0-100)

0 – 100nullable
reviewedBystringfacultatif

User ID of the instructor who reviewed

nullable
reviewedAtdatetimefacultatif

When the instructor review was completed

nullable
rejectedAtdatetimefacultatif

When the submission was rejected

nullable
rejectionReasonstringfacultatif

Reason for rejection

nullable
rejectionCountnumberfacultatif

Number of times this submission has been rejected

≥ 0nullable
aiReviewFeedbackstringfacultatif

AI-generated feedback for the file submission

nullable
aiReviewScorenumberfacultatif

AI-suggested score (0-100)

0 – 100nullable
aiReviewConfidencenumberfacultatif

AI confidence level (0.0-1.0)

0 – 1nullable
aiReviewedAtdatetimefacultatif

When the AI review was completed

nullable
aiReviewStatusstringfacultatif

Current status of the AI review

pendingcompletedfailed
nullable
extraAttemptsGrantednumberfacultatif

Number of additional attempts granted by instructor beyond maxAttempts

≥ 0nullable
extraAttemptsGrantedBystringfacultatif

User ID of the instructor who granted extra attempts

nullable
extraAttemptsGrantedAtdatetimefacultatif

When extra attempts were last granted

nullable
runIdstringfacultatif

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

max. 64 caractèreslecture seulenullable
registrationStatusstringfacultatif

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

registeredwaitlistcancellednull
lecture seulenullable
registeredAtdatetimefacultatif

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

lecture seulenullable
registeredBystringfacultatif

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

lecture seulenullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/unit_progress — Liste, paginée et filtrable
  • GET /api/v1/unit_progress/<id> — Une entité
  • POST /api/v1/unit_progress — Créer
  • PATCH /api/v1/unit_progress/<id> — Mise à jour partielle
  • DELETE /api/v1/unit_progress/<id> — Suppression logique
  • GET /api/v1/unit_progress/<id>/timeline — Audit et activités

Recherche