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