MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "afcontinue": "Marxism-leninism_symbol.png|13",
        "continue": "-||"
    },
    "query": {
        "allfileusages": [
            {
                "ns": 6,
                "title": "File:Bitcoin Logo.png"
            },
            {
                "ns": 6,
                "title": "File:Coat of Arms of the USA.webp"
            },
            {
                "ns": 6,
                "title": "File:Flag of Japan.svg"
            },
            {
                "ns": 6,
                "title": "File:Flag of the People's Republic of China.svg"
            },
            {
                "ns": 6,
                "title": "File:Flag of the United States.svg"
            },
            {
                "ns": 6,
                "title": "File:Hamsickwhite.svg"
            },
            {
                "ns": 6,
                "title": "File:Lemmygrad.png"
            },
            {
                "ns": 6,
                "title": "File:Marx.jpg"
            },
            {
                "ns": 6,
                "title": "File:Marx and Engels 1848.png"
            },
            {
                "ns": 6,
                "title": "File:Marxism-leninism symbol.png"
            }
        ]
    }
}