ArangoDB-Community / arangodb-net-standard

A consistent, comprehensive, minimal interface to enable .NET applications to use the complete range of features exposed by the ArangoDB REST API.
Apache License 2.0
77 stars 30 forks source link

Implement endpoint to read in- or outbound edges #476

Open DiscoPYF opened 1 year ago

DiscoPYF commented 1 year ago

It looks like one of the HTTP API endpoint related to graphs is not implemented: GET /_api/edges/{collection-id}.

https://www.arangodb.com/docs/stable/http/edge.html#read-in--or-outbound-edges

I propose to create a new GetEdges method under IGraphApiClient/GraphApiClient. While all methods in GraphApiClient are currently for the _api/gharial route, we can consider this new endpoint to be part of the overall "Graph API", which is what GraphApiClient is for.

DiscoPYF commented 1 year ago

We could also create a new IEdgesApiClient if we want to follow the same separation as the API routes. But it may be overkill for just one endpoint.