MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "204352": {
                "pageid": 204352,
                "ns": 0,
                "title": "Mainpage",
                "links": [
                    {
                        "ns": 4,
                        "title": "\u840c\u5a18\u5171\u4eab:\u6388\u6743\u534f\u8bae\u9009\u62e9\u6307\u5f15"
                    },
                    {
                        "ns": 4,
                        "title": "\u840c\u5a18\u5171\u4eab:\u6587\u4ef6\u5206\u7c7b\u6307\u5f15"
                    },
                    {
                        "ns": 4,
                        "title": "\u840c\u5a18\u5171\u4eab:\u9875\u9762\u547d\u540d\u6307\u5f15"
                    },
                    {
                        "ns": 8,
                        "title": "MediaWiki:Uploader"
                    },
                    {
                        "ns": 12,
                        "title": "Help:\u7ed9\u6587\u4ef6\u5206\u7c7b"
                    },
                    {
                        "ns": 12,
                        "title": "Help:\u7ed9\u6587\u4ef6\u547d\u540d"
                    }
                ]
            }
        }
    }
}