Click or drag to resize

CollectionApiClientGetCollectionShardsWithDetailsAsync Method

Returns the shard ids of a collection. This method is only available in a cluster Coordinator. The response also contains shard IDs as object attribute keys, and the responsible servers for each shard mapped to them. The leader shards will be first in the arrays. GET /_api/collection/{collection-name}/shards?details=true

Namespace:  ArangoDBNetStandard.CollectionApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public virtual Task<GetCollectionShardsDetailedResponse> GetCollectionShardsWithDetailsAsync(
	string collectionName
)

Parameters

collectionName
Type: SystemString
Name of the collection.

Return Value

Type: TaskGetCollectionShardsDetailedResponse

Implements

ICollectionApiClientGetCollectionShardsWithDetailsAsync(String)
See Also