Units
Alle Operationen rund um Units.
Datenmodell
Die Endpoints dieses Moduls arbeiten auf folgender Entität. Die Schema-Referenz listet jedes Feld mit Typ, Validierung und Beziehungen:
| Entität | Schema-ID | Felder | Sequenz | Permissions |
|---|---|---|---|---|
| Unit | unit |
4 | — | unit_* |
Endpoints
| Methode | Pfad | Operation | Beschreibung |
|---|---|---|---|
POST |
/v1/units |
Create unit | Create a new unit in the active tenant. |
DELETE |
/v1/units/{id} |
Delete unit | Soft delete entity. |
GET |
/v1/units/{id} |
Get unit by id | Fetch a single unit. |
GET |
/v1/units/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/units/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/units/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/units |
List units | List units for the active tenant. |
PATCH |
/v1/units/{id} |
Patch unit | JSON Merge Patch update. |
POST |
/v1/units/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/units/{id}/transition |
POST /v1/units/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/units/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/units/{id} |
Replace unit | Full replace with optimistic locking. |