Expand description
OPC DA diagnostic routes: GET /api/opc/servers, GET /api/opc/capabilities,
GET /api/opc/browse, DELETE /api/opc/browse/sessions/:id, GET /api/opc/search,
GET /api/opc/read, and the indexed-search status/refresh/control routes – back the GUI’s
server dropdown, typed tag-tree browser, namespace search, index management, and connection
test.
Read-only diagnostics remain independent of crate::state::AppState::active_run, and every
OPC operation is bounded by an explicit [OPC_QUERY_TIMEOUT_SECS] timeout (see that constant’s
doc comment for why one is needed at all). Index management does not acquire the active-tune
lock either: starting or controlling a gateway inventory must not block, or be blocked by, an
in-flight tune.
Structs§
- OpcBrowse
Node Response - One node returned by
GET /api/opc/browse.node_keyanditem_idmust remain separate: the former is an opaque navigation key, while the latter is the exact selectable OPC DA ItemID and may contain namespace punctuation with no relationship to hierarchy. - OpcBrowse
Query - Query parameters for
GET /api/opc/browse. - OpcBrowse
Response - OpcCapabilities
Response - OpcClose
Browse Session Response - OpcIndex
Scheduler Response - OpcIndexed
Search Match Response - OpcIndexed
Search Progress Response - OpcRead
Query - Query parameters for
GET /api/opc/read. - OpcRead
Response - Response body of
GET /api/opc/read. - OpcSearch
Index Auto Refresh Query - Query parameters for
POST /api/opc/search-index/auto-refresh. - OpcSearch
Index Control Query - Query parameters for
POST /api/opc/search-index/control. - OpcSearch
Index Query - Query the gateway-owned persistent namespace index. This is a bounded unary request and never falls back to the legacy live traversal search.
- OpcSearch
Index Refresh Query - Query parameters for
POST /api/opc/search-index/refresh. - OpcSearch
Index Response - OpcSearch
Index Server Query - Query parameters shared by indexed-search status and search-index actions.
- OpcSearch
Index Status Response - OpcSearch
Query - Query parameters for the progressive
GET /api/opc/searchSSE endpoint. - OpcServer
Query - Query parameters for
GET /api/opc/capabilities. - OpcServers
Query - Query parameters for
GET /api/opc/servers. - OpcServers
Response - Response body of
GET /api/opc/servers.