Closed
Description
I am trying to use POST /_api/graph/graph-name/edges/vertex-name
as outlined in the docs to get the edges for a vertex.
Getting edges connected to the vertex in both
directions work fine. However, setting "direction": "in"
or "direction": "out"
has no effect.
To reproduce, save 2 vertices and connect them:
vertex1 ---edge---> vertex2
Then:
POST /_api/graph/graph-name/edges/vertexcollection/vertex2 {"direction": "out"}
Notice that we get the edge back even thought we have set the filter to show only outgoing edges.
After more testing, it looks like filtering does not work at all. I just tried filtering by the label, and it still returns all edges.