Zum Hauptinhalt springen

Get where the signals, data sources and asset properties below a node are still used

GET 

/nodes/:nodeId/signal-usages

Lists the signals below the node - plain and virtual - that are still used outside it: by a dashboard panel, a form, a workflow configuration (virtual signals included) or a signal group that is not part of the node's subtree. Lists the signal groups, workflow configurations and constants below it that such a panel shows or such a workflow reads, the assets - the node itself among them - whose properties such a workflow reads, and the alarm rules the deletion takes objects from. Deleting an asset or a form deletes everything below it, and this is the warning before it, as /signals/{signalId}/usages is for a single signal and /nodes/{nodeId}/usages for a single data source. Usages inside the subtree are left out, they are deleted along with it. Reads the data source references of every panel and the wiring of every workflow of the tenant, so it may take a few seconds. Objects the caller may not read are listed with readable: false and nothing that opens them - a server that does not do so yet counts them in unreadable.

Request​

Responses​

The signals below the node that are still used outside it.