MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "60": {
                "pageid": 60,
                "ns": 6,
                "title": "File:140\u5206\u5e03.jpg"
            },
            "12": {
                "pageid": 12,
                "ns": 6,
                "title": "File:2020\u5e746\u6708\u6392\u671f.png"
            },
            "62": {
                "pageid": 62,
                "ns": 6,
                "title": "File:518-03d9AdL. AC SL260 .jpg"
            },
            "57": {
                "pageid": 57,
                "ns": 6,
                "title": "File:Photo 2020-03-29 14-56-01.jpg",
                "duplicatefiles": [
                    {
                        "name": "So\u5206\u914d.jpg",
                        "user": "Yike Gao",
                        "timestamp": "2020-06-08T02:55:21Z"
                    }
                ]
            },
            "63": {
                "pageid": 63,
                "ns": 6,
                "title": "File:Photo 2020-06-07 23-03-19.jpg"
            },
            "59": {
                "pageid": 59,
                "ns": 6,
                "title": "File:So\u5206\u914d.jpg",
                "duplicatefiles": [
                    {
                        "name": "Photo_2020-03-29_14-56-01.jpg",
                        "user": "Yike Gao",
                        "timestamp": "2020-06-08T02:53:03Z"
                    }
                ]
            },
            "61": {
                "pageid": 61,
                "ns": 6,
                "title": "File:Stem.jpg"
            }
        }
    }
}