{
  "openapi": "3.1.0",
  "info": {
    "title": "weesdo Site Denetimi API",
    "version": "1.0.0",
    "description": "Site denetimi: 119 kriter / 15 kategori AI gorunurluk olcumu. Ajanlar icin MCP ucu: POST https://weesdo.com/mcp"
  },
  "servers": [{ "url": "https://weesdo.com" }],
  "paths": {
    "/api/tara": {
      "post": {
        "operationId": "siteTara",
        "summary": "Siteyi denetle ve puanla",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["url"],
                "properties": {
                  "url": { "type": "string", "description": "https:// ile baslayan tam adres" },
                  "sektor": { "type": "string" },
                  "rakip": { "type": "string" }
                }
              }
            }
          }
        },
        "responses": { "200": { "description": "Puan, kategori puanlari, eksikler, rapor kimligi" } }
      }
    },
    "/rapor/{id}": {
      "get": {
        "operationId": "raporGetir",
        "summary": "Kaydedilmis raporu getir",
        "parameters": [{ "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }],
        "responses": { "200": { "description": "Rapor HTML" } }
      }
    },
    "/mcp": {
      "post": {
        "operationId": "mcp",
        "summary": "MCP JSON-RPC ucu (initialize, tools/list, tools/call)",
        "responses": { "200": { "description": "JSON-RPC yaniti" } }
      }
    }
  }
}
