HaciendaOps

View list of tools

The HaciendaOps API allows users to view the existing “toolbox” of all tools available on the farm.

Prerequisites

Checking the toolbox

  1. Start running a local HaciendaOps instance.
    • To start the instance, run the following command:

      cd /HaciendaOps/api
      json-server -w hfg-db.json
      
  2. Open the Postman app on your computer.

  3. Create a new request with the following values:
    • METHOD: GET
    • URL: /tool
    • Header: Content-Type: application/json

Result

    {
        "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"
    }

You can now locate the full list of available tools in the HaciendaOps “toolbox.”