REST API Reference

Querying node status programmatically during a build.

Local Network API

The SmartWireBoard controller exposes a local, unauthenticated REST API on Port 8080. This allows factory automation systems (like MES) to query the state of the harness prototype in real-time.

EndpointMethodDescription
/api/v1/statusGETReturns global board state (ready, error, building).
/api/v1/nets/failedGETReturns array of Net IDs currently failing continuity.
/api/v1/netlistPOSTAccepts JSON array to overwrite the current routing table.

Example Request

$ curl http://smartwireboard.local:8080/api/v1/nets/failed
[
  {"net_id": "W-104", "expected_ohms": 0.5, "actual_ohms": 9999},
  {"net_id": "W-105", "expected_ohms": 0.5, "actual_ohms": 9999}
]

For more on network layout, see the CAN Bus Topology Guide.