{
  "openapi": "3.1.0",
  "info": {
    "title": "subhadipmitra.com content index",
    "version": "1.0.0",
    "description": "Read-only JSON index of essays, publications, projects, results and instruments on https://subhadipmitra.com. No authentication."
  },
  "servers": [
    {
      "url": "https://subhadipmitra.com"
    }
  ],
  "paths": {
    "/api/agent-index.json": {
      "get": {
        "operationId": "getContentIndex",
        "summary": "Full content index",
        "responses": {
          "200": {
            "description": "Site metadata plus posts, publications, projects, results and instruments.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "site": {
                      "type": "object"
                    },
                    "posts": {
                      "type": "array"
                    },
                    "publications": {
                      "type": "array"
                    },
                    "projects": {
                      "type": "array"
                    },
                    "results": {
                      "type": "array"
                    },
                    "instruments": {
                      "type": "array"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/posts.json": {
      "get": {
        "operationId": "getLatestPosts",
        "summary": "The five latest posts",
        "responses": {
          "200": {
            "description": "Array of posts (title, url, date, description).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
