API Reference

All HTTP endpoints across the UNS functions.

Endpoints

MethodPathDescription
GET/uns-cacheAll cached topics
POST/uns-cacheSpecific topics
GET/POST/uns-logCheck changes, log to DB
GET/POST/uns-statePoll state changes
GET/uns-stoppageAuto-classify + query
POST/uns-stoppageManual override
GET/POST/uns-productivityPoll production runs
GET/uns-inputQuery entries
POST/uns-inputSubmit entry
DELETE/uns-input?id=NDelete entry
GET/uns-kpiCompute all KPIs

uns-kpi Parameters

ParamDefaultDescription
machine(all)Filter by machine
area(all)Filter by area
hours24Last N hours
from/to-RFC3339 range

Response Codes

CodeMeaning
200Success
400Bad request
404Not found
500Internal error