{
  "repo": "pingcap/tiup",
  "binary": "playground",
  "binary_path": "components/playground/main.go",
  "kind": "service",
  "description": "Ephemeral local-cluster playground that runs a long-lived command server alongside the interactive CLI.",
  "interfaces": {
    "http": {
      "endpoints": [
        {
          "path": "/command",
          "method": "POST",
          "description": "Receives display, scale-in, and scale-out commands for the running playground cluster.",
          "implementation": "components/playground/playground.go"
        },
        {
          "path": "/debug/pprof/*",
          "method": "GET",
          "description": "Exposes Go runtime profiling handlers on the default mux while the playground daemon is running.",
          "implementation": "components/playground/main.go"
        }
      ]
    }
  }
}
