Click or drag to resize

GraphApiClient.PostGraphAsync 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.Models.PostGraphBody
The information of the graph to create.
query (Optional)
Type: ArangoDBNetStandard.GraphApi.Models.PostGraphQuery
Optional query parameters of the request.

Return Value

Type: Task<PostGraphResponse>

Implements

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