The HaciendaOps API allows users to update tools with the intent to keep training and saftey information relevant.
If the service isn’t running, run the following command:
```shell
cd
/tool
Content-Type: application/json
Return Body:
{
"id": "1",
"name": "Machete",
"usage": "Clearing light brush manually",
"safety_notes": "Always sheath after use",
"training_required": false,
"kaizen_notes": "Preferred over sickle for zone clearing by Rosa"
},
{
"id": "2",
"name": "RFID Ear Tag Scanner",
"usage": "Identify and track goats in fenced areas",
"safety_notes": "Keep away from water; charge weekly",
"training_required": true,
"kaizen_notes": "Alex suggested waterproof case for rainy season"
}
/tool/{toolId}
Content-Type: application/json
Request Body:
{
"training_required": true,
}
/tool/{previoustoolId}
Content-Type: application/json
Return Body:
{
"id": "1",
"name": "Machete",
"usage": "Clearing light brush manually",
"safety_notes": "Always sheath after use",
"training_required": true,
"kaizen_notes": "Preferred over sickle for zone clearing by Rosa"
}
You can now update existing tools in HaciendaOps.