{
 "openapi": "3.1.0",
 "info": {
  "title": "ML-Quant API",
  "version": "1",
  "description": "Static, read-only JSON for everything on ML-Quant: weekly issues, featured papers, topics, the GitHub radar and the track record. No key.",
  "license": {
   "name": "CC BY 4.0 (summaries)",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 },
 "servers": [
  {
   "url": "https://www.ml-quant.com"
  }
 ],
 "paths": {
  "/api/v1/index.json": {
   "get": {
    "summary": "Every endpoint with counts",
    "parameters": [],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/issues.json": {
   "get": {
    "summary": "All issues",
    "parameters": [],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/issues/{date}.json": {
   "get": {
    "summary": "One issue, every line",
    "parameters": [
     {
      "name": "date",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/papers/{venue}.json": {
   "get": {
    "summary": "Featured papers of one venue (arxiv, ssrn, repec, ml)",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/topics.json": {
   "get": {
    "summary": "Topics with counts",
    "parameters": [],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/topics/{slug}.json": {
   "get": {
    "summary": "One topic's papers and quarterly counts",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/library/{kind}.json": {
   "get": {
    "summary": "Library items (news, podcast, blog, video, github, pwc, x, reddit)",
    "parameters": [
     {
      "name": "kind",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/track-record.json": {
   "get": {
    "summary": "Every featured paper with citations and venue",
    "parameters": [],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/radar.json": {
   "get": {
    "summary": "This week's GitHub radar",
    "parameters": [],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/search.json": {
   "get": {
    "summary": "Compact search index",
    "parameters": [],
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  }
 }
}