MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "\u8eba\u5e73\u4f5c\u8005.png",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "19": {
                "pageid": 19,
                "ns": 6,
                "title": "\u6587\u4ef6:\u56de\u5f62\u9488\u4e8b\u4ef6B\u7ad9\u622a\u56fe.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2021-06-19T16:09:24Z",
                        "user": "CcChen"
                    }
                ]
            },
            "18": {
                "pageid": 18,
                "ns": 6,
                "title": "\u6587\u4ef6:\u56de\u5f62\u9488\u58f0\u660e.png",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2021-06-19T16:03:48Z",
                        "user": "CcChen"
                    }
                ]
            },
            "22": {
                "pageid": 22,
                "ns": 6,
                "title": "\u6587\u4ef6:\u778c\u7761\u4e54.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2021-07-03T15:40:52Z",
                        "user": "CcChen"
                    }
                ]
            },
            "4": {
                "pageid": 4,
                "ns": 6,
                "title": "\u6587\u4ef6:\u8eba\u5e73.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2021-06-13T14:49:59Z",
                        "user": "CcChen"
                    }
                ]
            }
        }
    }
}