Managed Service for SPQR API, REST: Database.List
Retrieves the list of SPQR Database resources in the specified cluster.
HTTP request
GET https://mdb.api.yandexcloud.kz/managed-spqr/v1/clusters/{clusterId}/databases
Path parameters
|
Field |
Description |
|
clusterId |
string Required field. ID of the SPQR cluster to list databases in. |
Query parameters
|
Field |
Description |
|
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
|
pageToken |
string Page token. To get the next page of results, set |
Response
HTTP Code: 200 - OK
{
"databases": [
{
"name": "string",
"clusterId": "string"
}
],
"nextPageToken": "string"
}
|
Field |
Description |
|
databases[] |
List of SPQR databases. |
|
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
Database
A SPQR Database resource. For more information, see the
Developer's Guide.
|
Field |
Description |
|
name |
string Name of the database. |
|
clusterId |
string ID of the SPQR cluster that the database belongs to. |