Org Units
All operations for Org 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 |
|---|---|---|---|---|
| Org Unit | org_unit |
15 | — | org_unit_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/org_units |
Create org_unit | Create a new org_unit in the active tenant. |
DELETE |
/v1/org_units/{id} |
Delete org_unit | Soft delete entity. |
GET |
/v1/org_units/{id} |
Get org_unit by id | Fetch a single org_unit. |
GET |
/v1/org_units/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/org_units/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/org_units/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/org_units |
List org_units | List org_units for the active tenant. |
PATCH |
/v1/org_units/{id} |
Patch org_unit | JSON Merge Patch update. |
POST |
/v1/org_units/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/org_units/{id}/transition |
POST /v1/org_units/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/org_units/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/org_units/{id} |
Replace org_unit | Full replace with optimistic locking. |