Click or drag to resize

IGraphApiClient Interface

Defines a client to access the ArangoDB Graph API.

Namespace:  ArangoDBNetStandard.GraphApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public interface IGraphApiClient

The IGraphApiClient type exposes the following members.

Methods
  NameDescription
Public methodDeleteEdgeAsyncT(String, String, DeleteEdgeQuery)
Removes an edge based on its document ID.
Public methodDeleteEdgeAsyncT(String, String, String, DeleteEdgeQuery)
Removes an edge from the collection. DELETE /_api/gharial/{graph}/edge/{collection}/{edge}
Public methodDeleteEdgeDefinitionAsync
Remove one edge definition from the graph. This will only remove the edge collection, the vertex collections remain untouched and can still be used in your queries. DELETE/_api/gharial/{graph}/edge/{definition}
Public methodDeleteGraphAsync
Deletes an existing graph object by name. Optionally all collections not used by other graphs can be deleted as well, using DeleteGraphQuery. DELETE /_api/gharial/{graph-name}
Public methodDeleteVertexAsyncT(String, String, DeleteVertexQuery)
Removes a vertex based on its document ID.
Public methodDeleteVertexAsyncT(String, String, String, DeleteVertexQuery)
Removes a vertex from the collection. DELETE/_api/gharial/{graph}/vertex/{collection}/{vertex}
Public methodDeleteVertexCollectionAsync
Removes a vertex collection from the graph and optionally deletes the collection, if it is not used in any other graph. It can only remove vertex collections that are no longer part of edge definitions, if they are used in edge definitions you are required to modify those first. DELETE/_api/gharial/{graph}/vertex/{collection}
Public methodGetEdgeAsyncT(String, String, GetEdgeQuery)
Gets an edge from the given graph using the edge's document-handle. GET /_api/gharial/{graph}/edge/{collection}/{edge}
Public methodGetEdgeAsyncT(String, String, String, GetEdgeQuery)
Gets an edge from the given graph using the edge collection and _key attribute.
Public methodGetEdgeCollectionsAsync
Lists all edge collections within this graph. GET /_api/gharial/{graph}/edge
Public methodGetGraphAsync
Selects information for a given graph. Will return the edge definitions as well as the orphan collections. GET /_api/gharial/{graph}
Public methodGetGraphsAsync
Lists all graphs stored in this database. GET /_api/gharial
Public methodGetVertexAsyncT(String, String, GetVertexQuery)
Gets a vertex based on its document ID.
Public methodGetVertexAsyncT(String, String, String, GetVertexQuery)
Gets a vertex from the given collection. GET/_api/gharial/{graph}/vertex/{collection}/{vertex}
Public methodGetVertexCollectionsAsync
Lists all vertex collections within the given graph. GET /_api/gharial/{graph}/vertex
Public methodPatchEdgeAsyncT, U(String, String, T, PatchEdgeQuery)
Updates the data of the specific edge based on its document ID.
Public methodPatchEdgeAsyncT, U(String, String, String, T, PatchEdgeQuery)
Updates the data of the specific edge in the collection. PATCH/_api/gharial/{graph}/edge/{collection}/{edge}
Public methodPatchVertexAsyncT, U(String, String, T, PatchVertexQuery)
Updates the data of the specific vertex based on its document ID.
Public methodPatchVertexAsyncT, U(String, String, String, T, PatchVertexQuery)
Updates the data of the specific vertex in the collection. PATCH/_api/gharial/{graph}/vertex/{collection}/{vertex}
Public methodPostEdgeAsyncT
Creates an edge in an existing graph. The edge must contain a _from and _to value referencing valid vertices in the graph. The edge has to conform to the definition of the edge collection it is added to. POST /_api/gharial/{graph}/edge/{collection}
Public methodPostEdgeDefinitionAsync
Adds an additional edge definition to the graph. This edge definition has to contain a collection and an array of each from and to vertex collections. An edge definition can only be added if this definition is either not used in any other graph, or it is used with exactly the same definition. It is not possible to store a definition “e” from “v1” to “v2” in the one graph, and “e” from “v2” to “v1” in the other graph. POST /_api/gharial/{graph}/edge
Public methodPostGraphAsync
Creates a new graph in the graph module. POST /_api/gharial
Public methodPostVertexAsyncT
Adds a vertex to the given collection. POST/_api/gharial/{graph}/vertex/{collection}
Public methodPostVertexCollectionAsync
Adds a vertex collection to the set of orphan collections of the graph. If the collection does not exist, it will be created. POST /_api/gharial/{graph}/vertex
Public methodPutEdgeAsyncT(String, String, T, PutEdgeQuery)
Replaces the data of an edge based on its document ID.
Public methodPutEdgeAsyncT(String, String, String, T, PutEdgeQuery)
Replaces the data of an edge in the collection. PUT /_api/gharial/{graph}/edge/{collection}/{edge}
Public methodPutEdgeDefinitionAsync
Change one specific edge definition. This will modify all occurrences of this definition in all graphs known to your database. PUT/_api/gharial/{graph}/edge/{definition}
Public methodPutVertexAsyncT(String, String, T, PutVertexQuery)
Replaces the data of a vertex based on its document ID.
Public methodPutVertexAsyncT(String, String, String, T, PutVertexQuery)
Replaces the data of a vertex in the collection. PUT/_api/gharial/{graph}/vertex/{collection}/{vertex}
Top
See Also