replication
Get sharding state
Fetches the current sharding state, including replica locations and statuses, for all collections or a specified collection. If a shard name is provided along with a collection, the state for that specific shard is returned.
get/replication/sharding-state
Request
- Base URL: https://localhost:8080/v1
- URL: https://localhost:8080/v1/replication/sharding-state
- Auth: one of:
- none
- OAuth 2 (implicit, authorization URL http://to-be-configured-in-the-application-config)
Query parameters
collectionstring
The collection name to get the sharding state for.
shardstring
The shard to get the sharding state for.
Response
Successfully retrieved sharding state.
Changes
No recorded changes to this operation across all 1 revision of this API.