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
)
Public Overridable Function PostGraphAsync (
postGraphBody As PostGraphBody,
Optional query As PostGraphQuery = Nothing
) As Task(Of PostGraphResponse)
public:
virtual Task<PostGraphResponse^>^ PostGraphAsync(
PostGraphBody^ postGraphBody,
PostGraphQuery^ query = nullptr
)
abstract PostGraphAsync :
postGraphBody : PostGraphBody *
?query : PostGraphQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<PostGraphResponse>
override PostGraphAsync :
postGraphBody : PostGraphBody *
?query : PostGraphQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<PostGraphResponse>
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:
TaskPostGraphResponseImplements
IGraphApiClientPostGraphAsync(PostGraphBody, PostGraphQuery)Remarks
The creation of a graph requires the name of the graph and a definition of its edges.
See Also