取得 CBETA 各種目錄: https://api.cbetaonline.cn/catalog_entry?q=root
取得 CBETA 部類目錄: https://api.cbetaonline.cn/catalog_entry?q=CBETA
回傳:
{
"num_found": 21,
"results": [
{
"n": "CBETA.001",
"label": "01 阿含部類 T01-02,25,33 etc."
},
...
{
"n": "CBETA.021",
"label": "21 新編部類 ZS01, ZW01-09, I01"
}
]
}
取得原書目錄: https://api.cbetaonline.cn/catalog_entry?q=orig
可取得某一部藏經的原書目錄,例如要取得其中《大正藏》原書目錄: https://api.cbetaonline.cn/catalog_entry?q=orig-T
其他各藏,依此類推在
"orig-"
之後加上藏經 ID。
| 欄位名稱 | 說明 |
|---|---|
| n | 目錄節點編號,可以用於取得下層目錄。例如: https://api.cbetaonline.cn/catalog_entry?q=CBETA.001 |
| node_type |
如果 node_type 為 'alt' 表示 CBETA 未收錄此經全文,而是對應到其他藏經的全文。 例如: https://api.cbetaonline.cn/catalog_entry?q=Vol-J.001 回傳: {
"num_found": 42,
"results": [
{
"n": "Vol-J.001.001",
"label": "JA001(=T0293) 大方廣佛華嚴經 (40卷)",
"node_type": "alt"
},...
]
}
|
|
juan_start,
juan_end |
目錄節點所指向的可能是某部佛典的部份卷數,例如:
https://api.cbetaonline.cn/catalog_entry?q=CBETA.003.001
回傳: {
"num_found": 2,
"results": [
{
"n": "CBETA.003.001.001",
"work": "T0220",
"label": "T0220 大般若波羅蜜多經 (1~200卷)",
"category": "般若部",
"creator": "唐 玄奘譯",
"juan_start": 1,
"juan_end": 200,
"file": "T05n0220a"
},
...
]
}
|