{
  "openapi": "3.0.0",
  "info": {
    "title": "QUQIQER Core REST API",
    "description": "REST API for basic QUIQQER operations.",
    "version": "0.0.1"
  },
  "paths": {
    "/projects/{project}/{lang}/{id}": {
      "get": {
        "summary": "Get attributes of a QUIQQER Site.",
        "parameters": [
          {
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string",
              "description": "QUIQQER Project name"
            }
          },
          {
            "in": "path",
            "name": "lang",
            "required": true,
            "schema": {
              "type": "string",
              "description": "2-character language code (project language)"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer",
              "description": "Site ID (must be Site of the given QUIQQER Project)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "QUIQQER Site attributes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Site"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Site": {
        "type": "object",
        "example": {
          "id": 1,
          "name": "MySite",
          "title": "My Site",
          "content": "<p>This is my content!</p>"
        }
      }
    }
  }
}