MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gafcontinue": "Black_peppercorns_with_mortar_and_pestle.jpg|33",
        "continue": "gafcontinue||"
    },
    "query": {
        "pages": {
            "10": {
                "pageid": 10,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:\u9ec3\u5fd7\u7fd4"
            },
            "29": {
                "pageid": 29,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:\u674e\u5f65\u5ef7"
            },
            "309": {
                "pageid": 309,
                "ns": 0,
                "title": "\u9239"
            },
            "357": {
                "pageid": 357,
                "ns": 0,
                "title": "\u4e8c\u6c27\u5316\u77fd"
            },
            "940": {
                "pageid": 940,
                "ns": 0,
                "title": "\u516d\u5e74\u5236\u5b78\u7a0b/01/2014.06.04"
            },
            "1099": {
                "pageid": 1099,
                "ns": 0,
                "title": "\u5927\u968a\u63a5\u529b"
            }
        }
    }
}