Preview what importing a document below a node would create
POST/nodes/:nodeId/import-preview
Checks an exported document against this system as the import would (HET-1370) and says what it would create below the node and what needs attention: which metrics exist already and which would be created, which asset types exist (and deviate) or would be created, which designer transformations are missing, and which references to objects outside the document would be released - wirings to objects that do not exist here or the caller may not read, signal group members that do not exist here. exceedsLimit says the import would be refused. A document that cannot be imported at all is answered with 400 - malformed, of a newer format version, with a wiring uri naming the platform adapter (HET-2191), or naming a metric the platform assigned to a signal of its own. Needs the right to change the node and, for virtual signals, the designer configurator role.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- default
What the import would create, and what needs attention.
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