Zum Hauptinhalt springen

Duplicate a node and its subtree

POST 

/nodes/:nodeId/duplicate

Copies the node and its subtree under the node's own parent, in one transaction, and returns the node of the copy. A plain signal's copy reads the same metric; a virtual signal gets a metric and a scheduler job of its own, created inactive. References inside the copied subtree (dashboard panels, workflow and virtual-signal inputs, signal group members, panels naming other dashboards) point at the copies, references outside it stay as they are. Forms and everything below them, the signals a form created and those a dynamic workflow derived are left out, and so are nodes whose object is deleted. Image panels keep their image. Explicit rights, alarm and dynamic-workflow bindings, comments and favorites are not copied. Needs read on the node, update on its parent and, for virtual signals, the designer configurator role. Refused with 400 for more than the preview's limit nodes.

Request​

Responses​

The node of the copy.