Skip to content

eaxsim HTTP API routes

PlatformReferenceCloudView as Markdown

The routes of the eaxsim host API (eaxsim -http). The host API has no authentication of its own: bind it to localhost; tenants reach it through the eaxsim-cloud control plane.

  • Methods: the methods the handler implements. “any” means the handler does not look at the method; “other: default” means every other method reaches the handler’s default branch.
  • Role: who may call the route. “GET, HEAD” and “other methods” give separate rules for reads and for every other method; a list of methods gives the rule for those methods.
  • Role levels follow the role hierarchy: operator (Shift_Operator, 40), supervisor (Process_Supervisor, 60), engineer (Lead_Engineer, 80), administrator (100). A higher level includes the lower ones.
  • Source: where the route is registered. The method and role annotations sit on the line above each registration (// route:).
Methods Path Role Source
GET / public (no sign-in) eaxPLC/pkg/sim/host/overview.go
Methods Path Role Source
POST /api/faults public (no sign-in) eaxPLC/pkg/sim/host/http.go
Methods Path Role Source
GET /api/overview public (no sign-in) eaxPLC/pkg/sim/host/overview.go
Methods Path Role Source
GET /api/plcs public (no sign-in) eaxPLC/pkg/sim/host/http.go
GET /api/plcs/{id} public (no sign-in) eaxPLC/pkg/sim/host/http.go
GET /api/plcs/{id}/faults public (no sign-in) eaxPLC/pkg/sim/host/http.go
POST /api/plcs/{id}/faults public (no sign-in) eaxPLC/pkg/sim/host/http.go
DELETE /api/plcs/{id}/faults public (no sign-in) eaxPLC/pkg/sim/host/http.go
DELETE /api/plcs/{id}/faults/{fid} public (no sign-in) eaxPLC/pkg/sim/host/http.go
GET /api/plcs/{id}/values public (no sign-in) eaxPLC/pkg/sim/host/http.go
POST /api/plcs/{id}/{action} public (no sign-in) eaxPLC/pkg/sim/host/http.go
Methods Path Role Source
GET /api/sim public (no sign-in) eaxPLC/pkg/sim/host/http.go
POST /api/sim/pause public (no sign-in) eaxPLC/pkg/sim/host/http.go
POST /api/sim/resume public (no sign-in) eaxPLC/pkg/sim/host/http.go
POST /api/sim/snapshot public (no sign-in) eaxPLC/pkg/sim/host/http.go
PUT /api/sim/speed public (no sign-in) eaxPLC/pkg/sim/host/http.go
Methods Path Role Source
GET /api/states public (no sign-in) eaxPLC/pkg/sim/host/overview.go
Methods Path Role Source
GET /api/tree public (no sign-in) eaxPLC/pkg/sim/host/http.go

Routes: 18.