{
  "openapi": "3.1.0",
  "info": {
    "title": "SpaceSentinel Cleanup Guides API",
    "description": "Machine-readable disk cleanup guides for Windows, Mac, iOS and Android in 7 languages (zh/en/fr/de/es/ja/ko). Static, free, no auth.",
    "version": "1.0.0"
  },
  "servers": [{ "url": "https://spacesentinel.vercel.app" }],
  "paths": {
    "/api/guides.json": {
      "get": {
        "operationId": "getCleanupGuides",
        "summary": "Get all cleanup guides",
        "description": "Returns step-by-step cleanup instructions for every device type and language, plus the Windows one-click tool download link and safety facts.",
        "responses": {
          "200": {
            "description": "All guides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": { "type": "string" },
                    "website": { "type": "string" },
                    "languages": { "type": "array", "items": { "type": "string" } },
                    "windows_tool": {
                      "type": "object",
                      "properties": {
                        "download": { "type": "string" },
                        "usage": { "type": "string" }
                      }
                    },
                    "guides": {
                      "type": "object",
                      "description": "guides[device][language] = array of 4 step strings",
                      "additionalProperties": {
                        "type": "object",
                        "additionalProperties": { "type": "array", "items": { "type": "string" } }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
