API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · unit_progress

Unit Progress Schema

Schema ID
unit_progress
Collection
unit_progress
Permissions
  • Readunit_progress_view
  • Createunit_progress_create
  • Editunit_progress_edit
  • Deleteunit_progress_delete
Relationships

Fields

Unit Progress Schema

unit_progress4 permissions

Schema for tracking student progress per learning unit

enrollmentIdstringrequired

ID of the student enrollment

min 1 charactersread-only
learningUnitIdstringrequired

ID of the learning unit

min 1 characters
lessonIdstringrequired

ID of the parent lesson/section (denormalized)

min 1 characters
courseIdstringrequired

ID of the parent course (denormalized)

min 1 characters
userIdstringrequired

ID of the student

min 1 charactersread-only
courseTenantIdstringoptional

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

read-onlynullable
statusstringrequired

Current progress status for this unit

not_startedin_progresscompletedrequires_approval
read-only
videoProgressSecsnumberoptional

Furthest video position watched in seconds

≥ 0nullable
videoTotalSecsnumberoptional

Total video duration in seconds

≥ 0nullable
textScrollPercentnumberoptional

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

0 – 100nullable
viewedSlideIdsstring[]optional

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

nullable
timeSpentSecsnumberoptional

Total time spent on this unit in seconds

≥ 0nullable
lastAccessedAtdatetimeoptional

Last time the student accessed this unit

nullable
completedAtdatetimeoptional

When the unit was completed

nullable
bestScorenumberoptional

Best quiz/exam score across all attempts

0 – 100nullable
attemptCountnumberoptional

Number of quiz/exam attempts made

≥ 0nullable
fileSubmissionIdsstring[]optional

IDs of the uploaded file submissions

fileSubmittedAtdatetimeoptional

When the file was submitted

nullable
requirementsMetbooleanoptional

Whether all completion requirements have been fulfilled

read-onlynullable
reviewFeedbackstringoptional

Instructor feedback text for the file submission

nullable
reviewScorenumberoptional

Manual score assigned by instructor (0-100)

0 – 100nullable
reviewedBystringoptional

User ID of the instructor who reviewed

nullable
reviewedAtdatetimeoptional

When the instructor review was completed

nullable
rejectedAtdatetimeoptional

When the submission was rejected

nullable
rejectionReasonstringoptional

Reason for rejection

nullable
rejectionCountnumberoptional

Number of times this submission has been rejected

≥ 0nullable
aiReviewFeedbackstringoptional

AI-generated feedback for the file submission

nullable
aiReviewScorenumberoptional

AI-suggested score (0-100)

0 – 100nullable
aiReviewConfidencenumberoptional

AI confidence level (0.0-1.0)

0 – 1nullable
aiReviewedAtdatetimeoptional

When the AI review was completed

nullable
aiReviewStatusstringoptional

Current status of the AI review

pendingcompletedfailed
nullable
extraAttemptsGrantednumberoptional

Number of additional attempts granted by instructor beyond maxAttempts

≥ 0nullable
extraAttemptsGrantedBystringoptional

User ID of the instructor who granted extra attempts

nullable
extraAttemptsGrantedAtdatetimeoptional

When extra attempts were last granted

nullable
runIdstringoptional

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

max 64 charactersread-onlynullable
registrationStatusstringoptional

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
registeredAtdatetimeoptional

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

read-onlynullable
registeredBystringoptional

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

read-onlynullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/unit_progress — List, paginated + filterable
  • GET /api/v1/unit_progress/<id> — Single entity
  • POST /api/v1/unit_progress — Create
  • PATCH /api/v1/unit_progress/<id> — Partial update
  • DELETE /api/v1/unit_progress/<id> — Soft delete
  • GET /api/v1/unit_progress/<id>/timeline — Audit + activities

Search