{
  "data": {
    "name": "HackerNews API",
    "version": "1.0.0",
    "description": "高性能HackerNews API封装，基于Cloudflare Workers",
    "endpoints": {
      "stories": {
        "top": "/stories/top",
        "new": "/stories/new",
        "best": "/stories/best",
        "job": "/stories/job"
      },
      "feeds": {
        "top": "/feed/top",
        "new": "/feed/new",
        "best": "/feed/best"
      },
      "single": {
        "story": "/story/:id",
        "item": "/item/:id",
        "user": "/user/:username"
      },
      "advanced": {
        "trending": "/trending",
        "search": "/search"
      },
      "compatibility": {
        "v0_topstories": "/v0/topstories.json",
        "v0_newstories": "/v0/newstories.json",
        "v0_beststories": "/v0/beststories.json",
        "v0_jobstories": "/v0/jobstories.json",
        "v0_item": "/v0/item/:id.json",
        "v0_user": "/v0/user/:username.json",
        "v0_maxitem": "/v0/maxitem.json"
      },
      "utils": {
        "health": "/health",
        "stats": "/stats"
      }
    },
    "parameters": {
      "limit": "Number of items (default: 30, max: 1000)",
      "details": "Include full details (true/false)",
      "comments": "Include comments for story (true/false)",
      "depth": "Comment tree depth (default: 2, max: 10)",
      "q": "Search query (title, author, url)",
      "author": "Filter by author username",
      "domain": "Filter by URL domain",
      "type": "Story type: top, new, best, job (default: top)"
    }
  },
  "meta": {
    "timestamp": 1786405139221,
    "cached": false
  }
}