MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "Ability_cavalry_skirmish.png",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "127": {
                "pageid": 127,
                "ns": 6,
                "title": "File:2018 08 27 1.png"
            },
            "2132": {
                "pageid": 2132,
                "ns": 6,
                "title": "File:28px-Local population output.png"
            },
            "2133": {
                "pageid": 2133,
                "ns": 6,
                "title": "File:28px-Military investment.png"
            },
            "2573": {
                "pageid": 2573,
                "ns": 6,
                "title": "File:3d model tutorial - marking seams and UV mapping.png"
            },
            "2574": {
                "pageid": 2574,
                "ns": 6,
                "title": "File:3d model tutorial - planning a new model in Blender.png"
            },
            "470": {
                "pageid": 470,
                "ns": 6,
                "title": "File:A New Home.png"
            },
            "2575": {
                "pageid": 2575,
                "ns": 6,
                "title": "File:Ability anabasis.png"
            },
            "2576": {
                "pageid": 2576,
                "ns": 6,
                "title": "File:Ability boarding tactics.png"
            },
            "2577": {
                "pageid": 2577,
                "ns": 6,
                "title": "File:Ability border forts.png"
            },
            "2578": {
                "pageid": 2578,
                "ns": 6,
                "title": "File:Ability capture port.png"
            }
        }
    }
}