Node to create or update

interface NodeWrite {
    existingVersion?: number;
    externalId: string;
    instanceType: "node";
    sources?: EdgeOrNodeData[];
    space: string;
    type?: DirectRelationReference;
}

Properties

existingVersion?: number

Fail the ingestion request if the node's version is greater than this value. If no existingVersion is specified, the ingestion will always overwrite any existing data for the node (for the specified container or view). If existingVersion is set to 0, the upsert will behave as an insert, so it will fail the bulk if the item already exists. If skipOnVersionConflict is set on the ingestion request, then the item will be skipped instead of failing the ingestion request.

externalId: string

Unique identifier for the node

instanceType: "node"
sources?: EdgeOrNodeData[]

List of source properties to write. The properties are from the view and/or the container(s) making up this node.

space: string

Id of the space that the node belongs to. This space-id cannot be updated.

Node type (direct relation)