MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "TRIP05.JPG",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "417": {
                "pageid": 417,
                "ns": 6,
                "title": "\u6a94\u6848:TRIP01.JPG",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2012-10-01T11:39:29Z",
                        "user": "Handsomepa"
                    }
                ]
            },
            "418": {
                "pageid": 418,
                "ns": 6,
                "title": "\u6a94\u6848:TRIP02.JPG",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2012-10-01T11:39:44Z",
                        "user": "Handsomepa"
                    }
                ]
            },
            "419": {
                "pageid": 419,
                "ns": 6,
                "title": "\u6a94\u6848:TRIP03.JPG",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2012-10-01T11:40:00Z",
                        "user": "Handsomepa"
                    }
                ]
            },
            "420": {
                "pageid": 420,
                "ns": 6,
                "title": "\u6a94\u6848:TRIP04.JPG",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2012-10-01T12:22:46Z",
                        "user": "Handsomepa"
                    }
                ]
            }
        }
    }
}