Org Units
Toutes les opérations relatives à Org Units.
Modèle de données
Les endpoints de ce module portent sur l'entité suivante. La référence du schéma décrit chaque champ avec son type, sa validation et ses relations :
| Entité | ID du schéma | Champs | Séquence | Autorisations |
|---|---|---|---|---|
| Org Unit | org_unit |
15 | — | org_unit_* |
Endpoints
| Méthode | Chemin | Opération | 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. |