MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "Widgets.svg",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "31": {
                "pageid": 31,
                "ns": 6,
                "title": "\u6587\u4ef6:Test.png",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2021-11-19T04:43:40Z",
                        "user": "9388102"
                    }
                ]
            },
            "2388": {
                "pageid": 2388,
                "ns": 6,
                "title": "\u6587\u4ef6:Tools power drill.svg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2023-11-24T08:02:03Z",
                        "user": "39886146"
                    }
                ]
            },
            "252": {
                "pageid": 252,
                "ns": 6,
                "title": "\u6587\u4ef6:Toolswikilogo.png",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2022-09-14T09:44:52Z",
                        "user": "39886146"
                    }
                ]
            },
            "255": {
                "pageid": 255,
                "ns": 6,
                "title": "\u6587\u4ef6:Toolswikilogo300x80.png",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2022-09-14T10:39:34Z",
                        "user": "39886146"
                    }
                ]
            }
        }
    }
}