MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "T-10tank3.gif",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "1501140": {
                "pageid": 1501140,
                "ns": 6,
                "title": "File:T'r'h't'nt0127c4b70c0d6d163e (1).jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2021-07-22T02:13:25Z",
                        "user": "\u4e07\u4e8b\u5982\u610f"
                    }
                ]
            },
            "371822": {
                "pageid": 371822,
                "ns": 6,
                "title": "File:T-10tank.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2020-02-13T04:13:50Z",
                        "user": "Two"
                    }
                ]
            },
            "371831": {
                "pageid": 371831,
                "ns": 6,
                "title": "File:T-10tank1.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2020-02-13T04:17:46Z",
                        "user": "Two"
                    }
                ]
            },
            "371841": {
                "pageid": 371841,
                "ns": 6,
                "title": "File:T-10tank2.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2020-02-13T04:21:41Z",
                        "user": "Two"
                    }
                ]
            }
        }
    }
}