{
  "service": "yixue-core",
  "version": "1.0.0",
  "description": "灵枢易学公共核心算法引擎 (万年历/干支/神煞/五行/历法转换)",
  "homepage": "https://yixue-core.ruvo.dev",
  "status": "operational",
  "endpoints": [
    {
      "path": "/api/lunar",
      "method": "GET | POST",
      "description": "公历转换农历及二十四节气",
      "params": {
        "date": "string (ISO/YYYY-MM-DD)",
        "year": "number (例 1990)",
        "month": "number (1-12)",
        "day": "number (1-31)",
        "hour": "number (0-23, 可选，默认12)",
        "minute": "number (0-59, 可选，默认0)"
      },
      "example": "https://yixue-core.ruvo.dev/api/lunar?date=1990-05-20&hour=14"
    },
    {
      "path": "/api/solar",
      "method": "GET | POST",
      "description": "农历转公历",
      "params": {
        "lunarYear": "number (例 1990)",
        "lunarMonth": "number (1-12)",
        "lunarDay": "number (1-30)",
        "isLeap": "boolean (是否闰月，可选，默认false)"
      },
      "example": "https://yixue-core.ruvo.dev/api/solar?lunarYear=1990&lunarMonth=4&lunarDay=26"
    },
    {
      "path": "/api/ganzhi",
      "method": "GET | POST",
      "description": "时间转四柱干支与纳音",
      "params": {
        "date": "string (例 1990-05-20T14:30:00)",
        "adjust": "boolean (是否进行真太阳时平气调整，可选，默认false)"
      },
      "example": "https://yixue-core.ruvo.dev/api/ganzhi?date=1990-05-20T14:30:00"
    },
    {
      "path": "/api/shensha",
      "method": "GET | POST",
      "description": "计算指定干支组合的神煞",
      "params": {
        "dayGan": "string (如 乙)",
        "dayZhi": "string (如 酉)",
        "yearGan": "string (如 庚)",
        "yearZhi": "string (如 午)"
      },
      "example": "https://yixue-core.ruvo.dev/api/shensha?dayGan=乙&dayZhi=酉"
    },
    {
      "path": "/api/wuxing",
      "method": "GET | POST",
      "description": "五行力量与生克统计",
      "params": {
        "bazi": "string (四柱干支，如 \"庚午 辛巳 乙酉 癸未\")"
      },
      "example": "https://yixue-core.ruvo.dev/api/wuxing?bazi=庚午%20辛巳%20乙酉%20癸未"
    },
    {
      "path": "/sdk.js",
      "method": "GET",
      "description": "浏览器与 ESM 可直接 import 的 JavaScript SDK 脚本文件"
    },
    {
      "path": "/health",
      "method": "GET",
      "description": "服务健康检查"
    }
  ]
}