History Queries
Map discovered records to new history query items
Changed onDiscovers what a scope holds (e.g. nodes picked in the Explore modal) against the south settings of a history query as currently edited, and maps every record to a new item. Nothing is saved.
post/api/history/{historyId}/test/discovered-items
Request
- Base URL: http://localhost:2223
- URL: http://localhost:2223/api/history/{historyId}/test/discovered-items
- Auth: none required
Path parameters
historyIdstring required
The history query id, or "create" for a history query not created yet
Query parameters
southType'opcua' | 'mqtt' | 'modbus' | 'oianalytics' | 'ads' | 'bacnet' | 'folder-scanner' | 'ftp' | 'influxdb' | 'mongodb' | 'mssql' | 'mysql' | 'odbc' | 'oledb' | 'opc' | 'oracle' | 'osisoft-pi' | 'postgresql' | 'rest' | 's7' | 'sftp' | 'sqlite' required
Type representing the possible types for a South connector.
fromSouthstring required
The south connector a history query being created is created from, whose secrets it uses
Request body
Response
One item to create per discovered record
Example response
[
{
"enabled": true,
"name": "Temperature Logs",
"scanModeId": "periodic-5min",
"groupId": "group-123",
"groupName": "Production Line A",
"syncWithGroup": true,
"maxReadInterval": 3600,
"readDelay": 200,
"startTimeOffset": -1000,
"threshold": 1,
"rangeHigh": 100,
"maxCachingInterval": 3600000
}
]Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking