{
  "repo": "pingcap/tidb-lightning",
  "binary": "tidb-lightning",
  "binary_path": "cmd/tidb-lightning/main.go",
  "surface_kind": "mixed_service",
  "type": "worker",
  "services": [],
  "extensions": {
    "http_routes": [
      {
        "name": "ManageTasks",
        "name_key": "Runtime LightningServer.ManageTasks",
        "kind": "task_api",
        "description": "Creates or manages import tasks in server mode."
      },
      {
        "name_key": "HTTP GET /metrics",
        "method": "GET",
        "path": "/metrics",
        "description": "Exposes Prometheus metrics for the running Lightning process."
      }
    ],
    "notes": [
      "CLI-started import worker that can run a one-shot restore or stay in server mode while exposing status, metrics, pprof, and task endpoints."
    ]
  }
}
