Units
Alle operaties rond Units.
Datamodel
De endpoints van deze module werken op de volgende entiteit. De schemareferentie toont elk veld met type, validatie en relaties:
| Entiteit | Schema-ID | Velden | Volgnummer | Permissions |
|---|---|---|---|---|
| Unit | unit |
4 | — | unit_* |
Endpoints
| Methode | Pad | Operatie | Beschrijving |
|---|---|---|---|
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. |