{
  "api": "gulu-likes",
  "version": "1",
  "authentication": {
    "header": "X-API-Key",
    "query": "?key=...",
    "key": "gulu-likes-2026"
  },
  "endpoints": [
    {
      "method": "GET",
      "path": "/api/help",
      "description": "显示接口帮助（无需密钥）"
    },
    {
      "method": "GET",
      "path": "/api/list",
      "description": "拉取作品简略列表",
      "params": "date, q, status, limit, offset"
    },
    {
      "method": "GET",
      "path": "/api/item/:n",
      "description": "获取作品链接、点赞数和图片链接"
    },
    {
      "method": "GET",
      "path": "/api/logs",
      "description": "每日抓取情况与同步健康状态；支持 date=YYYY-MM-DD"
    },
    {
      "method": "GET",
      "path": "/api/logs/view",
      "description": "抓取日志网页"
    },
    {
      "method": "GET",
      "path": "/api/download?date=YYYY-MM-DD",
      "description": "返回日期 ZIP 地址"
    },
    {
      "method": "GET",
      "path": "/api/download?item=N",
      "description": "返回作品文件夹与图片清单"
    }
  ],
  "examples": [
    "curl -H 'X-API-Key: gulu-likes-2026' https://likes.chopperh.me/api/list",
    "curl -H 'X-API-Key: gulu-likes-2026' 'https://likes.chopperh.me/api/list?date=2026-09-07&limit=100'",
    "curl -H 'X-API-Key: gulu-likes-2026' https://likes.chopperh.me/api/item/357",
    "curl -H 'X-API-Key: gulu-likes-2026' 'https://likes.chopperh.me/api/download?date=2026-09-07'"
  ]
}