{
  "openapi": "3.1.0",
  "info": {
    "title": "Sited public API",
    "version": "1.0.0",
    "description": "Public endpoints of sited.online. Other /api routes are internal to the website."
  },
  "servers": [{ "url": "https://sited.online" }],
  "paths": {
    "/api/health": {
      "get": {
        "summary": "Service health check",
        "operationId": "getHealth",
        "responses": {
          "200": {
            "description": "Service is up",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": ["ok", "service"],
                  "properties": {
                    "ok": { "type": "boolean" },
                    "service": { "type": "string" }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
