Function Roles
Todas las operaciones de Function Roles.
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 |
|---|---|---|---|---|
| Function Role | function_role |
11 | — | function_role_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
POST |
/v1/function_roles |
Create function_role | Create a new function_role in the active tenant. |
DELETE |
/v1/function_roles/{id} |
Delete function_role | Soft delete entity. |
GET |
/v1/function_roles/{id} |
Get function_role by id | Fetch a single function_role. |
GET |
/v1/function_roles/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/function_roles/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/function_roles/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/function_roles |
List function_roles | List function_roles for the active tenant. |
PATCH |
/v1/function_roles/{id} |
Patch function_role | JSON Merge Patch update. |
POST |
/v1/function_roles/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/function_roles/seed-defaults |
POST /v1/function_roles/seed-defaults | Seed the built-in function-role taxonomy for the current tenant. |
POST |
/v1/function_roles/{id}/transition |
POST /v1/function_roles/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/function_roles/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/function_roles/{id} |
Replace function_role | Full replace with optimistic locking. |