API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · unit_progress

Unit Progress Schema

ID del esquema
unit_progress
Colección
unit_progress
Permisos
  • Leerunit_progress_view
  • Crearunit_progress_create
  • Modificarunit_progress_edit
  • Eliminarunit_progress_delete
Relaciones

Campos

Unit Progress Schema

unit_progress4 permisos

Schema for tracking student progress per learning unit

enrollmentIdstringobligatorio

ID of the student enrollment

mín. 1 caracteressolo lectura
learningUnitIdstringobligatorio

ID of the learning unit

mín. 1 caracteres
lessonIdstringobligatorio

ID of the parent lesson/section (denormalized)

mín. 1 caracteres
courseIdstringobligatorio

ID of the parent course (denormalized)

mín. 1 caracteres
userIdstringobligatorio

ID of the student

mín. 1 caracteressolo lectura
courseTenantIdstringopcional

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

solo lecturaadmite null
statusstringobligatorio

Current progress status for this unit

not_startedin_progresscompletedrequires_approval
solo lectura
videoProgressSecsnumberopcional

Furthest video position watched in seconds

≥ 0admite null
videoTotalSecsnumberopcional

Total video duration in seconds

≥ 0admite null
textScrollPercentnumberopcional

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

0 – 100admite null
viewedSlideIdsstring[]opcional

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

admite null
timeSpentSecsnumberopcional

Total time spent on this unit in seconds

≥ 0admite null
lastAccessedAtdatetimeopcional

Last time the student accessed this unit

admite null
completedAtdatetimeopcional

When the unit was completed

admite null
bestScorenumberopcional

Best quiz/exam score across all attempts

0 – 100admite null
attemptCountnumberopcional

Number of quiz/exam attempts made

≥ 0admite null
fileSubmissionIdsstring[]opcional

IDs of the uploaded file submissions

fileSubmittedAtdatetimeopcional

When the file was submitted

admite null
requirementsMetbooleanopcional

Whether all completion requirements have been fulfilled

solo lecturaadmite null
reviewFeedbackstringopcional

Instructor feedback text for the file submission

admite null
reviewScorenumberopcional

Manual score assigned by instructor (0-100)

0 – 100admite null
reviewedBystringopcional

User ID of the instructor who reviewed

admite null
reviewedAtdatetimeopcional

When the instructor review was completed

admite null
rejectedAtdatetimeopcional

When the submission was rejected

admite null
rejectionReasonstringopcional

Reason for rejection

admite null
rejectionCountnumberopcional

Number of times this submission has been rejected

≥ 0admite null
aiReviewFeedbackstringopcional

AI-generated feedback for the file submission

admite null
aiReviewScorenumberopcional

AI-suggested score (0-100)

0 – 100admite null
aiReviewConfidencenumberopcional

AI confidence level (0.0-1.0)

0 – 1admite null
aiReviewedAtdatetimeopcional

When the AI review was completed

admite null
aiReviewStatusstringopcional

Current status of the AI review

pendingcompletedfailed
admite null
extraAttemptsGrantednumberopcional

Number of additional attempts granted by instructor beyond maxAttempts

≥ 0admite null
extraAttemptsGrantedBystringopcional

User ID of the instructor who granted extra attempts

admite null
extraAttemptsGrantedAtdatetimeopcional

When extra attempts were last granted

admite null
runIdstringopcional

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

máx. 64 caracteressolo lecturaadmite null
registrationStatusstringopcional

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

registeredwaitlistcancellednull
solo lecturaadmite null
registeredAtdatetimeopcional

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

solo lecturaadmite null
registeredBystringopcional

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

solo lecturaadmite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/unit_progress — Lista, paginada y filtrable
  • GET /api/v1/unit_progress/<id> — Una entidad
  • POST /api/v1/unit_progress — Crear
  • PATCH /api/v1/unit_progress/<id> — Actualización parcial
  • DELETE /api/v1/unit_progress/<id> — Eliminación lógica
  • GET /api/v1/unit_progress/<id>/timeline — Auditoría y actividades

Búsqueda