Edge

interface EdgeDefinition {
    createdTime: number;
    deletedTime?: number;
    endNode: DirectRelationReference;
    externalId: string;
    instanceType: "edge";
    lastUpdatedTime: number;
    properties?: Record<string, ViewOrContainer>;
    space: string;
    startNode: DirectRelationReference;
    type: DirectRelationReference;
    version: number;
}

Properties

createdTime: number

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

deletedTime?: number

Timestamp when the edge was soft deleted. Note that deleted edges are filtered out of query results, but present in sync results. This means that this value will only be present in sync results.

Reference to the node pointed to by the direct relation. The reference consists of a space and an external-id.

externalId: string

Unique identifier for the edge. Can also be a null character.

instanceType: "edge"
lastUpdatedTime: number

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

properties?: Record<string, ViewOrContainer>

Spaces for the requested view and its containers

space: string

Id of the space the edge belongs to

Reference to the node pointed to by the direct relation. The reference consists of a space and an external-id.

Edge type

version: number

Current version of the edge