MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gatcontinue": "1|82",
        "continue": "gatcontinue||"
    },
    "query": {
        "pages": {
            "3": {
                "pageid": 3,
                "ns": 10,
                "title": "Template:Color"
            },
            "9": {
                "pageid": 9,
                "ns": 10,
                "title": "Template:\u6587\u5b57\u6a21\u7cca"
            },
            "12": {
                "pageid": 12,
                "ns": 10,
                "title": "Template:Hovers"
            },
            "15": {
                "pageid": 15,
                "ns": 10,
                "title": "Template:Clear"
            },
            "26": {
                "pageid": 26,
                "ns": 10,
                "title": "Template:Color block"
            },
            "27": {
                "pageid": 27,
                "ns": 10,
                "title": "Template:Color block/wl"
            },
            "60": {
                "pageid": 60,
                "ns": 10,
                "title": "Template:ColorOps"
            },
            "71": {
                "pageid": 71,
                "ns": 10,
                "title": "Template:Ptl"
            },
            "76": {
                "pageid": 76,
                "ns": 10,
                "title": "Template:Random"
            },
            "78": {
                "pageid": 78,
                "ns": 10,
                "title": "Template:Split"
            }
        }
    }
}