{
  "openapi": "3.1.0",
  "info": {
    "title": "Puma Browser Site API",
    "version": "1.0.0",
    "description": "Public discovery endpoints for the Puma Browser website. Marketing content is readable without authentication; optional agent registration is documented in /auth.md.",
    "contact": {
      "name": "Puma Browser",
      "email": "rawr@pumabrowser.com",
      "url": "https://www.pumabrowser.com/"
    }
  },
  "servers": [
    {
      "url": "https://www.pumabrowser.com"
    }
  ],
  "paths": {
    "/api/status.json": {
      "get": {
        "operationId": "getStatus",
        "summary": "Health status",
        "responses": {
          "200": {
            "description": "Service is healthy",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": { "type": "string" },
                    "service": { "type": "string" },
                    "version": { "type": "string" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/site.json": {
      "get": {
        "operationId": "getSiteInfo",
        "summary": "Product and site discovery info",
        "responses": {
          "200": {
            "description": "Site metadata for agents",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": { "type": "string" },
                    "url": { "type": "string", "format": "uri" },
                    "description": { "type": "string" },
                    "downloads": { "type": "object" },
                    "pages": { "type": "object" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/": {
      "get": {
        "operationId": "getApiIndex",
        "summary": "API index",
        "responses": {
          "200": {
            "description": "API entrypoint links"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Optional. See /auth.md and /.well-known/oauth-protected-resource."
      }
    }
  }
}
