Click or drag to resize

IGraphApiClientPostVertexAsyncT Method

Adds a vertex to the given collection. POST/_api/gharial/{graph}/vertex/{collection}

Namespace:  ArangoDBNetStandard.GraphApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
Task<PostVertexResponse<T>> PostVertexAsync<T>(
	string graphName,
	string collectionName,
	T vertex,
	PostVertexQuery query = null,
	ApiClientSerializationOptions serializationOptions = null
)

Parameters

graphName
Type: SystemString
collectionName
Type: SystemString
vertex
Type: T
query (Optional)
Type: ArangoDBNetStandard.GraphApi.ModelsPostVertexQuery
serializationOptions (Optional)
Type: ArangoDBNetStandard.SerializationApiClientSerializationOptions
The serialization options. When the value is null the the serialization options should be provided by the serializer, otherwise the given options should be used.

Type Parameters

T

Return Value

Type: TaskPostVertexResponseT
See Also