MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"continue": {
"gapcontinue": "\u9996\u9801",
"continue": "gapcontinue||"
},
"query": {
"pages": {
"26": {
"pageid": 26,
"ns": 0,
"title": "\u4e00\u822c\u526f\u672c",
"contentmodel": "wikitext",
"pagelanguage": "zh-tw",
"pagelanguagehtmlcode": "zh-Hant-TW",
"pagelanguagedir": "ltr",
"touched": "2013-09-30T16:27:28Z",
"lastrevid": 52,
"length": 767,
"new": ""
},
"25": {
"pageid": 25,
"ns": 0,
"title": "\u4e00\u822c\u5730\u5716",
"contentmodel": "wikitext",
"pagelanguage": "zh-tw",
"pagelanguagehtmlcode": "zh-Hant-TW",
"pagelanguagedir": "ltr",
"touched": "2013-09-30T17:02:19Z",
"lastrevid": 50,
"length": 942
},
"5": {
"pageid": 5,
"ns": 0,
"title": "\u6230\u58eb",
"contentmodel": "wikitext",
"pagelanguage": "zh-tw",
"pagelanguagehtmlcode": "zh-Hant-TW",
"pagelanguagedir": "ltr",
"touched": "2013-09-28T17:07:34Z",
"lastrevid": 43,
"length": 2713
},
"27": {
"pageid": 27,
"ns": 0,
"title": "\u7070\u5ca9\u5c71",
"contentmodel": "wikitext",
"pagelanguage": "zh-tw",
"pagelanguagehtmlcode": "zh-Hant-TW",
"pagelanguagedir": "ltr",
"touched": "2013-10-01T04:01:10Z",
"lastrevid": 63,
"length": 1141
}
}
}
}