MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "afcontinue": "Shannan_Counties.png|852",
        "continue": "-||"
    },
    "query": {
        "allfileusages": [
            {
                "ns": 6,
                "title": "File:Bread in front of bin of ideological shame and to the side.jpg"
            },
            {
                "ns": 6,
                "title": "File:C204f471-d82c-4c2e-859b-68168b97be1a.GIF"
            },
            {
                "ns": 6,
                "title": "File:Hotel Indigo Alishan - Rooftop.jpg"
            },
            {
                "ns": 6,
                "title": "File:IMAG0500.jpg"
            },
            {
                "ns": 6,
                "title": "File:IMAG4661.jpg"
            },
            {
                "ns": 6,
                "title": "File:Nyingchi Counties.png"
            },
            {
                "ns": 6,
                "title": "File:PearlHarborCarrierChart.jpg"
            },
            {
                "ns": 6,
                "title": "File:Pearl Harbor looking southwest-Oct41.jpg"
            },
            {
                "ns": 6,
                "title": "File:Plage.sable.noir.Tahiti.JPG"
            },
            {
                "ns": 6,
                "title": "File:Red Rainstorm Signal.png"
            }
        ]
    }
}