path
parameter is the type of identifier (such as ean13, sgtin, sgln, or id for general identifier), value
is the identifier value or an array of possible values, and opcode
is either EQ or IN, depending on whether the queried object identifier needs to equal or belong to the given value parameter.identifier_types
and identifier_values
are two arrays used to determine the starting object of the trail traversal. Note that these two arrays must be of the same length, and will be paired in the order they were given (first element of the identifier_types
array corresponds to the first element of the identifier_values
array, etc).depth
parameter determines how far from the starting vertex will the traversal go. If the depth is set to 0 the traversal will return only the objects identified by the given parameters.connection_types
is an array which serves as a filter in the graph trail traversal operation. When observing a vertex in the graph, only the vertices which are connected to the currently observed vertex by a relation type which is in the connection_types
array will be visited and included in the graph.connection_types
contained rel_type_1
and not rel_type_2
, a traversal starting from vertex B would return vertex A and would not return vertex C.connection_types
contained rel_type_1
, a traversal starting from vertex A would return vertex B and would not return vertex C.connection_types
parameter is omitted, the entire graph is traversed (to the specified depth), without the backtracking prevention feature. It should be noted that the knowledge graph can be a highly dense graph, and traversing without filters can return extremely large results and might cause problems with node performance.reach
parameter is specified as extended
the node will execute the trail, then check which objects are referenced in the trail but are not included in it. These objects are then additionally retrieved from the local knowledge graph and appended to the trail response.reach
parameter value to narrow
.