Managed Service for MySQL API, REST: Database.Get
Retrieves information about the specified database.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-mysql/v1/clusters/{clusterId}/databases/{databaseName}
Path parameters
Field |
Description |
clusterId |
string Required field. ID of the cluster that the database belongs to. To get this ID, make a ClusterService.List request. |
databaseName |
string Required field. Name of the database to return information about. To get this name, make a DatabaseService.List request. |
Response
HTTP Code: 200 - OK
{
"name": "string",
"clusterId": "string"
}
An object that represents MySQL database.
See the documentation for details.
Field |
Description |
name |
string Name of the database. |
clusterId |
string ID of the cluster that the database belongs to. |