MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"continue": {
"gapcontinue": "Wiki\u540d\u55ae",
"continue": "gapcontinue||"
},
"query": {
"pages": {
"112": {
"pageid": 112,
"ns": 0,
"title": "Technical staff",
"contentmodel": "wikitext",
"pagelanguage": "zh-tw",
"pagelanguagehtmlcode": "zh-Hant-TW",
"pagelanguagedir": "ltr",
"touched": "2018-01-25T07:11:30Z",
"lastrevid": 172,
"length": 2982,
"new": ""
},
"476": {
"pageid": 476,
"ns": 0,
"title": "Terms of use",
"contentmodel": "wikitext",
"pagelanguage": "zh-tw",
"pagelanguagehtmlcode": "zh-Hant-TW",
"pagelanguagedir": "ltr",
"touched": "2015-03-06T07:23:34Z",
"lastrevid": 1090,
"length": 27,
"redirect": "",
"new": ""
},
"212": {
"pageid": 212,
"ns": 0,
"title": "Visual Basic .NET",
"contentmodel": "wikitext",
"pagelanguage": "zh-tw",
"pagelanguagehtmlcode": "zh-Hant-TW",
"pagelanguagedir": "ltr",
"touched": "2010-10-23T08:38:38Z",
"lastrevid": 502,
"length": 12451
},
"113": {
"pageid": 113,
"ns": 0,
"title": "Wiki types",
"contentmodel": "wikitext",
"pagelanguage": "zh-tw",
"pagelanguagehtmlcode": "zh-Hant-TW",
"pagelanguagedir": "ltr",
"touched": "2019-01-15T13:47:29Z",
"lastrevid": 1130,
"length": 318
}
}
}
}