ICollectionApiClientPutDocumentShardAsync Method |
Returns the responsible shard for a document.
PUT /_api/collection/{collection-name}/responsibleShard
Namespace:
ArangoDBNetStandard.CollectionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PutDocumentShardResponse> PutDocumentShardAsync(
string collectionName,
Dictionary<string, Object> body
)
Function PutDocumentShardAsync (
collectionName As String,
body As Dictionary(Of String, Object)
) As Task(Of PutDocumentShardResponse)
Task<PutDocumentShardResponse^>^ PutDocumentShardAsync(
String^ collectionName,
Dictionary<String^, Object^>^ body
)
abstract PutDocumentShardAsync :
collectionName : string *
body : Dictionary<string, Object> -> Task<PutDocumentShardResponse>
Parameters
- collectionName
- Type: SystemString
Name of the collection. - body
- Type: System.Collections.GenericDictionaryString, Object
Body of the request consisting of key/value
pairs with at least the collection’s shard
key attributes set to some values.
Return Value
Type:
TaskPutDocumentShardResponseSee Also