MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "35": {
                "pageid": 35,
                "ns": 6,
                "title": "\u6587\u4ef6:Wdb.jpg"
            },
            "8": {
                "pageid": 8,
                "ns": 6,
                "title": "\u6587\u4ef6:Zjb.jpg",
                "duplicatefiles": [
                    {
                        "name": "\u6731\u4fca\u5cf0.jpg",
                        "timestamp": "2016-04-09T16:14:07Z",
                        "user": "Jason"
                    }
                ]
            },
            "43": {
                "pageid": 43,
                "ns": 6,
                "title": "\u6587\u4ef6:\u6731\u4fca\u5cf0.jpg",
                "duplicatefiles": [
                    {
                        "name": "Zjb.jpg",
                        "timestamp": "2016-03-31T10:26:23Z",
                        "user": "Jason19659"
                    }
                ]
            },
            "42": {
                "pageid": 42,
                "ns": 6,
                "title": "\u6587\u4ef6:\u6731\u4fca\u5cf0.png"
            }
        }
    }
}