MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "qpoffset": 10,
        "continue": "-||"
    },
    "query": {
        "querypage": {
            "name": "Ancientpages",
            "results": [
                {
                    "value": "20101116145928",
                    "timestamp": "2010-11-16T14:59:28Z",
                    "ns": 6,
                    "title": "File:Button sig.png"
                },
                {
                    "value": "20101116145941",
                    "timestamp": "2010-11-16T14:59:41Z",
                    "ns": 6,
                    "title": "File:Wiki edit toolbar.PNG"
                },
                {
                    "value": "20101223114823",
                    "timestamp": "2010-12-23T11:48:23Z",
                    "ns": 6,
                    "title": "File:Discuss.gif"
                },
                {
                    "value": "20110205063616",
                    "timestamp": "2011-02-05T06:36:16Z",
                    "ns": 6,
                    "title": "File:Kwiki.jpg"
                },
                {
                    "value": "20110317011840",
                    "timestamp": "2011-03-17T01:18:40Z",
                    "ns": 6,
                    "title": "File:Wikipedia-logo.png"
                },
                {
                    "value": "20110327144516",
                    "timestamp": "2011-03-27T14:45:16Z",
                    "ns": 6,
                    "title": "File:Emo \uff01.png"
                },
                {
                    "value": "20110327144627",
                    "timestamp": "2011-03-27T14:46:27Z",
                    "ns": 6,
                    "title": "File:Emo \uff1f.png"
                },
                {
                    "value": "20110327144737",
                    "timestamp": "2011-03-27T14:47:37Z",
                    "ns": 6,
                    "title": "File:Emo \u300c\u30cf\u30c3\uff01\u300d1.png"
                },
                {
                    "value": "20110327144812",
                    "timestamp": "2011-03-27T14:48:12Z",
                    "ns": 6,
                    "title": "File:Emo \u300c\u30cf\u30c3\uff01\u300d2 r.png"
                },
                {
                    "value": "20110327144921",
                    "timestamp": "2011-03-27T14:49:21Z",
                    "ns": 6,
                    "title": "File:Emo \u3072\u3089\u3081\u304d.png"
                }
            ]
        }
    }
}