{
  "openapi": "3.0.3",
  "info": {
    "title": "HowToBackupVM public pages",
    "version": "1.0.0",
    "description": "Read-only description of the static HTML and markdown pages on HowToBackupVM. There is no write API and no account."
  },
  "servers": [{ "url": "https://howtobackupvm.com" }],
  "paths": {
    "/{locale}/": {
      "get": {
        "summary": "Landing page",
        "parameters": [{ "$ref": "#/components/parameters/locale" }],
        "responses": { "200": { "description": "Localized landing page" } }
      }
    },
    "/{locale}/blog/": {
      "get": {
        "summary": "Guide index",
        "parameters": [{ "$ref": "#/components/parameters/locale" }],
        "responses": { "200": { "description": "First page of guides" } }
      }
    },
    "/{locale}/blog/{slug}/": {
      "get": {
        "summary": "Guide",
        "parameters": [
          { "$ref": "#/components/parameters/locale" },
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": { "200": { "description": "One translated guide" } }
      }
    },
    "/llms.txt": {
      "get": {
        "summary": "Curated markdown index",
        "responses": { "200": { "description": "llms.txt" } }
      }
    }
  },
  "components": {
    "parameters": {
      "locale": {
        "name": "locale",
        "in": "path",
        "required": true,
        "schema": { "type": "string", "enum": ["en", "ro", "de", "fr", "es", "it"] }
      }
    }
  }
}
