{
  "openapi": "3.1.0",
  "info": {
    "title": "RingSide Telemetry \u2014 Ragdoll Robot Boxing API",
    "version": "1.0.0",
    "description": "Public read-only API providing verified promo codes (800 Gears + 101 Spins), all 24 official Roblox badges with live ownership and 24-hour velocity, and 3 Robux Game Passes for Ragdoll Robot Boxing (Place ID 94491633857486, Universe ID 10772027067).",
    "contact": {
      "name": "RingSide Telemetry Editorial",
      "url": "https://ragdoll-robot-boxing.pages.dev/about/"
    }
  },
  "servers": [
    {
      "url": "https://ragdoll-robot-boxing.pages.dev"
    }
  ],
  "paths": {
    "/api/lookup": {
      "get": {
        "operationId": "lookupRagdollRobotBoxing",
        "summary": "Search promo codes, 24 official badges, Game Passes, and bot rings",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "Code name (e.g. 800LIKES), badge name or ID (e.g. Champion, 616716213779100), rarity tier (Mythic), or Game Pass (2x GEARS).",
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching telemetry records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "query": {
                      "type": "string"
                    },
                    "count": {
                      "type": "integer"
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Missing or empty query parameter q."
          },
          "404": {
            "description": "No matching records found for query q."
          }
        }
      }
    },
    "/api/codes.json": {
      "get": {
        "operationId": "listCodesAndGamePasses",
        "summary": "Get all 8 active codes, 4 expired codes, and 3 Robux Game Passes",
        "responses": {
          "200": {
            "description": "Complete JSON dataset of promo codes and Game Passes."
          }
        }
      }
    },
    "/api/badges.json": {
      "get": {
        "operationId": "listBadges",
        "summary": "Get all 24 official Roblox badges with awardedCount, pastDayAwardedCount, and winRatePercentage",
        "responses": {
          "200": {
            "description": "Complete JSON dataset of all 24 official Roblox badges."
          }
        }
      }
    },
    "/api/health.json": {
      "get": {
        "operationId": "getHealth",
        "summary": "Service health check",
        "responses": {
          "200": {
            "description": "Health status JSON."
          }
        }
      }
    }
  }
}