Data discovery examples
- Last UpdatedNov 14, 2025
- 1 minute read
- PI System
- Adapter for MQTT 1.4
- Adapters
The following example shows the status of all discoveries. The discovery id in this example was auto-generated.
Sparkplug B data source discovery initiation
{
"id" : "40",
"query": "topics=spBv1.0/group1/+/edgeNode1,spBv1.0/group2/#;waitTime=00:00:30"
}
Sparkplug B data source discovery results
[
"id": "40",
"query": "topics=spBv1.0/group1/+/edgeNode1,spBv1.0/group2/#;waitTime=00:00:30",
"startTime": "2020-12-14T14:19:01.4383791-08:00",
"endTime": "2020-12-14T14:19:31.8549164-08:00",
"progress": 30,
"itemsFound": 700,
"newItems": 200,
"resultUri": "http://127.0.0.1:5590/api/v1/Configuration/mqttComponentId/Discoveries/40/result",
"autoSelect": false,
"status": "Complete",
"errors": null
]