MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "apcontinue": "\u9996\u9875",
        "continue": "-||"
    },
    "query": {
        "allpages": [
            {
                "pageid": 33,
                "ns": 0,
                "title": "Http://localhost/wiki-new/index.php/MediaWiki:Common.css"
            },
            {
                "pageid": 24,
                "ns": 0,
                "title": "\u4e0a\u6d77\u79d1\u666e"
            },
            {
                "pageid": 3,
                "ns": 0,
                "title": "\u514d\u8d23\u6761\u7ea6"
            },
            {
                "pageid": 28,
                "ns": 0,
                "title": "\u6253\u51fb\u7f6a\u6076"
            },
            {
                "pageid": 31,
                "ns": 0,
                "title": "\u6253\u51fb\u7f6a\u6076/\u6293\u6355\u6210\u529f"
            },
            {
                "pageid": 30,
                "ns": 0,
                "title": "\u6253\u51fb\u7f6a\u6076/\u731c\u5927\u4e86"
            },
            {
                "pageid": 29,
                "ns": 0,
                "title": "\u6253\u51fb\u7f6a\u6076/\u731c\u5c0f\u4e86"
            },
            {
                "pageid": 22,
                "ns": 0,
                "title": "\u672c\u7ad9\u4ecb\u7ecd"
            },
            {
                "pageid": 4,
                "ns": 0,
                "title": "\u6838\u5fc3\u6210\u5458"
            },
            {
                "pageid": 9,
                "ns": 0,
                "title": "\u8054\u7cfb\u6211\u4eec"
            }
        ]
    }
}