{
  "repo": "pingcap/tiup",
  "binary": "server",
  "binary_path": "server/main.go",
  "kind": "service",
  "description": "Mirror bootstrap server that exposes artifact signing and root rotation HTTP endpoints while serving mirrored static content.",
  "interfaces": {
    "http": {
      "endpoints": [
        {
          "path": "/api/v1/tarball/{sid}",
          "method": "ANY",
          "description": "Uploads a tarball to the temporary signing session.",
          "implementation": "server/router.go"
        },
        {
          "path": "/api/v1/component/{sid}/{name}",
          "method": "ANY",
          "description": "Signs a component manifest within a temporary session.",
          "implementation": "server/router.go"
        },
        {
          "path": "/api/v1/rotate",
          "method": "ANY",
          "description": "Triggers root key rotation flow for the mirror.",
          "implementation": "server/router.go"
        },
        {
          "path": "/",
          "method": "GET",
          "description": "Serves mirror metadata and static content from the configured source directory.",
          "implementation": "server/router.go"
        }
      ]
    }
  }
}
