Method listShards

Retrieves a list of shards.

HTTP request

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

Path parameters

Parameter Description
clusterId Required. The maximum string length in characters is 50.

Query parameters

Parameter Description
pageSize The maximum value is 1000.
pageToken The maximum string length in characters is 100.

Response

HTTP Code: 200 - OK

{
  "shards": [
    {
      "name": "string",
      "clusterId": "string"
    }
  ],
  "nextPageToken": "string"
}
Field Description
shards[] object
shards[].
name
string
shards[].
clusterId
string
nextPageToken string