Tools
Todas las operaciones de Tools.
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 |
|---|---|---|---|---|
| Tool | tool |
16 | — | tool_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
POST |
/v1/tools |
Create tool | Create a new tool in the active tenant. |
DELETE |
/v1/tools/{id} |
Delete tool | Soft delete entity. |
GET |
/v1/tools/{id} |
Get tool by id | Fetch a single tool. |
GET |
/v1/tools/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/tools/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/tools/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/tools |
List tools | List tools for the active tenant. |
PATCH |
/v1/tools/{id} |
Patch tool | JSON Merge Patch update. |
POST |
/v1/tools/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/tools/{id}/checkin |
POST /v1/tools/{id}/checkin | Check in a tool or bag (cascades to all children if BAG) |
POST |
/v1/tools/{id}/checkout |
POST /v1/tools/{id}/checkout | Check out a tool or bag (cascades to all children if BAG) |
POST |
/v1/tools/{id}/transition |
POST /v1/tools/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/tools/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/tools/{id} |
Replace tool | Full replace with optimistic locking. |