Create a snapshot (shard)

POST
Creates a new snapshot of a shard from a collection.

Path parameters

collection_namestringRequired
Name of the collection for which to create a snapshot
shard_idintegerRequired
Id of the shard

Query parameters

waitbooleanOptional
If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.

Response

This endpoint returns an object.
timedoubleOptional
Time spent to process this request
statusstringOptional
resultobjectOptional