Managed Service for MongoDB API, REST: Cluster.GetShard
Статья создана
Обновлена 17 октября 2024 г.
Returns the specified shard.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-mongodb/v1/clusters/{clusterId}/shards/{shardName}
Path parameters
Field |
Description |
clusterId |
string Required field. ID of the MongoDB cluster that the shard belongs to. |
shardName |
string Required field. Name of the MongoDB shard to return. |
Response
HTTP Code: 200 - OK
{
"name": "string",
"clusterId": "string"
}
Field |
Description |
name |
string Name of the shard. |
clusterId |
string ID of the cluster that the shard belongs to. |