MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "50px-Warning.png",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "3986": {
                "pageid": 3986,
                "ns": 6,
                "title": "File:067032-preview.jpg"
            },
            "323": {
                "pageid": 323,
                "ns": 6,
                "title": "File:123 Dice.png"
            },
            "326": {
                "pageid": 326,
                "ns": 6,
                "title": "File:1 Solo Dice.png"
            },
            "2882": {
                "pageid": 2882,
                "ns": 6,
                "title": "File:200px-Flag of the FSLN.png"
            },
            "2904": {
                "pageid": 2904,
                "ns": 6,
                "title": "File:220px-Wu Lei 20191101 (cropped).jpg"
            },
            "2898": {
                "pageid": 2898,
                "ns": 6,
                "title": "File:250px-Vista desde un hotel en Acapulco.jpg"
            },
            "327": {
                "pageid": 327,
                "ns": 6,
                "title": "File:2 Solo Dice.png"
            },
            "2895": {
                "pageid": 2895,
                "ns": 6,
                "title": "File:300px-Gare Saint-Lazare Facade.JPG"
            },
            "328": {
                "pageid": 328,
                "ns": 6,
                "title": "File:3 Solo Dice.png"
            },
            "325": {
                "pageid": 325,
                "ns": 6,
                "title": "File:456 Dice.png"
            }
        }
    }
}