Expand description
Haystack HTTP API op handlers and route registration.
Each sub-module implements one or more Haystack ops as async Actix-Web
handler functions. The configure function registers all routes under
the /api scope.
Standard ops: about, ops, formats, read, nav, defs, libs,
watchSub/watchPoll/watchUnsub, hisRead/hisWrite,
pointWrite, invokeAction, close.
Extended ops: changes, export/import, specs/spec/loadLib/
unloadLib/exportLib/validate, system/status/backup/restore,
federation/status/sync, rdf/turtle/rdf/jsonld.
Modules§
- about
- The
aboutop — server identity and SCRAM authentication handshake. - changes
- The
changesop — return graph changelog entries since a given version. - data
- The
exportandimportops — bulk data import/export. - defs
- The
defsandlibsops — query the definition namespace. - federation
- Federation HTTP endpoints — status and sync for remote connectors.
- formats
- The
formatsop — list supported MIME types. - graph
- Graph visualization endpoints for React Flow UI integration.
- his
- The
hisReadandhisWriteops — historical time-series data. - invoke
- The
invokeActionop — invoke an action on an entity. - libs
- Library and spec management endpoints.
- nav
- The
navop — navigate a project for entity discovery. - ops_
handler - The
opsop — list all available operations. - point_
write - The
pointWriteop — write a value to a writable point. - rdf
- RDF export endpoints — Turtle and JSON-LD serialization of all entities.
- read
- The
readop — read entities by filter or by id. - system
- System administration endpoints (admin-only).
- watch
- Watch ops — subscribe, poll, and unsubscribe for entity changes.
Functions§
- configure
- Configure all Haystack API routes under
/api.