{
  "openapi": "3.1.0",
  "info": {
    "title": "Web Game Game News API",
    "version": "2.0.0",
    "description": "Read-only static API for complete Night Wire intelligence and the Xai infrastructure running beneath every district."
  },
  "servers": [
    {
      "url": "https://www.webgamegame.win"
    }
  ],
  "paths": {
    "/api/news/v1/index.json": {
      "get": {
        "operationId": "getNewsApiIndex",
        "summary": "Get news API route index",
        "responses": {
          "200": {
            "description": "News API index",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/news/v1/latest.json": {
      "get": {
        "operationId": "getLatestNewsEdition",
        "summary": "Get the latest seven-article edition, including the daily Black Ledger dispatch",
        "responses": {
          "200": {
            "description": "Latest edition",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/news/v1/articles.json": {
      "get": {
        "operationId": "getNewsArticles",
        "summary": "Get all published articles",
        "responses": {
          "200": {
            "description": "Article collection",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/news/v1/search-index.json": {
      "get": {
        "operationId": "getNewsSearchIndex",
        "summary": "Get the lightweight bilingual article index used by newsroom search",
        "responses": {
          "200": {
            "description": "Search metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/news/v1/articles/{slug}.json": {
      "get": {
        "operationId": "getNewsArticle",
        "summary": "Get one bilingual article",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Article",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Unknown article"
          }
        }
      }
    },
    "/api/news/v1/editions/{date}.json": {
      "get": {
        "operationId": "getNewsEdition",
        "summary": "Get a dated edition",
        "parameters": [
          {
            "name": "date",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Edition",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Unknown edition"
          }
        }
      }
    }
  }
}
