MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以更改輸出格式。要查看JSON格式的非HTML實現,設置format=json

參見完整文件,或API幫助以獲取更多信息。

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 3
        },
        "search": [
            {
                "ns": 0,
                "title": "Provisional meaning",
                "pageid": 3729,
                "size": 756,
                "wordcount": 96,
                "snippet": "\u2026onal <span class='searchmatch'>meaning</span> and those of [[definitive <span class='searchmatch'>meaning</span>]]. Teachings of provisional <span class='searchmatch'>meaning</span> include the [[eight kinds of implied and indirect teachings]].\n:When it comes to the <span class='searchmatch'>meaning</span> of what is taught,\n",
                "timestamp": "2015-08-20T04:22:05Z"
            },
            {
                "ns": 0,
                "title": "Treasury of Word and Meaning\u300a\u8a5e\u7fa9\u5bf6\u85cf\u8ad6\u300b",
                "pageid": 4697,
                "size": 2190,
                "wordcount": 256,
                "snippet": "'''Treasury of Word and <span class='searchmatch'>Meaning</span>''' (Tib. \u0f5a\u0f72\u0f42\u0f0b\u0f51\u0f7c\u0f53\u0f0b\u0f58\u0f5b\u0f7c\u0f51\u0f0b, ''Tsik D\u00f6n Dz\u00f6''; [[Wyl\n*Precious Treasury of the Genuine <span class='searchmatch'>Meaning</span> - Light of Berotsana Translation Group\n",
                "timestamp": "2022-02-08T08:00:58Z"
            },
            {
                "ns": 0,
                "title": "Treasury of Word and Meaning",
                "pageid": 17536,
                "size": 67,
                "wordcount": 5,
                "snippet": "#\u91cd\u65b0\u5c0e\u5411 [[Treasury of Word and <span class='searchmatch'>Meaning</span>\u300a\u8a5e\u7fa9\u5bf6\u85cf\u8ad6\u300b]]\n",
                "timestamp": "2022-02-08T08:00:58Z"
            }
        ]
    }
}