Skip to main content

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​

What the import would create, and what needs attention.