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
Parameter | Description |
---|---|
clusterId | Required. ID of the cluster that the database belongs to. To get this ID, make a list request. The maximum string length in characters is 50. |
databaseName | Required. Name of the database to return information about. To get this name, make a list request. The maximum string length in characters is 63. Value must match the regular expression |
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. |