Click or drag to resize

GraphApiClientPostGraphAsync Method

Creates a new graph in the graph module. POST /_api/gharial

Namespace:  ArangoDBNetStandard.GraphApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public virtual Task<PostGraphResponse> PostGraphAsync(
	PostGraphBody postGraphBody,
	PostGraphQuery query = null
)

Parameters

postGraphBody
Type: ArangoDBNetStandard.GraphApi.ModelsPostGraphBody
The information of the graph to create.
query (Optional)
Type: ArangoDBNetStandard.GraphApi.ModelsPostGraphQuery
Optional query parameters of the request.

Return Value

Type: TaskPostGraphResponse

Implements

IGraphApiClientPostGraphAsync(PostGraphBody, PostGraphQuery)
Remarks
The creation of a graph requires the name of the graph and a definition of its edges.
See Also