List table columns
Changed onReturns schema detail per node because schema drift can occur during failed or partial DDL.
Request
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/tables/{database}/{table}/columns
- Auth: none declared
Path parameters
ClickHouse database name.
ClickHouse table name.
Query parameters
Filter by movoor configured node id.
Filter columns by ClickHouse column kind. Known values include ordinary, materialized, alias, default, and ephemeral. This is an open string.
Filter by object name.
Response
Column definitions by node.
Example response
{
"collection": {
"warnings": [
{
"code": "node_unreachable",
"message": "clickhouse-shard2-replica2 did not respond before timeout",
"nodeId": "shard2-replica2"
}
]
},
"items": [
{
"nodeId": "shard1-replica1",
"shard": "shard1",
"replica": "replica1",
"conditions": [
{
"code": "replica_disk_mismatch"
}
]
}
],
"conditions": [
{
"code": "replica_disk_mismatch"
}
]
}Changes
- breaking
response property
items/items/allOf[subschema #2]/columns/items/codecExpressionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/columns/items/defaultExpressionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/columns/items/defaultKindlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/columns/items/ttlExpressionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking
- info
endpoint added
- info