內容僅限 CBETA 版 大正藏。
| 參數名稱 | 參數說明 |
|---|---|
| linehead | 單獨指定某一行的行首資訊 |
| linehead_start | 行首資訊 開始 |
| linehead_end | 行首資訊 結束 |
| before | 指定 linehead 時,可以再指定包含前面的幾行 |
| after | 指定 linehead 時,可以再指定包含後面的幾行 |
| 欄位名稱 | 內容 |
|---|---|
| html | 該行文字。有註解的話會有 anchor 標記。 |
| notes | 註解 |
例如:
{
"num_found": 1,
"results": [
{
"linehead": "T01n0001_p0001a04",
"html": "<a class=\"noteAnchor\" href=\"#n0001002\"></a>長安釋僧肇<a class=\"noteAnchor\" href=\"#n0001003\"></a>述",
"notes": {
"0001002": "〔長安〕-【宋】",
"0001003": "〔述〕-【宋】"
}
}
]
}
例:https://api.cbetaonline.cn/lines?linehead=T01n0001_p0001a04
例:https://api.cbetaonline.cn/lines?linehead=T01n0001_p0001a09&before=2&after=3
例:https://api.cbetaonline.cn/lines?linehead_start=T01n0001_p0001a04&linehead_end=T01n0001_p0001a05
例:https://api.cbetaonline.cn/lines?linehead_start=T01n0001_p0011a01&linehead_end=T01n0001_p0011a06