MediaWiki API 結果

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

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

參見完整文件,或API幫助以獲取更多信息。

{
    "batchcomplete": "",
    "continue": {
        "gaicontinue": "Tku_proxy-1.png",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "1168": {
                "pageid": 1168,
                "ns": 6,
                "title": "\u6a94\u6848:Tinyurl tech 01.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2005-02-25T12:41:34Z",
                        "user": "Sandor"
                    }
                ]
            },
            "1169": {
                "pageid": 1169,
                "ns": 6,
                "title": "\u6a94\u6848:Tinyurl tech 02.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2005-02-25T12:42:11Z",
                        "user": "Sandor"
                    }
                ]
            },
            "1171": {
                "pageid": 1171,
                "ns": 6,
                "title": "\u6a94\u6848:Tinyurl tech 03.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2005-02-25T12:54:42Z",
                        "user": "Sandor"
                    }
                ]
            },
            "1172": {
                "pageid": 1172,
                "ns": 6,
                "title": "\u6a94\u6848:Tinyurl tech 04.jpg",
                "imagerepository": "local",
                "imageinfo": [
                    {
                        "timestamp": "2005-02-25T12:54:49Z",
                        "user": "Sandor"
                    }
                ]
            }
        }
    }
}