Managed Service for ClickHouse API, REST: Database.Get
Returns the specified ClickHouse Database resource.
To get the list of available ClickHouse Database resources, make a List request.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-clickhouse/v1/clusters/{clusterId}/databases/{databaseName}
Path parameters
|
Field |
Description |
|
clusterId |
string Required field. ID of the ClickHouse cluster that the database belongs to. |
|
databaseName |
string Required field. Name of the ClickHouse Database resource to return. |
Response
HTTP Code: 200 - OK
{
"name": "string",
"clusterId": "string",
"engine": "string"
}
A ClickHouse Database resource. For more information, see the
Developer's Guide.
|
Field |
Description |
|
name |
string Name of the database. |
|
clusterId |
string ID of the ClickHouse cluster that the database belongs to. |
|
engine |
enum (DatabaseEngine) Database engine. For details, see ClickHouse documentation
|