Learning Units
All operations for Learning Units.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Learning Unit | learning_unit |
49 | — | learning_unit_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/learning_units |
Create learning_unit | Create a new learning_unit in the active tenant. |
DELETE |
/v1/learning_units/{id} |
Delete learning_unit | Soft delete entity. |
GET |
/v1/learning_units/{id} |
Get learning_unit by id | Fetch a single learning_unit. |
GET |
/v1/learning_units/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/learning_units/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/learning_units/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/learning_units |
List learning_units | List learning_units for the active tenant. |
PATCH |
/v1/learning_units/{id} |
Patch learning_unit | JSON Merge Patch update. |
POST |
/v1/learning_units/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/learning_units/{id}/transition |
POST /v1/learning_units/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/learning_units/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/learning_units/{id} |
Replace learning_unit | Full replace with optimistic locking. |