{
  "ok": true,
  "name": "历史大事件 API",
  "version": "1.0.0",
  "source": "d1",
  "endpoints": [
    "GET /api/v1/health",
    "GET /api/v1/meta",
    "GET /api/v1/events?q=&region=&era=&category=&from=&to=&page=&pageSize=",
    "GET /api/v1/events/{id}",
    "GET /api/v1/random?n=3",
    "GET /api/v1/timeline?granularity=century",
    "GET /api/v1/stats",
    "GET /api/v1/on-this-day",
    "GET /api/v1/export?format=csv",
    "GET /api/v1/openapi.json",
    "POST /api/v1/events（X-API-Key）",
    "PATCH /api/v1/events/{id}（X-API-Key）",
    "DELETE /api/v1/events/{id}（X-API-Key）"
  ],
  "docs": "https://history-events.pages.dev/docs.html"
}