{
  "repo": "tidbcloud/infra-provider",
  "binary": "cluster-server",
  "binary_path": "cluster-server/main.go",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "extensions": {},
  "services": [
    {
      "name": "ClusterServerGateway",
      "type": "http",
      "methods": [
        {
          "name": "GatewayRoutes",
          "name_key": "ClusterServerGateway.GatewayRoutes",
          "path": "/api/v1/*|/cluster-server/api/v1/*",
          "method": "ANY",
          "description": "HTTP gateway for ClusterService, ClusterOperationService, ReplayService, TidbGroupService, PrivateLinkService, and BRService."
        },
        {
          "name": "healthz",
          "name_key": "ClusterServerGateway.healthz",
          "path": "/healthz",
          "method": "ANY",
          "description": "gRPC health endpoint published through grpc-gateway."
        }
      ]
    },
    {
      "name": "ClusterServerGRPC",
      "type": "grpc",
      "methods": [
        {
          "name": "ClusterService",
          "name_key": "ClusterServerGRPC.ClusterService",
          "description": "Cluster lifecycle and audit-log APIs."
        },
        {
          "name": "ClusterOperationService",
          "name_key": "ClusterServerGRPC.ClusterOperationService",
          "description": "Cluster operation workflow APIs."
        },
        {
          "name": "TidbGroupService",
          "name_key": "ClusterServerGRPC.TidbGroupService",
          "description": "TiDB group management APIs."
        },
        {
          "name": "PrivateLinkService",
          "name_key": "ClusterServerGRPC.PrivateLinkService",
          "description": "Private link service APIs."
        },
        {
          "name": "ReplayService",
          "name_key": "ClusterServerGRPC.ReplayService",
          "description": "Replay workflow APIs."
        },
        {
          "name": "BRService",
          "name_key": "ClusterServerGRPC.BRService",
          "description": "Backup and restore service APIs."
        },
        {
          "name": "Health",
          "name_key": "ClusterServerGRPC.Health",
          "description": "Standard gRPC health service."
        }
      ]
    }
  ]
}
