列出可能的異體字變化,例:https://api.cbetaonline.cn/search/variants?q=著衣持鉢
| 參數名稱 | 說明 | |
| q | 必須 | 要搜尋的字詞。 |
| scope | 選項 |
如果 scope=title,則僅列出存在於佛典題名中的異體字變化。例如:
https://api.cbetaonline.cn/search/variants?q=神咒&scope=title 。 前端可利用此功能,在搜尋經名時提供「異體字建議」。 |
| cache | 選項 | 指定是否使用 cache. 1: 使用 cache; 0: 不使用 cache. 預設值為 1. |
限制搜尋範圍的參數也都可以使用,參考: 限制搜尋範圍
{
"time": 0.085839963,
"num_found": 3,
"results": [
{
"q": "着衣持鉢",
"hits": 43
},
{
"q": "著衣持缽",
"hits": 101
},
{
"q": "著衣持盋",
"hits": 8
}
]
}