Import a document below a node
POST/nodes/:nodeId/import
Creates the objects of an exported document below the node, in one transaction, and returns the node of the imported root (HET-1370). Every object gets a new id; references between objects of the document point at the new ones. A plain signal reads the metric of its name here, which is created when there is none; a virtual signal gets a metric and a scheduler job of its own, created inactive. Asset types are taken by name, created when missing. Wirings to objects outside the document stay where such an object exists here and the caller may read it, and are released otherwise; signal group members stay where the signal exists here. The preview names what is released. Refused like the preview, and with 400 for more than its limit nodes.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- default
The node of the imported root.
The document cannot be imported below this node.
Unauthorized — the bearer token is missing, expired or invalid, or carries no role. Errors raised by the security aspects contain an ErrorDto body; requests rejected by the security filter chain may have an empty body.
Forbidden — the authenticated user lacks the required role or access rights.
Entity not found.
the default error response