MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json

參見完整文件,或API說明以取得更多資訊。

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "Test_Template_Info-Icon_-_Version_(2).svg",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "107": {
                "pageid": 107,
                "ns": 6,
                "title": "File:Ambox currentevent.svg"
            },
            "101": {
                "pageid": 101,
                "ns": 6,
                "title": "File:Ambox notice.png"
            },
            "288": {
                "pageid": 288,
                "ns": 6,
                "title": "File:Ambox outdated serious.svg"
            },
            "161": {
                "pageid": 161,
                "ns": 6,
                "title": "File:Ambox warning orange.svg"
            },
            "150": {
                "pageid": 150,
                "ns": 6,
                "title": "File:Edit-copy green.svg"
            },
            "165": {
                "pageid": 165,
                "ns": 6,
                "title": "File:Example.png"
            },
            "139": {
                "pageid": 139,
                "ns": 6,
                "title": "File:Flag of Japan.svg"
            },
            "159": {
                "pageid": 159,
                "ns": 6,
                "title": "File:Lua-logo-nolabel.svg"
            },
            "367": {
                "pageid": 367,
                "ns": 6,
                "title": "File:Migo CDN.png"
            },
            "292": {
                "pageid": 292,
                "ns": 6,
                "title": "File:Template-X.svg"
            }
        }
    }
}