MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gatcontinue": "Stub_documentation",
        "continue": "gatcontinue||"
    },
    "query": {
        "pages": {
            "-1": {
                "ns": 10,
                "title": "Template:Cite conference",
                "missing": ""
            },
            "117": {
                "pageid": 117,
                "ns": 10,
                "title": "Template:Cite article"
            },
            "148": {
                "pageid": 148,
                "ns": 10,
                "title": "Template:Cite book"
            },
            "119": {
                "pageid": 119,
                "ns": 10,
                "title": "Template:Cite journal"
            },
            "118": {
                "pageid": 118,
                "ns": 10,
                "title": "Template:Cite news"
            },
            "116": {
                "pageid": 116,
                "ns": 10,
                "title": "Template:Cite web"
            },
            "5": {
                "pageid": 5,
                "ns": 10,
                "title": "Template:Documentation"
            },
            "6": {
                "pageid": 6,
                "ns": 10,
                "title": "Template:Reflist"
            },
            "159": {
                "pageid": 159,
                "ns": 10,
                "title": "Template:Stub"
            },
            "161": {
                "pageid": 161,
                "ns": 10,
                "title": "Template:Stub/doc"
            }
        }
    }
}