Org Units
Todas las operaciones de Org Units.
Modelo de datos
Los endpoints de este módulo trabajan sobre la siguiente entidad. La referencia del esquema enumera cada campo con tipo, validación y relaciones:
| Entidad | ID del esquema | Campos | Secuencia | Permisos |
|---|---|---|---|---|
| Org Unit | org_unit |
15 | — | org_unit_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
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. |