MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gatcontinue": "Color|13",
        "continue": "gatcontinue||"
    },
    "query": {
        "pages": {
            "7": {
                "pageid": 7,
                "ns": 10,
                "title": "\u6a21\u677f:Color"
            },
            "8": {
                "pageid": 8,
                "ns": 10,
                "title": "\u6a21\u677f:Color/doc"
            },
            "10": {
                "pageid": 10,
                "ns": 10,
                "title": "\u6a21\u677f:\u8fdd\u89c4\u884c\u4e3a"
            },
            "12": {
                "pageid": 12,
                "ns": 10,
                "title": "\u6a21\u677f:Infobox"
            },
            "19": {
                "pageid": 19,
                "ns": 12,
                "title": "\u5e2e\u52a9:Wiki\u7f16\u8f91\u5165\u95e8\u624b\u518c"
            },
            "20": {
                "pageid": 20,
                "ns": 10,
                "title": "\u6a21\u677f:Background color"
            },
            "21": {
                "pageid": 21,
                "ns": 10,
                "title": "\u6a21\u677f:Background color/doc"
            },
            "772": {
                "pageid": 772,
                "ns": 10,
                "title": "\u6a21\u677f:Error"
            },
            "773": {
                "pageid": 773,
                "ns": 10,
                "title": "\u6a21\u677f:Error/doc"
            }
        }
    }
}