Create student_progres
POST/v1/student_progress
Create a new student_progres in the active tenant.
Datamodel
Deze operatie werkt op de entiteit Student Progress (student_progress). Alle 11 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.
-
Verplichte velden:
enrollmentId,lessonId,userId,courseId,status,progress,timeSpent,attempts -
Door de server beheerd:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy— deze velden worden door het platform toegekend; in de request worden ze genegeerd.
Voorbeeld
curl -X POST https://api.codemeta-os.de/v1/student_progress \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.student_progress.post();Antwoordcodes
| HTTP | Betekenis |
|---|---|
200 |
Default Response |