MediaWiki API 结果

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

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

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

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data has changed. To receive raw query-continue data, use the 'rawcontinue' parameter. To silence this warning, pass an empty string for 'continue' in the initial query."
        }
    },
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "Test.jpg",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "29131": {
                "pageid": 29131,
                "ns": 6,
                "title": "\u6587\u4ef6:TW Edu.txt",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2008-09-21T05:22:00Z",
                        "user": "Redoak"
                    }
                ]
            },
            "15035": {
                "pageid": 15035,
                "ns": 6,
                "title": "\u6587\u4ef6:Template-info.svg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2007-06-26T08:41:00Z",
                        "user": "Oneleaf"
                    }
                ]
            },
            "37787": {
                "pageid": 37787,
                "ns": 6,
                "title": "\u6587\u4ef6:Terminal.png",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2009-05-29T10:02:17Z",
                        "user": "Freesky3555"
                    }
                ]
            },
            "44608": {
                "pageid": 44608,
                "ns": 6,
                "title": "\u6587\u4ef6:Test.gif",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2012-05-16T08:49:12Z",
                        "user": "Ciwei123"
                    }
                ]
            }
        }
    }
}