返回 JSON,已开启 CORS,可直接在浏览器或任意客户端调用。每日 00:00(北京时间)更新,边缘缓存至当天结束。
| 字段 | 说明 |
|---|---|
| date | 对应日期,北京时间 |
| title | 诗题 |
| author | 作者 |
| content_text | 正文纯文本,按句换行 |
| appreciation_text | 赏析纯文本,空行分段 |
加 ?full=1 额外返回 dynasty、分句数组 content、分段数组 appreciation,以及 notes(注释)、translation(译文)、preface(题解),缺省为 null。
curl https://你的域名/api/daily curl "https://你的域名/api/daily?full=1"