MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "\u6cf0\u5766\u4e4b\u7246.jpg",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "9": {
                "pageid": 9,
                "ns": 6,
                "title": "\u6a94\u6848:\u5927\u528d\u5c08\u5bb6.JPG",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2013-09-28T14:20:32Z",
                        "user": "Ismlwiki"
                    }
                ]
            },
            "21": {
                "pageid": 21,
                "ns": 6,
                "title": "\u6a94\u6848:\u5a01\u5687.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2013-09-28T16:58:38Z",
                        "user": "Ismlwiki"
                    }
                ]
            },
            "10": {
                "pageid": 10,
                "ns": 6,
                "title": "\u6a94\u6848:\u6230\u718a\u7cbe\u5175.JPG",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2013-09-28T15:51:09Z",
                        "user": "Ismlwiki"
                    }
                ]
            },
            "7": {
                "pageid": 7,
                "ns": 6,
                "title": "\u6a94\u6848:\u65a7\u982d\u5c08\u5bb6.JPG",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2013-09-28T14:40:29Z",
                        "user": "Ismlwiki"
                    }
                ]
            }
        }
    }
}