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
{
"clusterId": "string",
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
clusterId |
string Required field. ClickHouse cluster ID. To get a ClickHouse cluster ID, use the ClusterService.List method. |
pageSize |
int64 The maximum number of results per page to return. If the number of the results is larger than |
pageToken |
string Page token. To get the next page of results, set |
ListFormatSchemasResponse
{
"formatSchemas": [
{
"name": "string",
"clusterId": "string",
"type": "FormatSchemaType",
"uri": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
formatSchemas[] |
List of format schemas. |
nextPageToken |
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.pageSize, use the |
FormatSchema
Field |
Description |
name |
string Format schema name. |
clusterId |
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. |