{
  "name": "Blog Posts API",
  "version": "1.1.0",
  "endpoints": {
    "categories": "GET /api/categories - 获取所有支持的分类",
    "list": "GET /api/:category - 获取某个分类的文章列表（包含元数据）",
    "post": "GET /api/:category/:slug - 获取某篇文章的完整内容",
    "clearCache": "POST /api/admin/clear-cache - 清除缓存（需要管理员密钥）"
  },
  "supportedCategories": [
    "articles",
    "weekly"
  ],
  "examples": [
    "/api/categories",
    "/api/articles",
    "/api/articles/my-first-post",
    "/api/weekly",
    "/api/weekly/week-1"
  ],
  "cacheManagement": {
    "endpoint": "POST /api/admin/clear-cache",
    "header": "X-Admin-Secret: your-secret-key",
    "body": {
      "type": "all | category | post",
      "category": "分类名（type=category 或 post 时需要）",
      "slug": "文章slug（type=post 时需要）"
    }
  }
}