List recent part events
Changed onReturns recent part history from system.part_log when enabled. The scan is bounded to the requested from/to window (defaulting to the last 7 days) and to the newest 1000 events per table per node. If a node is reachable but part_log is unavailable, return partial data with a capability warning.
Request
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/part-events
- Auth: none declared
Query parameters
Filter by movoor configured node id.
Filter by ClickHouse database name.
Filter by ClickHouse table name.
Filter by ClickHouse partition_id verbatim. partitionId is URL-safe but unique only within the selected database and table.
Filter by ClickHouse part name.
Filter by open ClickHouse part_log event type. Known values include NewPart, MergeParts, DownloadPart, RemovePart, and MovePart. Unknown values are valid and return an empty result set when no event exists.
Include events at or after this RFC3339 timestamp. When omitted, the window defaults to the last 7 days.
Include events before or at this RFC3339 timestamp.
Response
Recent part events.
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",
"durationMs": "104",
"rows": "104",
"bytesCompressed": "104",
"bytesUncompressed": "104",
"readRows": "104",
"readBytes": "104",
"error": "0"
}
]
}Changes
- breaking
response property
items/items/allOf[subschema #2]/exceptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/sourceDisklist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/targetDisklist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking
- info
endpoint added
- info