conditions

Returns a flattened, unpaginated triage list. The list can grow with the observed cluster state, but the intended UI workload is bounded by the configured tables and nodes.

get/conditions

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/conditions
  • Auth: none declared

Query parameters

severity'critical' | 'warning' | 'info'

API-owned condition severity.

Filter by API-owned condition severity. Invalid values return 400.

codestring
Example:replica_disk_mismatch

Filter by open condition code. Unknown values are valid and return an empty result set when no matching condition exists.

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.

partitionIdstring
Example:d82d64de29c8683be4aad2f0fd38d74e

Filter by ClickHouse partition_id verbatim. partitionId is URL-safe but unique only within the selected database and table.

Response

Flattened conditions.

Example response

{
  "collection": {
    "warnings": [
      {
        "code": "node_unreachable",
        "message": "clickhouse-shard2-replica2 did not respond before timeout",
        "nodeId": "shard2-replica2"
      }
    ]
  },
  "items": [
    {
      "code": "replica_disk_mismatch"
    }
  ]
}

Changes

    • breaking

      response property items/items/database list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property items/items/nodeId list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property items/items/partition list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property items/items/partitionId list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property items/items/table list-of-types was widened by adding types null to media type application/json of response 200

    • info

      endpoint added