{
  "openapi": "3.1.0",
  "info": {
    "title": "Species.dk Public Knowledge API",
    "version": "1.0.0",
    "description": "Public, read-only access to Species.dk search and encyclopedia entries."
  },
  "servers": [
    {
      "url": "https://species.dk"
    }
  ],
  "paths": {
    "/api/search/": {
      "get": {
        "operationId": "searchSpecies",
        "summary": "Search Species.dk",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Search results",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/entry/": {
      "get": {
        "operationId": "getSpeciesEntry",
        "summary": "Retrieve an entry",
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Encyclopedia entry",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Entry not found"
          }
        }
      }
    },
    "/api/status/": {
      "get": {
        "operationId": "getStatus",
        "summary": "Service health",
        "responses": {
          "200": {
            "description": "Service is available"
          }
        }
      }
    }
  }
}
