Method getShard

Returns the specified shard.

HTTP request

GET https://mdb.api.cloud.yandex.net/managed-mongodb/v1/clusters/{clusterId}/shards/{shardName}

Path parameters

Parameter Description
clusterId Required. The maximum string length in characters is 50.
shardName Required. The maximum string length in characters is 63. Value must match the regular expression [a-zA-Z0-9_-]*.

Response

HTTP Code: 200 - OK

{
  "name": "string",
  "clusterId": "string"
}
Field Description
name string
clusterId string