MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "20": {
                "pageid": 20,
                "ns": 6,
                "title": "File:250px-Level0Original.jpg"
            },
            "23": {
                "pageid": 23,
                "ns": 6,
                "title": "File:Fdcn.png"
            },
            "22": {
                "pageid": 22,
                "ns": 6,
                "title": "File:Fden.png"
            },
            "10": {
                "pageid": 10,
                "ns": 6,
                "title": "File:It just a burn memory.mp3"
            },
            "8": {
                "pageid": 8,
                "ns": 6,
                "title": "File:Logo.jpg"
            },
            "33": {
                "pageid": 33,
                "ns": 6,
                "title": "File:SiteLogo.png"
            },
            "27": {
                "pageid": 27,
                "ns": 6,
                "title": "File:Wall.jpg"
            },
            "45": {
                "pageid": 45,
                "ns": 6,
                "title": "File:Wilshire Boulevard at Hope Street, downtown Los Angeles, California.jpg",
                "duplicatefiles": [
                    {
                        "name": "Wilshire_Boulevard_at_Hope_Street,_downtown_Los_Angeles,_California.jpg",
                        "timestamp": "2012-11-30T21:23:16Z",
                        "shared": "",
                        "user": "wikimediacommons>Downtowngal"
                    }
                ]
            }
        }
    }
}