MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。

参见完整文档,或API帮助以获取更多信息。

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 1,
            "suggestion": "meeting",
            "suggestionsnippet": "<em>meeting</em>"
        },
        "search": [
            {
                "ns": 0,
                "title": "\u6240\u4ee5\u6211\u4eec\u8d50\u4e88\u4f60\u6d41\u653e",
                "pageid": 216,
                "size": 6379,
                "wordcount": 1062,
                "snippet": "Exile&quot;\uff08\u6240\u4ee5\u6211\u4eec\u8d50\u4e88\u4f60\u6d41\u653e\uff09 \u9879\u76ee\u63cf\u8ff0 &quot;To a new world where you will continue to live with <span class=\"searchmatch\">meaning</span> and purpose. And leave the shreds of this world to us...&quot;\uff08\u53bb\u5f80\u4e00\u4e2a\u65b0\u4e16\u754c\uff0c\u5728\u90a3\u91cc\u4f60\u5c06",
                "timestamp": "2026-05-10T18:16:34Z"
            }
        ]
    }
}