{
  "repo": "tidbcloud/car-sales-insight",
  "binary": "cloudflare-worker",
  "binary_path": "examples/cloudflare-workers/package.json",
  "surface_kind": "http_service",
  "type": "http_service",
  "services": [
    {
      "name": "CloudflareWorkerAPI",
      "package": "examples/cloudflare-workers/src/worker.ts",
      "type": "http",
      "methods": [
        {
          "name": "GET /api/avg_price_per_year",
          "name_key": "HTTP GET /api/avg_price_per_year",
          "path": "/api/avg_price_per_year",
          "http_method": "GET",
          "input": "none",
          "output": "average price by year",
          "type": "http"
        },
        {
          "name": "GET /api/price_by_brand_year",
          "name_key": "HTTP GET /api/price_by_brand_year",
          "path": "/api/price_by_brand_year",
          "http_method": "GET",
          "input": "year query parameter",
          "output": "top prices for the selected year",
          "type": "http"
        },
        {
          "name": "GET /api/order_by_brand_year",
          "name_key": "HTTP GET /api/order_by_brand_year",
          "path": "/api/order_by_brand_year",
          "http_method": "GET",
          "input": "year query parameter",
          "output": "top order counts by brand for the selected year",
          "type": "http"
        },
        {
          "name": "GET /api/total_order_per_year",
          "name_key": "HTTP GET /api/total_order_per_year",
          "path": "/api/total_order_per_year",
          "http_method": "GET",
          "input": "none",
          "output": "total orders grouped by year",
          "type": "http"
        }
      ]
    }
  ],
  "extensions": {}
}
