MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "20150725185354.png",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "34": {
                "pageid": 34,
                "ns": 6,
                "title": "File:-0.png"
            },
            "1222": {
                "pageid": 1222,
                "ns": 6,
                "title": "File:1-1.png"
            },
            "1495": {
                "pageid": 1495,
                "ns": 6,
                "title": "File:1-4.png"
            },
            "1498": {
                "pageid": 1498,
                "ns": 6,
                "title": "File:1-5DW.png"
            },
            "710": {
                "pageid": 710,
                "ns": 6,
                "title": "File:1.png"
            },
            "35": {
                "pageid": 35,
                "ns": 6,
                "title": "File:193bcfb44aed2e73f901eb168401a18b86d6fae5.png"
            },
            "1017": {
                "pageid": 1017,
                "ns": 6,
                "title": "File:1KJ.jpg"
            },
            "554": {
                "pageid": 554,
                "ns": 6,
                "title": "File:1UP.gif"
            },
            "1019": {
                "pageid": 1019,
                "ns": 6,
                "title": "File:2-1.png"
            },
            "220": {
                "pageid": 220,
                "ns": 6,
                "title": "File:2015-07-15 151534.png"
            }
        }
    }
}