Tools
All operations for Tools.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Tool | tool |
16 | — | tool_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
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. |