Managed Service for ClickHouse API, gRPC: FormatSchemaService.List
Returns a list of format schemas in a cluster.
gRPC request
rpc List (ListFormatSchemasRequest) returns (ListFormatSchemasResponse)
ListFormatSchemasRequest
{
"cluster_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
cluster_id |
string Required field. ClickHouse cluster ID. To get a ClickHouse cluster ID, use the ClusterService.List method. |
page_size |
int64 The maximum number of results per page to return. If the number of the results is larger than |
page_token |
string Page token. To get the next page of results, set |
ListFormatSchemasResponse
{
"format_schemas": [
{
"name": "string",
"cluster_id": "string",
"type": "FormatSchemaType",
"uri": "string"
}
],
"next_page_token": "string"
}
Field |
Description |
format_schemas[] |
List of format schemas. |
next_page_token |
string This token allows you to get the next page of results when requesting the format schema list. If the number of the results is larger than ListFormatSchemasRequest.page_size, use the |
FormatSchema
Field |
Description |
name |
string Format schema name. |
cluster_id |
string ClickHouse cluster ID. |
type |
enum FormatSchemaType Schema type. Possible values are the following:
|
uri |
string Link to the file of a format schema in Yandex Object Storage. Managed Service for ClickHouse works only with format schemas imported to Object Storage. |