operations
List mutations
Changed onReturns detailed unfinished and recent mutations from system.mutations, per node.
get/operations/mutations
Request
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/operations/mutations
- Auth: none declared
Query parameters
nodeIdstring
Example:shard1-replica1
Filter by movoor configured node id.
databasestring
Example:movoor_dev
Filter by ClickHouse database name.
tablestring
Example:test_generic_network_month_local
Filter by ClickHouse table name.
mutationIdstring
Example:mutation_42.txt
Filter by ClickHouse mutation id.
doneboolean
Filter mutations by isDone.
failedboolean
Filter mutations by whether they have a latest failure.
Response
Mutation details.
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",
"partsToDo": "104",
"blockNumbers": [
{
"number": "104"
}
],
"conditions": [
{
"code": "replica_disk_mismatch"
}
]
}
]
}Changes
- breaking
response property
items/items/allOf[subschema #2]/latestFailReasonlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/latestFailedPartlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
///response's property type changed from no type tostringfor status
- breaking
- info
endpoint added
- info