{
 "openapi": "3.1.0",
 "info": {
  "title": "28081999.me — the daily record",
  "version": "1.0.0",
  "description": "A permanent, date-addressed archive of what the world looked up, argued about and published. Static JSON, no authentication, no rate limits.",
  "license": {
   "name": "CC BY-SA 4.0",
   "url": "https://creativecommons.org/licenses/by-sa/4.0/"
  }
 },
 "servers": [
  {
   "url": "https://28081999.me"
  }
 ],
 "paths": {
  "/api/index.json": {
   "get": {
    "summary": "Manifest of every recorded day",
    "operationId": "getIndex",
    "responses": {
     "200": {
      "description": "Archive manifest"
     }
    }
   }
  },
  "/api/day/{date}.json": {
   "get": {
    "summary": "One day record",
    "operationId": "getDay",
    "parameters": [
     {
      "name": "date",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "A frozen day record"
     },
     "404": {
      "description": "Day not recorded"
     }
    }
   }
  },
  "/api/since/{cutoff}.json": {
   "get": {
    "summary": "Everything recorded after a cutoff date",
    "operationId": "getSince",
    "parameters": [
     {
      "name": "cutoff",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The delta"
     }
    }
   }
  },
  "/api/rollup.json": {
   "get": {
    "summary": "Compact whole archive",
    "operationId": "getRollup",
    "responses": {
     "200": {
      "description": "Rollup"
     }
    }
   }
  }
 }
}