tables
List detached parts
Changed onReturns detached parts from system.detached_parts, per node.
get/tables/{database}/{table}/detached-parts
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}/detached-parts
- Auth: none declared
Path parameters
databasestring required
Example:movoor_dev
ClickHouse database name.
tablestring required
Example:test_generic_network_month_local
ClickHouse table name.
Query parameters
nodeIdstring
Example:shard1-replica1
Filter by movoor configured node id.
shardstring
Example:shard1
Filter by shard id.
replicastring
Example:replica1
Filter by replica id.
partitionIdstring
Example:d82d64de29c8683be4aad2f0fd38d74e
Filter by ClickHouse partition_id verbatim. partitionId is URL-safe but unique only within the selected database and table.
partNamestring
Example:20260108_12_12_0
Filter by ClickHouse part name.
diskstring
Example:cold_disk
Filter by ClickHouse disk name.
reasonstring
Example:broken
Filter by open detached part reason.
Response
Detached part inventory.
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",
"bytesOnDisk": "104",
"rows": "104",
"minBlockNumber": "0",
"maxBlockNumber": "0",
"level": "104",
"conditions": [
{
"code": "replica_disk_mismatch"
}
]
}
]
}Changes
- info
endpoint added
- info