Delegations
Todas las operaciones de Delegations.
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 |
|---|---|---|---|---|
| Delegation | delegation |
9 | — | delegation_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
POST |
/v1/delegations |
Create delegation | Create a new delegation in the active tenant. |
DELETE |
/v1/delegations/{id} |
Delete delegation | Soft delete entity. |
GET |
/v1/delegations/{id} |
Get delegation by id | Fetch a single delegation. |
GET |
/v1/delegations/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/delegations/resolve/{userId} |
GET /v1/delegations/resolve/{userId} | CodeMeta OS API endpoint. |
GET |
/v1/delegations/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/delegations/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/delegations |
List delegations | List delegations for the active tenant. |
PATCH |
/v1/delegations/{id} |
Patch delegation | JSON Merge Patch update. |
POST |
/v1/delegations/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/delegations/{id}/transition |
POST /v1/delegations/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/delegations/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/delegations/{id} |
Replace delegation | Full replace with optimistic locking. |